org.newsml.toolkit.conformance
Class NewsLineTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.NewsLineTest
- public class NewsLineTest
- extends TestBase
NewsLine-specific conformance tests.
This class reports an error if a NewsLine contains more than one
NewsLineTest child with the same xml:lang value.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a NewsLine node. |
NewsLineTest
public NewsLineTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a NewsLine node.
- Overrides:
run
in class TestBase
- Parameters:
node
- A NewsLine node.useExternal
- Not used.- Throws:
NewsMLException
- If the test fails.java.lang.ClassCastException
- If the node parameter is not
an instance of NewsLine
.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)