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

Constructor Summary
EuidTest()
           
 
Method Summary
 void run(BaseNode node, boolean useExternal)
          Run tests for a Euid 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

EuidTest

public EuidTest()
Method Detail

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)