org.newsml.toolkit.conformance
Class TopicUseTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.TopicUseTest
- public class TopicUseTest
- extends TestBase
TopicUse-specific conformance tests.
Report a warning if the TopicUse does not apply to any nodes.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a TopicUse node. |
TopicUseTest
public TopicUseTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a TopicUse node.
- Overrides:
run
in class TestBase
- Parameters:
node
- A TopicUse node.useExternal
- Not used.- Throws:
NewsMLException
- If the test fails.java.lang.ClassCastException
- If the node parameter is not
an instance of TopicUse
.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)