org.newsml.toolkit.conformance
Class NewsIdentifierTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.NewsIdentifierTest
- public class NewsIdentifierTest
- extends TestBase
NewsIdentifier-specific conformance tests.
This class reports an error if the PublicIdentifier is not
properly composed from the other parts of the NewsIdentifier.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a NewsIdentifier node. |
NewsIdentifierTest
public NewsIdentifierTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a NewsIdentifier node.
- Overrides:
run
in class TestBase
- Parameters:
node
- A NewsIdentifier node.useExternal
- Not used.- Throws:
NewsMLException
- If the test fails.java.lang.ClassCastException
- If the node parameter is not
an instance of NewsIdentifier
.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)