|
From: <cw...@us...> - 2006-12-10 07:16:17
|
Revision: 102
http://svn.sourceforge.net/mptstore/?rev=102&view=rev
Author: cwilper
Date: 2006-12-09 23:16:14 -0800 (Sat, 09 Dec 2006)
Log Message:
-----------
- New naming convention for package-level unit/integration tests:
AllUnitTests and AllIntegrationTests now, instead of
PackageName..TestSuite
Modified Paths:
--------------
trunk/build.xml
Added Paths:
-----------
trunk/src/test/org/nsdl/mptstore/AllIntegrationTests.java
trunk/src/test/org/nsdl/mptstore/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/core/AllIntegrationTests.java
trunk/src/test/org/nsdl/mptstore/core/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/impl/AllIntegrationTests.java
trunk/src/test/org/nsdl/mptstore/impl/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/impl/derby/AllIntegrationTests.java
trunk/src/test/org/nsdl/mptstore/impl/derby/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/impl/h2/AllIntegrationTests.java
trunk/src/test/org/nsdl/mptstore/impl/h2/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/impl/postgres/AllIntegrationTests.java
trunk/src/test/org/nsdl/mptstore/impl/postgres/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/query/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/query/lang/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/query/lang/spo/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/rdf/AllUnitTests.java
trunk/src/test/org/nsdl/mptstore/util/AllUnitTests.java
Removed Paths:
-------------
trunk/src/test/org/nsdl/mptstore/MPTStoreIntegrationTestSuite.java
trunk/src/test/org/nsdl/mptstore/MPTStoreUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/core/CoreIntegrationTestSuite.java
trunk/src/test/org/nsdl/mptstore/core/CoreUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/ImplIntegrationTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/ImplUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyIntegrationTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/h2/H2IntegrationTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/h2/H2UnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresIntegrationTestSuite.java
trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/query/QueryUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/query/lang/LangUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/query/lang/spo/SPOUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/rdf/RDFUnitTestSuite.java
trunk/src/test/org/nsdl/mptstore/util/UtilUnitTestSuite.java
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/build.xml 2006-12-10 07:16:14 UTC (rev 102)
@@ -235,22 +235,10 @@
<classpath refid="test.classpath"/>
<sysproperty key="test.dir" value="${test.dir}"/>
<sysproperty key="test.loglevel" value="${test.loglevel}"/>
- <test name="org.nsdl.mptstore.MPTStoreUnitTestSuite"/>
+ <test name="org.nsdl.mptstore.AllUnitTests"/>
</junit>
</target>
- <!-- unit-test-gui -->
- <target name="unit-test-gui"
- description="Run unit tests using the JUnit GUI"
- depends="test-classes">
- <java classname="org.nsdl.mptstore.MPTStoreUnitTestSuite" fork="yes">
- <classpath refid="test.classpath"/>
- <sysproperty key="test.dir" value="${test.dir}"/>
- <sysproperty key="test.loglevel" value="${test.loglevel}"/>
- <sysproperty key="log4j.ignoreTCL" value="true"/>
- </java>
- </target>
-
<!-- integration-test -->
<target name="integration-test"
description="Run integration tests in batch mode"
@@ -263,22 +251,10 @@
<classpath refid="test.classpath"/>
<sysproperty key="test.dir" value="${test.dir}"/>
<sysproperty key="test.loglevel" value="${test.loglevel}"/>
- <test name="org.nsdl.mptstore.MPTStoreIntegrationTestSuite"/>
+ <test name="org.nsdl.mptstore.AllIntegrationTests"/>
</junit>
</target>
- <!-- integration-test-gui -->
- <target name="integration-test-gui"
- description="Run integration tests using the JUnit GUI"
- depends="test-classes">
- <java classname="org.nsdl.mptstore.MPTStoreIntegrationTestSuite" fork="yes">
- <classpath refid="test.classpath"/>
- <sysproperty key="test.dir" value="${test.dir}"/>
- <sysproperty key="test.loglevel" value="${test.loglevel}"/>
- <sysproperty key="log4j.ignoreTCL" value="true"/>
- </java>
- </target>
-
<!-- checkstyle -->
<target name="checkstyle"
description="Verify the source code meets our standards"
Added: trunk/src/test/org/nsdl/mptstore/AllIntegrationTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/AllIntegrationTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/AllIntegrationTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,25 @@
+package org.nsdl.mptstore;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllIntegrationTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllIntegrationTests.class.getName());
+
+ // classes in this package
+ //suite.addTestSuite(Whatever.class);
+
+ // sub-package suites
+ suite.addTest(org.nsdl.mptstore.core.AllIntegrationTests.suite());
+ suite.addTest(org.nsdl.mptstore.impl.AllIntegrationTests.suite());
+
+ return suite;
+
+ }
+
+}
Added: trunk/src/test/org/nsdl/mptstore/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,27 @@
+package org.nsdl.mptstore;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ //suite.addUnitTestSuite(Whatever.class);
+
+ // sub-package suites
+ suite.addTest(org.nsdl.mptstore.core.AllUnitTests.suite());
+ suite.addTest(org.nsdl.mptstore.impl.AllUnitTests.suite());
+ suite.addTest(org.nsdl.mptstore.query.AllUnitTests.suite());
+ suite.addTest(org.nsdl.mptstore.rdf.AllUnitTests.suite());
+ suite.addTest(org.nsdl.mptstore.util.AllUnitTests.suite());
+
+ return suite;
+
+ }
+}
Deleted: trunk/src/test/org/nsdl/mptstore/MPTStoreIntegrationTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/MPTStoreIntegrationTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/MPTStoreIntegrationTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,37 +0,0 @@
-package org.nsdl.mptstore;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.nsdl.mptstore.core.CoreIntegrationTestSuite;
-import org.nsdl.mptstore.impl.ImplIntegrationTestSuite;
-
-public class MPTStoreIntegrationTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(MPTStoreIntegrationTestSuite.class.getName());
-
- // classes in this package
- //suite.addTestSuite(Whatever.class);
-
- // sub-package suites
- suite.addTest(CoreIntegrationTestSuite.suite());
- suite.addTest(ImplIntegrationTestSuite.suite());
-
- return suite;
-
- }
-
-
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(MPTStoreIntegrationTestSuite.suite());
- } else {
- TestRunner.run(MPTStoreIntegrationTestSuite.class);
- }
- }
-}
Deleted: trunk/src/test/org/nsdl/mptstore/MPTStoreUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/MPTStoreUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/MPTStoreUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,41 +0,0 @@
-package org.nsdl.mptstore;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.nsdl.mptstore.core.CoreUnitTestSuite;
-import org.nsdl.mptstore.impl.ImplUnitTestSuite;
-import org.nsdl.mptstore.query.QueryUnitTestSuite;
-import org.nsdl.mptstore.rdf.RDFUnitTestSuite;
-import org.nsdl.mptstore.util.UtilUnitTestSuite;
-
-public class MPTStoreUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(MPTStoreUnitTestSuite.class.getName());
-
- // classes in this package
- //suite.addUnitTestSuite(Whatever.class);
-
- // sub-package suites
- suite.addTest(CoreUnitTestSuite.suite());
- suite.addTest(ImplUnitTestSuite.suite());
- suite.addTest(QueryUnitTestSuite.suite());
- suite.addTest(RDFUnitTestSuite.suite());
- suite.addTest(UtilUnitTestSuite.suite());
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(MPTStoreUnitTestSuite.suite());
- } else {
- TestRunner.run(MPTStoreUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/core/AllIntegrationTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/core/AllIntegrationTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/core/AllIntegrationTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,21 @@
+package org.nsdl.mptstore.core;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllIntegrationTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllIntegrationTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(GenericDatabaseAdaptorIntegrationTest.class);
+
+ return suite;
+
+ }
+
+}
Added: trunk/src/test/org/nsdl/mptstore/core/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/core/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/core/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,20 @@
+package org.nsdl.mptstore.core;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ //suite.addTestSuite(Whatever.class);
+
+ return suite;
+
+ }
+}
Deleted: trunk/src/test/org/nsdl/mptstore/core/CoreIntegrationTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/core/CoreIntegrationTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/core/CoreIntegrationTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,28 +0,0 @@
-package org.nsdl.mptstore.core;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class CoreIntegrationTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(CoreIntegrationTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(GenericDatabaseAdaptorIntegrationTest.class);
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(CoreIntegrationTestSuite.suite());
- } else {
- TestRunner.run(CoreIntegrationTestSuite.class);
- }
- }
-}
Deleted: trunk/src/test/org/nsdl/mptstore/core/CoreUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/core/CoreUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/core/CoreUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,28 +0,0 @@
-package org.nsdl.mptstore.core;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class CoreUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(CoreUnitTestSuite.class.getName());
-
- // classes in this package
- //suite.addTestSuite(Whatever.class);
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(CoreUnitTestSuite.suite());
- } else {
- TestRunner.run(CoreUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/impl/AllIntegrationTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/AllIntegrationTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/AllIntegrationTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,36 @@
+package org.nsdl.mptstore.impl;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+import org.nsdl.mptstore.TestConfig;
+
+public class AllIntegrationTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllIntegrationTests.class.getName());
+
+ // classes in this package
+ //suite.addTestSuite(Whatever.class);
+
+ // sub-package suites
+ String testDatabase = TestConfig.getTestDatabase();
+
+ if (testDatabase.equals("derby")) {
+ suite.addTest(org.nsdl.mptstore.impl.derby.AllIntegrationTests.suite());
+ } else if (testDatabase.equals("h2")) {
+ suite.addTest(org.nsdl.mptstore.impl.h2.AllIntegrationTests.suite());
+ } else if (testDatabase.equals("postgres")) {
+ suite.addTest(org.nsdl.mptstore.impl.postgres.AllIntegrationTests.suite());
+ } else {
+ throw new Exception("Unrecognized test.database: " + testDatabase);
+ }
+
+ return suite;
+
+ }
+
+}
Added: trunk/src/test/org/nsdl/mptstore/impl/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,28 @@
+package org.nsdl.mptstore.impl;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+import org.nsdl.mptstore.TestConfig;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ //suite.addTestSuite(Whatever.class);
+
+ // sub-package suites
+ suite.addTest(org.nsdl.mptstore.impl.derby.AllUnitTests.suite());
+ suite.addTest(org.nsdl.mptstore.impl.h2.AllUnitTests.suite());
+ suite.addTest(org.nsdl.mptstore.impl.postgres.AllUnitTests.suite());
+
+ return suite;
+
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/ImplIntegrationTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/ImplIntegrationTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/ImplIntegrationTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,47 +0,0 @@
-package org.nsdl.mptstore.impl;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.nsdl.mptstore.MPTStoreIntegrationTestSuite;
-import org.nsdl.mptstore.TestConfig;
-import org.nsdl.mptstore.impl.derby.DerbyIntegrationTestSuite;
-import org.nsdl.mptstore.impl.h2.H2IntegrationTestSuite;
-import org.nsdl.mptstore.impl.postgres.PostgresIntegrationTestSuite;
-
-public class ImplIntegrationTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(ImplIntegrationTestSuite.class.getName());
-
- // classes in this package
- //suite.addTestSuite(Whatever.class);
-
- // sub-package suites
- String testDatabase = TestConfig.getTestDatabase();
-
- if (testDatabase.equals("derby")) {
- suite.addTest(DerbyIntegrationTestSuite.suite());
- } else if (testDatabase.equals("h2")) {
- suite.addTest(H2IntegrationTestSuite.suite());
- } else if (testDatabase.equals("postgres")) {
- suite.addTest(PostgresIntegrationTestSuite.suite());
- } else {
- throw new Exception("Unrecognized test.database: " + testDatabase);
- }
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(ImplIntegrationTestSuite.suite());
- } else {
- TestRunner.run(ImplIntegrationTestSuite.class);
- }
- }
-}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/ImplUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/ImplUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/ImplUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,37 +0,0 @@
-package org.nsdl.mptstore.impl;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.nsdl.mptstore.impl.derby.DerbyUnitTestSuite;
-import org.nsdl.mptstore.impl.h2.H2UnitTestSuite;
-import org.nsdl.mptstore.impl.postgres.PostgresUnitTestSuite;
-
-public class ImplUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(ImplUnitTestSuite.class.getName());
-
- // classes in this package
- //suite.addTestSuite(Whatever.class);
-
- // sub-package suites
- suite.addTest(DerbyUnitTestSuite.suite());
- suite.addTest(H2UnitTestSuite.suite());
- suite.addTest(PostgresUnitTestSuite.suite());
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(ImplUnitTestSuite.suite());
- } else {
- TestRunner.run(ImplUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/impl/derby/AllIntegrationTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/derby/AllIntegrationTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/derby/AllIntegrationTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,20 @@
+package org.nsdl.mptstore.impl.derby;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllIntegrationTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllIntegrationTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(DerbyDDLGeneratorIntegrationTest.class);
+
+ return suite;
+ }
+
+}
Added: trunk/src/test/org/nsdl/mptstore/impl/derby/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/derby/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/derby/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,20 @@
+package org.nsdl.mptstore.impl.derby;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(DerbyDDLGeneratorUnitTest.class);
+
+ return suite;
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyIntegrationTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyIntegrationTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyIntegrationTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,27 +0,0 @@
-package org.nsdl.mptstore.impl.derby;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class DerbyIntegrationTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(DerbyIntegrationTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(DerbyDDLGeneratorIntegrationTest.class);
-
- return suite;
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(DerbyIntegrationTestSuite.suite());
- } else {
- TestRunner.run(DerbyIntegrationTestSuite.class);
- }
- }
-}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/derby/DerbyUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,27 +0,0 @@
-package org.nsdl.mptstore.impl.derby;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class DerbyUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(DerbyUnitTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(DerbyDDLGeneratorUnitTest.class);
-
- return suite;
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(DerbyUnitTestSuite.suite());
- } else {
- TestRunner.run(DerbyUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/impl/h2/AllIntegrationTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/h2/AllIntegrationTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/h2/AllIntegrationTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,20 @@
+package org.nsdl.mptstore.impl.h2;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllIntegrationTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllIntegrationTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(H2DDLGeneratorIntegrationTest.class);
+
+ return suite;
+ }
+
+}
Added: trunk/src/test/org/nsdl/mptstore/impl/h2/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/h2/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/h2/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,20 @@
+package org.nsdl.mptstore.impl.h2;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(H2DDLGeneratorUnitTest.class);
+
+ return suite;
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/h2/H2IntegrationTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/h2/H2IntegrationTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/h2/H2IntegrationTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,27 +0,0 @@
-package org.nsdl.mptstore.impl.h2;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class H2IntegrationTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(H2IntegrationTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(H2DDLGeneratorIntegrationTest.class);
-
- return suite;
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(H2IntegrationTestSuite.suite());
- } else {
- TestRunner.run(H2IntegrationTestSuite.class);
- }
- }
-}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/h2/H2UnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/h2/H2UnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/h2/H2UnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,27 +0,0 @@
-package org.nsdl.mptstore.impl.h2;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class H2UnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(H2UnitTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(H2DDLGeneratorUnitTest.class);
-
- return suite;
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(H2UnitTestSuite.suite());
- } else {
- TestRunner.run(H2UnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/impl/postgres/AllIntegrationTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/postgres/AllIntegrationTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/postgres/AllIntegrationTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,20 @@
+package org.nsdl.mptstore.impl.postgres;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllIntegrationTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllIntegrationTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(PostgresDDLGeneratorIntegrationTest.class);
+
+ return suite;
+ }
+
+}
Added: trunk/src/test/org/nsdl/mptstore/impl/postgres/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/postgres/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/impl/postgres/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,21 @@
+package org.nsdl.mptstore.impl.postgres;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(PostgresDDLGeneratorUnitTest.class);
+
+ return suite;
+
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresIntegrationTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresIntegrationTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresIntegrationTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,27 +0,0 @@
-package org.nsdl.mptstore.impl.postgres;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class PostgresIntegrationTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(PostgresIntegrationTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(PostgresDDLGeneratorIntegrationTest.class);
-
- return suite;
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(PostgresIntegrationTestSuite.suite());
- } else {
- TestRunner.run(PostgresIntegrationTestSuite.class);
- }
- }
-}
Deleted: trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/impl/postgres/PostgresUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,28 +0,0 @@
-package org.nsdl.mptstore.impl.postgres;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class PostgresUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(PostgresUnitTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(PostgresDDLGeneratorUnitTest.class);
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(PostgresUnitTestSuite.suite());
- } else {
- TestRunner.run(PostgresUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/query/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/query/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/query/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,24 @@
+package org.nsdl.mptstore.query;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ //suite.addTestSuite(SomeTest.class);
+
+ // sub-package suites
+ suite.addTest(org.nsdl.mptstore.query.lang.AllUnitTests.suite());
+
+ return suite;
+
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/query/QueryUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/query/QueryUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/query/QueryUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,33 +0,0 @@
-package org.nsdl.mptstore.query;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.nsdl.mptstore.query.lang.LangUnitTestSuite;
-
-public class QueryUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(QueryUnitTestSuite.class.getName());
-
- // classes in this package
- //suite.addTestSuite(SomeTest.class);
-
- // sub-package suites
- suite.addTest(LangUnitTestSuite.suite());
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(QueryUnitTestSuite.suite());
- } else {
- TestRunner.run(QueryUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/query/lang/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/query/lang/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/query/lang/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,23 @@
+package org.nsdl.mptstore.query.lang;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ //suite.addTestSuite(SomeTest.class);
+
+ // sub-package suites
+ suite.addTest(org.nsdl.mptstore.query.lang.spo.AllUnitTests.suite());
+
+ return suite;
+
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/query/lang/LangUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/query/lang/LangUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/query/lang/LangUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,33 +0,0 @@
-package org.nsdl.mptstore.query.lang;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.nsdl.mptstore.query.lang.spo.SPOUnitTestSuite;
-
-public class LangUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(LangUnitTestSuite.class.getName());
-
- // classes in this package
- //suite.addTestSuite(SomeTest.class);
-
- // sub-package suites
- suite.addTest(SPOUnitTestSuite.suite());
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(LangUnitTestSuite.suite());
- } else {
- TestRunner.run(LangUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/query/lang/spo/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/query/lang/spo/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/query/lang/spo/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,23 @@
+package org.nsdl.mptstore.query.lang.spo;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.swingui.TestRunner;
+
+import org.nsdl.mptstore.query.lang.spo.AllUnitTests;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(SPOQueryCompilerUnitTest.class);
+
+ return suite;
+
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/query/lang/spo/SPOUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/query/lang/spo/SPOUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/query/lang/spo/SPOUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,30 +0,0 @@
-package org.nsdl.mptstore.query.lang.spo;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.nsdl.mptstore.query.lang.spo.SPOUnitTestSuite;
-
-public class SPOUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(SPOUnitTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(SPOQueryCompilerUnitTest.class);
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(SPOUnitTestSuite.suite());
- } else {
- TestRunner.run(SPOUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/rdf/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/rdf/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/rdf/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,20 @@
+package org.nsdl.mptstore.rdf;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(LiteralUnitTest.class);
+
+ return suite;
+
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/rdf/RDFUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/rdf/RDFUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/rdf/RDFUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,28 +0,0 @@
-package org.nsdl.mptstore.rdf;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class RDFUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(RDFUnitTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(LiteralUnitTest.class);
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(RDFUnitTestSuite.suite());
- } else {
- TestRunner.run(RDFUnitTestSuite.class);
- }
- }
-}
Added: trunk/src/test/org/nsdl/mptstore/util/AllUnitTests.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/util/AllUnitTests.java (rev 0)
+++ trunk/src/test/org/nsdl/mptstore/util/AllUnitTests.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -0,0 +1,22 @@
+package org.nsdl.mptstore.util;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+public class AllUnitTests extends TestCase {
+
+ public static Test suite() throws Exception {
+
+ TestSuite suite = new TestSuite(AllUnitTests.class.getName());
+
+ // classes in this package
+ suite.addTestSuite(NTriplesUtilUnitTest.class);
+
+ // sub-package suites
+
+ return suite;
+
+ }
+
+}
Deleted: trunk/src/test/org/nsdl/mptstore/util/UtilUnitTestSuite.java
===================================================================
--- trunk/src/test/org/nsdl/mptstore/util/UtilUnitTestSuite.java 2006-12-10 03:10:07 UTC (rev 101)
+++ trunk/src/test/org/nsdl/mptstore/util/UtilUnitTestSuite.java 2006-12-10 07:16:14 UTC (rev 102)
@@ -1,30 +0,0 @@
-package org.nsdl.mptstore.util;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-public class UtilUnitTestSuite extends TestCase {
-
- public static Test suite() throws Exception {
-
- TestSuite suite = new TestSuite(UtilUnitTestSuite.class.getName());
-
- // classes in this package
- suite.addTestSuite(NTriplesUtilUnitTest.class);
-
- // sub-package suites
-
- return suite;
-
- }
-
- public static void main(String[] args) throws Exception {
- if (System.getProperty("text") != null && System.getProperty("text").equals("true")) {
- junit.textui.TestRunner.run(UtilUnitTestSuite.suite());
- } else {
- TestRunner.run(UtilUnitTestSuite.class);
- }
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|