org.newsml.toolkit.conformance
Class DefaultVocabularyForTest

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

public class DefaultVocabularyForTest
extends TestBase

DefaultVocabularyFor-specific conformance tests.

Test that the declaration matches at least one node somewhere in the subtree, and test that the node it matches is, in fact, a formal name.

Version:
2.0
Author:
Reuters PLC
See Also:
NewsMLTestManager

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

DefaultVocabularyForTest

public DefaultVocabularyForTest()
Method Detail

run

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