Revision: 3379
Author: [email protected]
Date: Mon Mar 15 12:57:42 2010
Log: Corrected a failing test. The test was to be comparing a new data source against an existing data source in the tree but
was doing the initial comparison with the wrong data source.
http://code.google.com/p/power-architect/source/detail?r=3379

Modified:
 /trunk/regress/ca/sqlpower/architect/swingui/TestDBTree.java

=======================================
--- /trunk/regress/ca/sqlpower/architect/swingui/TestDBTree.java Thu Mar 4 15:28:57 2010 +++ /trunk/regress/ca/sqlpower/architect/swingui/TestDBTree.java Mon Mar 15 12:57:42 2010
@@ -56,7 +56,7 @@

        public void testdbcsAlreadyExists() throws SQLObjectException {
            JDBCDataSource ds2 = new JDBCDataSource(new PlDotIni());
-               assertTrue("ds2 must .equals ds for this test to work", 
ds.equals(ds2));
+ assertTrue("ds2ds must .equals ds for this test to work", db2ds.equals(ds2)); assertFalse("dbcsAlreadyExists Should not find ds2", dbTree.dbcsAlreadyExists(ds2)); assertTrue("db2ds should be in the list",dbTree.dbcsAlreadyExists(db2ds));
        }

Reply via email to