org.newsml.toolkit.conformance
Class TopicSetTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.TopicSetTest
- public class TopicSetTest
- extends TestBase
TopicSet-specific conformance tests.
Report an error if two topics have the same formal name and
scheme.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
|
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a TopicSet node. |
TopicSetTest
public TopicSetTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a TopicSet node.
- Overrides:
run in class TestBase
- Parameters:
node - A TopicSet node.useExternal - Not used.- Throws:
NewsMLException - If the test fails.java.lang.ClassCastException - If the node parameter is not
an instance of TopicSet.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)