org.newsml.toolkit.conformance
Class EuidTest
java.lang.Object
|
+--org.newsml.toolkit.conformance.TestBase
|
+--org.newsml.toolkit.conformance.EuidTest
- public class EuidTest
- extends TestBase
Euid-specific conformance tests.
This class reports an error if a Euid is repeated within nodes
of the same type sharing a common parent.
- Version:
- 2.0
- Author:
- Reuters PLC
- See Also:
NewsMLTestManager
Method Summary |
void |
run(BaseNode node,
boolean useExternal)
Run tests for a Euid node. |
EuidTest
public EuidTest()
run
public void run(BaseNode node,
boolean useExternal)
throws NewsMLException
- Run tests for a Euid node.
- Overrides:
run
in class TestBase
- Parameters:
node
- A Text node containing a Euid.useExternal
- Not used.- Throws:
NewsMLException
- If the test fails.- See Also:
TestBase.run(org.newsml.toolkit.BaseNode, boolean)