mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10770: accidentally checked in some placeholder code that doesn't compile - fixed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -18,9 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.alfresco.util.schemacomp;
|
package org.alfresco.util.schemacomp;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.alfresco.util.Pair;
|
|
||||||
import org.alfresco.util.schemacomp.model.DbObject;
|
import org.alfresco.util.schemacomp.model.DbObject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -21,12 +21,9 @@ package org.alfresco.util.schemacomp;
|
|||||||
|
|
||||||
import org.alfresco.util.schemacomp.model.Schema;
|
import org.alfresco.util.schemacomp.model.Schema;
|
||||||
import org.alfresco.util.schemacomp.model.Table;
|
import org.alfresco.util.schemacomp.model.Table;
|
||||||
import org.junit.After;
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: comment me!
|
* TODO: comment me!
|
||||||
* @author Matt Ward
|
* @author Matt Ward
|
||||||
@@ -44,19 +41,19 @@ public class SchemaComparatorTest
|
|||||||
right = new Schema();
|
right = new Schema();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
// @Test
|
||||||
public void canDetermineSameTables()
|
// public void canDetermineSameTables()
|
||||||
{
|
// {
|
||||||
left.put(new Table("alf_node"));
|
// left.put(new Table("alf_node"));
|
||||||
left.put(new Table("table_in_left"));
|
// left.put(new Table("table_in_left"));
|
||||||
left.put(new Table("in_both_but_different"));
|
// left.put(new Table("in_both_but_different"));
|
||||||
right.put(new Table("alf_node"));
|
// right.put(new Table("alf_node"));
|
||||||
// Note this table is in different position in the RHS list.
|
// // Note this table is in different position in the RHS list.
|
||||||
Table rightTable = new Table("in_both_but_different");
|
// Table rightTable = new Table("in_both_but_different");
|
||||||
right.put(rightTable);
|
// right.put(rightTable);
|
||||||
right.put(new Table("table_in_right"));
|
// right.put(new Table("table_in_right"));
|
||||||
|
//
|
||||||
comparator = new SchemaComparator(left, right);
|
// comparator = new SchemaComparator(left, right);
|
||||||
comparator.compare();
|
// comparator.compare();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
@@ -18,7 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.alfresco.util.schemacomp.model;
|
package org.alfresco.util.schemacomp.model;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: comment me!
|
* TODO: comment me!
|
||||||
|
@@ -18,7 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.alfresco.util.schemacomp.model;
|
package org.alfresco.util.schemacomp.model;
|
||||||
|
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
Reference in New Issue
Block a user