Author: jfuerth
Date: Mon Feb 23 13:41:04 2009
New Revision: 2949
Modified:
trunk/regress/ca/sqlpower/architect/swingui/TestSwingUIProject.java
Log:
The isTableContainer() method can now connect to the database if it has no
existing children to make a determination. This change broke a few of the
reflective tests, because they were calling all the getter methods on a
SQLObject
with an invalid database connection. The fix is simply to ignore that
property,
since it isn't saved explicitly anyway.
Modified:
trunk/regress/ca/sqlpower/architect/swingui/TestSwingUIProject.java
==============================================================================
--- trunk/regress/ca/sqlpower/architect/swingui/TestSwingUIProject.java
(original)
+++ trunk/regress/ca/sqlpower/architect/swingui/TestSwingUIProject.java Mon
Feb 23 13:41:04 2009
@@ -410,6 +410,7 @@
propertiesToIgnore.add("zoomInAction");
propertiesToIgnore.add("zoomOutAction");
propertiesToIgnore.add("magicEnabled");
+ propertiesToIgnore.add("tableContainer");
Map<String,Object> oldDescription =
TestUtils.setAllInterestingProperties(db,
propertiesToIgnore);
@@ -481,6 +482,7 @@
propertiesToIgnore.add("secondaryChangeMode");
propertiesToIgnore.add("populated");
propertiesToIgnore.add("magicEnabled");
+ propertiesToIgnore.add("tableContainer");
Map<String,Object> oldDescription =
TestUtils.setAllInterestingProperties(target,
propertiesToIgnore);