org.newsml.toolkit.conformance
Class RevisionIdTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.RevisionIdTest
- public class RevisionIdTest
- extends TestBase
RevisionId-specific conformance tests.
Test that the previous revision is less than the current
revision.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a RevisionId node. |
RevisionIdTest
public RevisionIdTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a RevisionId node.
- Overrides:
run
in class TestBase
- Parameters:
node
- A RevisionId node.useExternal
- Not used.- Throws:
NewsMLException
- If the test fails.java.lang.ClassCastException
- If the node parameter is not
an instance of RevisionId
.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)