org.newsml.toolkit.conformance
Class PropertyTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.PropertyTest
- public class PropertyTest
- extends TestBase
Test a Property node.
This class tests the property's value against the allowed values,
if provided.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a Property node. |
PropertyTest
public PropertyTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a Property node.
- Overrides:
run
in class TestBase
- Parameters:
node
- A Property node.useExternal
- Not used.- Throws:
NewsMLException
- If the test fails.java.lang.ClassCastException
- If the node parameter is not
an instance of Property
.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)