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:
Matt Ward
2011-10-14 08:29:55 +00:00
parent 57fdad562d
commit 56868d7284
4 changed files with 15 additions and 23 deletions

View File

@@ -18,9 +18,6 @@
*/
package org.alfresco.util.schemacomp;
import java.util.List;
import org.alfresco.util.Pair;
import org.alfresco.util.schemacomp.model.DbObject;
/**

View File

@@ -21,12 +21,9 @@ package org.alfresco.util.schemacomp;
import org.alfresco.util.schemacomp.model.Schema;
import org.alfresco.util.schemacomp.model.Table;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* TODO: comment me!
* @author Matt Ward
@@ -44,19 +41,19 @@ public class SchemaComparatorTest
right = new Schema();
}
@Test
public void canDetermineSameTables()
{
left.put(new Table("alf_node"));
left.put(new Table("table_in_left"));
left.put(new Table("in_both_but_different"));
right.put(new Table("alf_node"));
// Note this table is in different position in the RHS list.
Table rightTable = new Table("in_both_but_different");
right.put(rightTable);
right.put(new Table("table_in_right"));
comparator = new SchemaComparator(left, right);
comparator.compare();
}
// @Test
// public void canDetermineSameTables()
// {
// left.put(new Table("alf_node"));
// left.put(new Table("table_in_left"));
// left.put(new Table("in_both_but_different"));
// right.put(new Table("alf_node"));
// // Note this table is in different position in the RHS list.
// Table rightTable = new Table("in_both_but_different");
// right.put(rightTable);
// right.put(new Table("table_in_right"));
//
// comparator = new SchemaComparator(left, right);
// comparator.compare();
// }
}

View File

@@ -18,7 +18,6 @@
*/
package org.alfresco.util.schemacomp.model;
import java.util.List;
/**
* TODO: comment me!

View File

@@ -18,7 +18,6 @@
*/
package org.alfresco.util.schemacomp.model;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;