Revision: 3617
Author: [email protected]
Date: Mon Jun 14 09:32:50 2010
Log: Removing the test to ensure the DBTree model's root node, a
SQLObjectRoot node, is null. This is because this node is now a child of
the ArchitectProject and only has a null parent for certain circumstances,
like the copy table data tree models.
http://code.google.com/p/power-architect/source/detail?r=3617
Modified:
/trunk/regress/ca/sqlpower/architect/swingui/dbtree/TestDBTreeModel.java
=======================================
---
/trunk/regress/ca/sqlpower/architect/swingui/dbtree/TestDBTreeModel.java
Tue May 25 13:03:30 2010
+++
/trunk/regress/ca/sqlpower/architect/swingui/dbtree/TestDBTreeModel.java
Mon Jun 14 09:32:50 2010
@@ -146,10 +146,6 @@
assertTrue(actualPaths.contains(expectFkPath));
assertTrue(actualPaths.contains(expectPkPath));
}
-
- public void testDBTreeRootParentNull() throws Exception {
- assertNull(((SQLObject)tm.getRoot()).getParent());
- }
public void testDBTreeRootMatchesSessionRoot() throws Exception {
assertEquals(session.getRootObject(), tm.getRoot());