Revision: 3621
Author: [email protected]
Date: Mon Jun 14 11:59:19 2010
Log: A better fix to the previous correction of the test in the DBTreeModel. The previous correction was removing the reference on columns too often causing some columns to be added back in by the undo manager with an incorrect reference count.
http://code.google.com/p/power-architect/source/detail?r=3621

Modified:
 /trunk/regress/ca/sqlpower/architect/swingui/dbtree/TestDBTreeModel.java

=======================================
--- /trunk/regress/ca/sqlpower/architect/swingui/dbtree/TestDBTreeModel.java Mon Jun 14 11:27:25 2010 +++ /trunk/regress/ca/sqlpower/architect/swingui/dbtree/TestDBTreeModel.java Mon Jun 14 11:59:19 2010
@@ -133,7 +133,7 @@

         System.out.println(l);

-        assertEquals(2, l.getRemoveCount());
+        assertEquals(1, l.getRemoveCount());

         Object exportedKeyFolder = tm.getChild(t, 1);
TreePath expectPkPath = new TreePath(new Object[] { treeRoot, db, t, exportedKeyFolder, r });

Reply via email to