|
From: <lh...@us...> - 2010-03-23 21:45:54
|
Revision: 180
http://tmapi.svn.sourceforge.net/tmapi/?rev=180&view=rev
Author: lheuer
Date: 2010-03-23 21:45:47 +0000 (Tue, 23 Mar 2010)
Log Message:
-----------
Renamed TMAPITestCase to AbstractTMAPITestCase
Modified Paths:
--------------
trunk/src/test/java/org/tmapi/core/AbstractTestDatatypeAware.java
trunk/src/test/java/org/tmapi/core/AbstractTestTopicMergeDetection.java
trunk/src/test/java/org/tmapi/core/TestAssociation.java
trunk/src/test/java/org/tmapi/core/TestConstruct.java
trunk/src/test/java/org/tmapi/core/TestItemIdentifierConstraint.java
trunk/src/test/java/org/tmapi/core/TestLocator.java
trunk/src/test/java/org/tmapi/core/TestName.java
trunk/src/test/java/org/tmapi/core/TestRFC3986.java
trunk/src/test/java/org/tmapi/core/TestReifiable.java
trunk/src/test/java/org/tmapi/core/TestRole.java
trunk/src/test/java/org/tmapi/core/TestSameTopicMap.java
trunk/src/test/java/org/tmapi/core/TestScoped.java
trunk/src/test/java/org/tmapi/core/TestTopic.java
trunk/src/test/java/org/tmapi/core/TestTopicMap.java
trunk/src/test/java/org/tmapi/core/TestTopicMapMerge.java
trunk/src/test/java/org/tmapi/core/TestTopicMapSystem.java
trunk/src/test/java/org/tmapi/core/TestTopicMerge.java
trunk/src/test/java/org/tmapi/core/TestTopicRemovableConstraint.java
trunk/src/test/java/org/tmapi/core/TestTyped.java
trunk/src/test/java/org/tmapi/index/TestLiteralIndex.java
trunk/src/test/java/org/tmapi/index/TestScopedIndex.java
trunk/src/test/java/org/tmapi/index/TestTypeInstanceIndex.java
Added Paths:
-----------
trunk/src/test/java/org/tmapi/core/AbstractTMAPITestCase.java
Removed Paths:
-------------
trunk/src/test/java/org/tmapi/core/TMAPITestCase.java
Added: trunk/src/test/java/org/tmapi/core/AbstractTMAPITestCase.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/AbstractTMAPITestCase.java (rev 0)
+++ trunk/src/test/java/org/tmapi/core/AbstractTMAPITestCase.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -0,0 +1,213 @@
+/*
+ * The Topic Maps API (TMAPI) was created collectively by
+ * the membership of the tmapi-discuss mailing list
+ * <http://lists.sourceforge.net/mailman/listinfo/tmapi-discuss>,
+ * is hereby released into the public domain; and comes with
+ * NO WARRANTY.
+ *
+ * No one owns TMAPI: you may use it freely in both commercial and
+ * non-commercial applications, bundle it with your software
+ * distribution, include it on a CD-ROM, list the source code in a
+ * book, mirror the documentation at your own web site, or use it in
+ * any other way you see fit.
+ */
+package org.tmapi.core;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+/**
+ * This TestClass is the base of all TMAPI test classes.
+ *
+ * It uses {@link TopicMapSystemFactory} in {@link #setUp()} method.
+ * So, the Property "org.tmapi.core.TopicMapSystemFactory" has to be set
+ * to the implementing factory class.
+ *
+ * Please use also the {@link #createTopicMap(Locator)}, {@link #createTopicMap(String)},
+ * and {@link #removeTopicMap(Locator)}, {@link #removeTopicMap(String)}
+ * methods.
+ * So after running the test the {@link #teardown()} method removes all created
+ * {@link TopicMap} instances.
+ * That needed for TMAPI implementations which are working with persistent
+ * backends.
+ *
+ * @author <a href="http://tmapi.org/">The TMAPI Project</a>
+ * @version $Rev: 66 $ - $Date: 2008-08-20 13:26:30 +0200 (Mi, 20 Aug 2008) $
+ */
+public abstract class AbstractTMAPITestCase extends TestCase {
+
+ /**
+ * Default address under which the initial topic map is stored.
+ */
+ protected static final String _DEFAULT_ADDRESS = "http://www.tmapi.org/tmapi2.0";
+
+ /**
+ * Locator representing the <tt>_DEFAUL_ADDRESS</tt>.
+ */
+ protected Locator _defaultLocator;
+
+ /**
+ * Default TopicMapSystem instance created during {@link #setUp()}
+ */
+ protected TopicMapSystem _sys;
+
+ /**
+ * Default topic map which is created during {@link #setUp()}
+ */
+ protected TopicMap _tm;
+
+ public AbstractTMAPITestCase(String name) {
+ super(name);
+ }
+
+ /* (non-Javadoc)
+ * @see junit.framework.TestCase#setUp()
+ */
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ TopicMapSystemFactory factory = TopicMapSystemFactory.newInstance();
+ //bad hack to copy all System.Properties to factory
+ for (Object obj: System.getProperties().keySet()) {
+ String key = (String) obj;
+ factory.setProperty(key, System.getProperty(key));
+ }
+ _sys = factory.newTopicMapSystem();
+ removeAllMaps(); // Seems to be unnecessary, but who knows
+ _defaultLocator = _sys.createLocator(_DEFAULT_ADDRESS);
+ _tm = _sys.createTopicMap(_defaultLocator);
+ }
+
+ /* (non-Javadoc)
+ * @see junit.framework.TestCase#tearDown()
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ removeAllMaps();
+ _sys.close();
+ }
+
+ /**
+ * Creates a topic with a random item identifier.
+ *
+ * @return The topic.
+ */
+ protected Topic createTopic() {
+ return _tm.createTopic();
+ }
+
+ /**
+ * Creates an association with a random type and no roles.
+ *
+ * @return The association.
+ */
+ protected Association createAssociation() {
+ return _tm.createAssociation(createTopic());
+ }
+
+ /**
+ * Creates a role which is part of a random association with a random
+ * player and type.
+ *
+ * @return The role.
+ */
+ protected Role createRole() {
+ return createAssociation().createRole(createTopic(), createTopic());
+ }
+
+ /**
+ * Creates an occurrence which is part of a random topic with a random type.
+ *
+ * @return The occurrence.
+ */
+ protected Occurrence createOccurrence() {
+ return createTopic().createOccurrence(createTopic(), "Occurrence");
+ }
+
+ /**
+ * Creates a name which is part of a newly created topic using the default
+ * type name.
+ *
+ * @return The name.
+ */
+ protected Name createName() {
+ return createTopic().createName("Name");
+ }
+
+ /**
+ * Creates a variant which is part of a newly created name.
+ *
+ * @return The variant.
+ */
+ protected Variant createVariant() {
+ return createName().createVariant("Variant", createTopic());
+ }
+
+ protected Locator createLocator(final String iri) {
+ return _sys.createLocator(iri);
+ }
+
+ /**
+ * Creates a topic map under the specified <tt>iri</tt>.
+ *
+ * @param iri The IRI where the topic map should be stored.
+ * @return A topic map instance.
+ * @throws TopicMapExistsException If a topic map under the IRI exists already.
+ */
+ protected TopicMap createTopicMap(String iri) throws TopicMapExistsException {
+ return createTopicMap(_sys.createLocator(iri));
+ }
+
+ /**
+ * Creates a topic map under the specified <tt>locator</tt>.
+ *
+ * @param locator The locator under which the topic map should be stored.
+ * @return A topic map instance.
+ * @throws TopicMapExistsException If a topic map under the IRI exists already.
+ */
+ protected TopicMap createTopicMap(Locator locator) throws TopicMapExistsException {
+ return _sys.createTopicMap(locator);
+ }
+
+ /**
+ * Removes a topic map stored at <tt>iri</tt> from this system.
+ *
+ * @param iri The IRI where the topic map is stored.
+ */
+ protected void removeTopicMap(String iri) {
+ removeTopicMap(createLocator(iri));
+ }
+
+ /**
+ * Removes a topic map stored at <tt>locator</tt> from this system.
+ *
+ * @param locator The IRI where the topic map is stored.
+ */
+ protected void removeTopicMap(Locator locator) {
+ removeTopicMap(_sys.getTopicMap(locator));
+ }
+
+ /**
+ * Removes a topic map.
+ *
+ * @param tm The topic map to remove
+ */
+ protected void removeTopicMap(TopicMap tm) {
+ tm.remove();
+ }
+
+ /**
+ * Deletes all topic maps known in the system.
+ */
+ protected void removeAllMaps() {
+ List<Locator> locs = new ArrayList<Locator>();
+ locs.addAll(_sys.getLocators());
+ for (Locator loc: locs) {
+ removeTopicMap(loc);
+ }
+ }
+
+}
Modified: trunk/src/test/java/org/tmapi/core/AbstractTestDatatypeAware.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/AbstractTestDatatypeAware.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/AbstractTestDatatypeAware.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -23,7 +23,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public abstract class AbstractTestDatatypeAware extends TMAPITestCase {
+public abstract class AbstractTestDatatypeAware extends AbstractTMAPITestCase {
protected static final String _XSD = "http://www.w3.org/2001/XMLSchema#";
protected static final String _XSD_STRING = _XSD + "string";
Modified: trunk/src/test/java/org/tmapi/core/AbstractTestTopicMergeDetection.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/AbstractTestTopicMergeDetection.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/AbstractTestTopicMergeDetection.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public abstract class AbstractTestTopicMergeDetection extends TMAPITestCase {
+public abstract class AbstractTestTopicMergeDetection extends AbstractTMAPITestCase {
private boolean _automerge;
Deleted: trunk/src/test/java/org/tmapi/core/TMAPITestCase.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TMAPITestCase.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TMAPITestCase.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -1,213 +0,0 @@
-/*
- * The Topic Maps API (TMAPI) was created collectively by
- * the membership of the tmapi-discuss mailing list
- * <http://lists.sourceforge.net/mailman/listinfo/tmapi-discuss>,
- * is hereby released into the public domain; and comes with
- * NO WARRANTY.
- *
- * No one owns TMAPI: you may use it freely in both commercial and
- * non-commercial applications, bundle it with your software
- * distribution, include it on a CD-ROM, list the source code in a
- * book, mirror the documentation at your own web site, or use it in
- * any other way you see fit.
- */
-package org.tmapi.core;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.TestCase;
-
-/**
- * This TestClass is the base of all TMAPI test classes.
- *
- * It uses {@link TopicMapSystemFactory} in {@link #setUp()} method.
- * So, the Property "org.tmapi.core.TopicMapSystemFactory" has to be set
- * to the implementing factory class.
- *
- * Please use also the {@link #createTopicMap(Locator)}, {@link #createTopicMap(String)},
- * and {@link #removeTopicMap(Locator)}, {@link #removeTopicMap(String)}
- * methods.
- * So after running the test the {@link #teardown()} method removes all created
- * {@link TopicMap} instances.
- * That needed for TMAPI implementations which are working with persistent
- * backends.
- *
- * @author <a href="http://tmapi.org/">The TMAPI Project</a>
- * @version $Rev$ - $Date$
- */
-public abstract class TMAPITestCase extends TestCase {
-
- /**
- * Default address under which the initial topic map is stored.
- */
- protected static final String _DEFAULT_ADDRESS = "http://www.tmapi.org/tmapi2.0";
-
- /**
- * Locator representing the <tt>_DEFAUL_ADDRESS</tt>.
- */
- protected Locator _defaultLocator;
-
- /**
- * Default TopicMapSystem instance created during {@link #setUp()}
- */
- protected TopicMapSystem _sys;
-
- /**
- * Default topic map which is created during {@link #setUp()}
- */
- protected TopicMap _tm;
-
- public TMAPITestCase(String name) {
- super(name);
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#setUp()
- */
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- TopicMapSystemFactory factory = TopicMapSystemFactory.newInstance();
- //bad hack to copy all System.Properties to factory
- for (Object obj: System.getProperties().keySet()) {
- String key = (String) obj;
- factory.setProperty(key, System.getProperty(key));
- }
- _sys = factory.newTopicMapSystem();
- removeAllMaps(); // Seems to be unnecessary, but who knows
- _defaultLocator = _sys.createLocator(_DEFAULT_ADDRESS);
- _tm = _sys.createTopicMap(_defaultLocator);
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#tearDown()
- */
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- removeAllMaps();
- _sys.close();
- }
-
- /**
- * Creates a topic with a random item identifier.
- *
- * @return The topic.
- */
- protected Topic createTopic() {
- return _tm.createTopic();
- }
-
- /**
- * Creates an association with a random type and no roles.
- *
- * @return The association.
- */
- protected Association createAssociation() {
- return _tm.createAssociation(createTopic());
- }
-
- /**
- * Creates a role which is part of a random association with a random
- * player and type.
- *
- * @return The role.
- */
- protected Role createRole() {
- return createAssociation().createRole(createTopic(), createTopic());
- }
-
- /**
- * Creates an occurrence which is part of a random topic with a random type.
- *
- * @return The occurrence.
- */
- protected Occurrence createOccurrence() {
- return createTopic().createOccurrence(createTopic(), "Occurrence");
- }
-
- /**
- * Creates a name which is part of a newly created topic using the default
- * type name.
- *
- * @return The name.
- */
- protected Name createName() {
- return createTopic().createName("Name");
- }
-
- /**
- * Creates a variant which is part of a newly created name.
- *
- * @return The variant.
- */
- protected Variant createVariant() {
- return createName().createVariant("Variant", createTopic());
- }
-
- protected Locator createLocator(final String iri) {
- return _sys.createLocator(iri);
- }
-
- /**
- * Creates a topic map under the specified <tt>iri</tt>.
- *
- * @param iri The IRI where the topic map should be stored.
- * @return A topic map instance.
- * @throws TopicMapExistsException If a topic map under the IRI exists already.
- */
- protected TopicMap createTopicMap(String iri) throws TopicMapExistsException {
- return createTopicMap(_sys.createLocator(iri));
- }
-
- /**
- * Creates a topic map under the specified <tt>locator</tt>.
- *
- * @param locator The locator under which the topic map should be stored.
- * @return A topic map instance.
- * @throws TopicMapExistsException If a topic map under the IRI exists already.
- */
- protected TopicMap createTopicMap(Locator locator) throws TopicMapExistsException {
- return _sys.createTopicMap(locator);
- }
-
- /**
- * Removes a topic map stored at <tt>iri</tt> from this system.
- *
- * @param iri The IRI where the topic map is stored.
- */
- protected void removeTopicMap(String iri) {
- removeTopicMap(createLocator(iri));
- }
-
- /**
- * Removes a topic map stored at <tt>locator</tt> from this system.
- *
- * @param locator The IRI where the topic map is stored.
- */
- protected void removeTopicMap(Locator locator) {
- removeTopicMap(_sys.getTopicMap(locator));
- }
-
- /**
- * Removes a topic map.
- *
- * @param tm The topic map to remove
- */
- protected void removeTopicMap(TopicMap tm) {
- tm.remove();
- }
-
- /**
- * Deletes all topic maps known in the system.
- */
- protected void removeAllMaps() {
- List<Locator> locs = new ArrayList<Locator>();
- locs.addAll(_sys.getLocators());
- for (Locator loc: locs) {
- removeTopicMap(loc);
- }
- }
-
-}
Modified: trunk/src/test/java/org/tmapi/core/TestAssociation.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestAssociation.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestAssociation.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestAssociation extends TMAPITestCase {
+public class TestAssociation extends AbstractTMAPITestCase {
public TestAssociation(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestConstruct.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestConstruct.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestConstruct.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestConstruct extends TMAPITestCase {
+public class TestConstruct extends AbstractTMAPITestCase {
public TestConstruct(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestItemIdentifierConstraint.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestItemIdentifierConstraint.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestItemIdentifierConstraint.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -26,7 +26,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestItemIdentifierConstraint extends TMAPITestCase {
+public class TestItemIdentifierConstraint extends AbstractTMAPITestCase {
public TestItemIdentifierConstraint(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestLocator.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestLocator.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestLocator.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -19,7 +19,7 @@
* @author <a href="http://tmapi.org/">The TMAPI Project</a>
* @version $Rev$ - $Date$
*/
-public class TestLocator extends TMAPITestCase {
+public class TestLocator extends AbstractTMAPITestCase {
public TestLocator(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestName.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestName.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestName.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -22,7 +22,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestName extends TMAPITestCase {
+public class TestName extends AbstractTMAPITestCase {
public TestName(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestRFC3986.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestRFC3986.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestRFC3986.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author <a href="http://tmapi.org/">The TMAPI Project</a>
* @version $Rev$ - $Date$
*/
-public class TestRFC3986 extends TMAPITestCase {
+public class TestRFC3986 extends AbstractTMAPITestCase {
public TestRFC3986(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestReifiable.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestReifiable.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestReifiable.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestReifiable extends TMAPITestCase {
+public class TestReifiable extends AbstractTMAPITestCase {
public TestReifiable(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestRole.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestRole.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestRole.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestRole extends TMAPITestCase {
+public class TestRole extends AbstractTMAPITestCase {
public TestRole(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestSameTopicMap.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestSameTopicMap.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestSameTopicMap.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -27,7 +27,7 @@
* @author <a href="http://tmapi.org/">The TMAPI Project</a>
* @version $Rev$ - $Date$
*/
-public class TestSameTopicMap extends TMAPITestCase {
+public class TestSameTopicMap extends AbstractTMAPITestCase {
private TopicMap _tm2;
Modified: trunk/src/test/java/org/tmapi/core/TestScoped.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestScoped.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestScoped.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestScoped extends TMAPITestCase {
+public class TestScoped extends AbstractTMAPITestCase {
public TestScoped(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestTopic.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestTopic.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestTopic.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -24,7 +24,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestTopic extends TMAPITestCase {
+public class TestTopic extends AbstractTMAPITestCase {
public TestTopic(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestTopicMap.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestTopicMap.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestTopicMap.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -26,7 +26,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestTopicMap extends TMAPITestCase {
+public class TestTopicMap extends AbstractTMAPITestCase {
public TestTopicMap(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestTopicMapMerge.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestTopicMapMerge.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestTopicMapMerge.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -24,7 +24,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestTopicMapMerge extends TMAPITestCase {
+public class TestTopicMapMerge extends AbstractTMAPITestCase {
private static final String _TM2_BASE = "http://www.sf.net/projects/tinytim/tm-2";
Modified: trunk/src/test/java/org/tmapi/core/TestTopicMapSystem.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestTopicMapSystem.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestTopicMapSystem.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -19,7 +19,7 @@
* @author <a href="http://tmapi.org/">The TMAPI Project</a>
* @version $Rev$ - $Date$
*/
-public class TestTopicMapSystem extends TMAPITestCase {
+public class TestTopicMapSystem extends AbstractTMAPITestCase {
public TestTopicMapSystem(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestTopicMerge.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestTopicMerge.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestTopicMerge.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestTopicMerge extends TMAPITestCase {
+public class TestTopicMerge extends AbstractTMAPITestCase {
public TestTopicMerge(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestTopicRemovableConstraint.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestTopicRemovableConstraint.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestTopicRemovableConstraint.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -22,7 +22,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestTopicRemovableConstraint extends TMAPITestCase {
+public class TestTopicRemovableConstraint extends AbstractTMAPITestCase {
public TestTopicRemovableConstraint(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/core/TestTyped.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestTyped.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/core/TestTyped.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -20,7 +20,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestTyped extends TMAPITestCase {
+public class TestTyped extends AbstractTMAPITestCase {
public TestTyped(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/index/TestLiteralIndex.java
===================================================================
--- trunk/src/test/java/org/tmapi/index/TestLiteralIndex.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/index/TestLiteralIndex.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -16,7 +16,7 @@
import org.tmapi.core.Locator;
import org.tmapi.core.Name;
import org.tmapi.core.Occurrence;
-import org.tmapi.core.TMAPITestCase;
+import org.tmapi.core.AbstractTMAPITestCase;
import org.tmapi.core.Topic;
import org.tmapi.core.Variant;
@@ -27,7 +27,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestLiteralIndex extends TMAPITestCase {
+public class TestLiteralIndex extends AbstractTMAPITestCase {
private LiteralIndex _litIdx;
private Locator _xsdString;
Modified: trunk/src/test/java/org/tmapi/index/TestScopedIndex.java
===================================================================
--- trunk/src/test/java/org/tmapi/index/TestScopedIndex.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/index/TestScopedIndex.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -18,7 +18,7 @@
import org.tmapi.core.Association;
import org.tmapi.core.Name;
import org.tmapi.core.Occurrence;
-import org.tmapi.core.TMAPITestCase;
+import org.tmapi.core.AbstractTMAPITestCase;
import org.tmapi.core.Topic;
import org.tmapi.core.Variant;
@@ -29,7 +29,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestScopedIndex extends TMAPITestCase {
+public class TestScopedIndex extends AbstractTMAPITestCase {
public TestScopedIndex(String name) {
super(name);
Modified: trunk/src/test/java/org/tmapi/index/TestTypeInstanceIndex.java
===================================================================
--- trunk/src/test/java/org/tmapi/index/TestTypeInstanceIndex.java 2010-03-23 21:37:44 UTC (rev 179)
+++ trunk/src/test/java/org/tmapi/index/TestTypeInstanceIndex.java 2010-03-23 21:45:47 UTC (rev 180)
@@ -18,7 +18,7 @@
import org.tmapi.core.Name;
import org.tmapi.core.Occurrence;
import org.tmapi.core.Role;
-import org.tmapi.core.TMAPITestCase;
+import org.tmapi.core.AbstractTMAPITestCase;
import org.tmapi.core.Topic;
/**
@@ -28,7 +28,7 @@
* @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
* @version $Rev$ - $Date$
*/
-public class TestTypeInstanceIndex extends TMAPITestCase {
+public class TestTypeInstanceIndex extends AbstractTMAPITestCase {
private static final String _FEATURE_TYPE_INSTANCE_ASSOCIATIONS= "http://tmapi.org/features/type-instance-associations";
private TypeInstanceIndex _typeInstanceIdx;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|