org.newsml.toolkit.conformance
Class RevisionStatusTest

java.lang.Object
  |
  +--org.newsml.toolkit.conformance.TestBase
        |
        +--org.newsml.toolkit.conformance.RevisionStatusTest

public class RevisionStatusTest
extends TestBase

RevisionStatus-specific conformance tests.

Test that the status applies to a revision less than the current one.

Version:
2.0
Author:
Reuters PLC
See Also:
NewsMLTestManager

Constructor Summary
RevisionStatusTest()
           
 
Method Summary
 void run(BaseNode node, boolean useExternal)
          Run tests for a RevisionStatus node.
 
Methods inherited from class org.newsml.toolkit.conformance.TestBase
error, internal, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevisionStatusTest

public RevisionStatusTest()
Method Detail

run

public void run(BaseNode node,
                boolean useExternal)
         throws NewsMLException
Run tests for a RevisionStatus node.
Overrides:
run in class TestBase
Parameters:
node - A RevisionStatus node.
useExternal - Not used.
Throws:
NewsMLException - If the test fails.
java.lang.ClassCastException - If the node parameter is not an instance of RevisionStatus.
See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)