org.newsml.toolkit.conformance
Class TopicTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.TopicTest
- public class TopicTest
- extends TestBase
Topic-specific conformance tests.
Report a warning if the topic is not either (a) referenced by
Duid or (b) used by a formal name.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a Topic node. |
TopicTest
public TopicTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a Topic node.
- Overrides:
run
in class TestBase
- Parameters:
node
- A Topic node.useExternal
- Not used.- Throws:
NewsMLException
- If the test fails.java.lang.ClassCastException
- If the node parameter is not
an instance of Topic
.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)