name.angoca.db2sa.interfaze
Class InterfaceMessagesTest

Package class diagram package InterfaceMessagesTest
java.lang.Object
  extended by name.angoca.db2sa.interfaze.InterfaceMessagesTest

public final class InterfaceMessagesTest
extends Object

Set of test for the translation files for the core part.

Control Version

Version:
1.4.0 2010-05-27
Author:
Andres Gomez Casanova (AngocA)

Constructor Summary
InterfaceMessagesTest()
          Default constructor.
 
Method Summary
 void testChildEndingNodeException()
          Tests the message of the ChildEndingNodeException.
 void testConfigurationFileCorruptException()
          Tests the message of the ConfigurationFileCorruptException.
 void testConfigurationFileCorruptExceptionNull1()
          Tests that the exception has to receive a not null parameter.
 void testConfigurationFileCorruptExceptionNull2()
          Tests that the exception has to receive a not null parameter.
 void testConfigurationFileNotFoundException()
          Message when the configuration file is not found.
 void testConfigurationFileNotFoundExceptionNull1()
          Tests that the exception has to receive a not null parameter.
 void testDelimitersNotDefinedException()
          Tests the message of the DelimitersNotDefinedException.
 void testDuplicatedNameNodeException()
          Message when there is a duplicated node.
 void testDuplicatedNodeException()
          Message when there is a duplicated node.
 void testDuplicatedNodeExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testDuplicateNodeNameExceptionNull1()
          Tests that the exception has to receive a not null parameter.
 void testDuplicateNodeNameExceptionNull2()
          Tests that the exception has to receive a not null parameter.
 void testEmptyGrammarException()
          Tests the message of the EmptyGrammarException.
 void testEndingNodeNotDefinedException()
          Tests the message of the EndingNodeNotDefinedException.
 void testFinalHelpToken()
          Tests the message of the help token.
 void testGeneralConfigurationFileProblemException()
          Tests the message of the GeneralConfigurationFileProblemException.
 void testGeneralConfigurationFileProblemExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testGeneralException()
          Tests the message of the GeneralException.
 void testGeneralExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testGeneralGrammarFileProblemException()
          Tests the message of the GeneralGrammarFileProblemException.
 void testGeneralGrammarFileProblemExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testGeneralGrammarReaderProblemException()
          Tests the message of the GeneralGrammarReaderProblemException.
 void testGeneralGrammarReaderProblemExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testGrammarFileNotDefinedException()
          Tests the message of the GrammarFileNotDefinedException.
 void testGrammarFileNotFoundException()
          Tests the message of the GrammarFileNotFoundException.
 void testGrammarReaderNotDefinedException()
          Tests the message of the GrammarReaderNotDefinedException.
 void testInputReaderException()
          Tests the message of the InputReaderException.
 void testInputReaderExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testInvalidEndingNodeException()
          Tests the message of the InvalidEndingNodeException.
 void testInvalidGraphNodeException()
          Tests the message of the InvalidGraphNodeException.
 void testInvalidGraphStateExceptionFirstPhase()
          Tests the message of the InvalidGraphStateException for the first phase.
 void testInvalidGraphStateExceptionNull1()
          Tests that the exception has to receive a not null parameter.
 void testInvalidGraphStateExceptionNull2()
          Tests that the exception has to receive a not null parameter.
 void testInvalidStartingNodeException()
          Tests the message of the InvalidStartingNodeException.
 void testInvalidTokenException()
          Tests the message of the InvalidTokenException.
 void testNodeNotComesFromStartingNodeException()
          Tests the message of the NodeNotComesFromStartingNodeException.
 void testNodeNotComesFromStartingNodeExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testNodeNotGoesToEndingNodeException()
          Tests the message of the NodeNotGoesToEndingNodeException.
 void testNodeNotGoesToEndingNodeExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testNotExistingChildNodeException()
          Tests the message of the NotExistingChildNodeException.
 void testNotExistingChildNodeExceptionNull1()
          Tests that the exception has to receive a not null parameter.
 void testNotExistingChildNodeExceptionNull2()
          Tests that the exception has to receive a not null parameter.
 void testNotExistingNodeException()
          Tests the message of the NotExistingNodeException.
 void testNotExistingNodeExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testNullGraphNodeException()
          Tests the message of the NullGraphNodeException.
 void testOutputWriterException()
          Tests the message of the OutputWriterException.
 void testOutputWriterExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testParameterNullException()
          Tests the message of the ParameterNullException.
 void testParameterNullExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testParentStartingNodeException()
          Tests the message of the ParentStartingNodeException.
 void testReferencingEndingNodeException()
          Tests the message of the ReferencingEndingNodeException.
 void testReferencingEndingNodeExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testReferencingStartingNodeException()
          Tests the message of the ReferencingStartingNodeException.
 void testReferencingStartingNodeExceptionNull()
          Tests that the exception has to receive a not null parameter.
 void testStartingNodeNotDefinedException()
          Tests the message of the StartingNodeNotDefinedException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceMessagesTest

public InterfaceMessagesTest()
Default constructor.

Method Detail

testChildEndingNodeException

public void testChildEndingNodeException()
Tests the message of the ChildEndingNodeException.


testConfigurationFileCorruptException

public void testConfigurationFileCorruptException()
Tests the message of the ConfigurationFileCorruptException.


testGrammarFileNotFoundException

public void testGrammarFileNotFoundException()
Tests the message of the GrammarFileNotFoundException.


testConfigurationFileCorruptExceptionNull1

public void testConfigurationFileCorruptExceptionNull1()
Tests that the exception has to receive a not null parameter.


testConfigurationFileCorruptExceptionNull2

public void testConfigurationFileCorruptExceptionNull2()
Tests that the exception has to receive a not null parameter.


testConfigurationFileNotFoundException

public void testConfigurationFileNotFoundException()
Message when the configuration file is not found.


testConfigurationFileNotFoundExceptionNull1

public void testConfigurationFileNotFoundExceptionNull1()
Tests that the exception has to receive a not null parameter.


testDelimitersNotDefinedException

public void testDelimitersNotDefinedException()
Tests the message of the DelimitersNotDefinedException.


testDuplicatedNodeException

public void testDuplicatedNodeException()
Message when there is a duplicated node.


testDuplicatedNodeExceptionNull

public void testDuplicatedNodeExceptionNull()
Tests that the exception has to receive a not null parameter.


testDuplicatedNameNodeException

public void testDuplicatedNameNodeException()
Message when there is a duplicated node.


testDuplicateNodeNameExceptionNull1

public void testDuplicateNodeNameExceptionNull1()
Tests that the exception has to receive a not null parameter.


testDuplicateNodeNameExceptionNull2

public void testDuplicateNodeNameExceptionNull2()
Tests that the exception has to receive a not null parameter.


testEmptyGrammarException

public void testEmptyGrammarException()
Tests the message of the EmptyGrammarException.


testEndingNodeNotDefinedException

public void testEndingNodeNotDefinedException()
Tests the message of the EndingNodeNotDefinedException.


testFinalHelpToken

public void testFinalHelpToken()
                        throws InvalidGraphNodeException
Tests the message of the help token.

Throws:
InvalidGraphNodeException - Never.

testGeneralConfigurationFileProblemException

public void testGeneralConfigurationFileProblemException()
Tests the message of the GeneralConfigurationFileProblemException.


testGeneralConfigurationFileProblemExceptionNull

public void testGeneralConfigurationFileProblemExceptionNull()
Tests that the exception has to receive a not null parameter.


testGeneralGrammarFileProblemException

public void testGeneralGrammarFileProblemException()
Tests the message of the GeneralGrammarFileProblemException.


testGeneralGrammarFileProblemExceptionNull

public void testGeneralGrammarFileProblemExceptionNull()
Tests that the exception has to receive a not null parameter.


testGeneralGrammarReaderProblemException

public void testGeneralGrammarReaderProblemException()
Tests the message of the GeneralGrammarReaderProblemException.


testGeneralGrammarReaderProblemExceptionNull

public void testGeneralGrammarReaderProblemExceptionNull()
Tests that the exception has to receive a not null parameter.


testGrammarFileNotDefinedException

public void testGrammarFileNotDefinedException()
Tests the message of the GrammarFileNotDefinedException.


testGrammarReaderNotDefinedException

public void testGrammarReaderNotDefinedException()
Tests the message of the GrammarReaderNotDefinedException.


testInputReaderException

public void testInputReaderException()
Tests the message of the InputReaderException.


testInputReaderExceptionNull

public void testInputReaderExceptionNull()
Tests that the exception has to receive a not null parameter.


testInvalidEndingNodeException

public void testInvalidEndingNodeException()
Tests the message of the InvalidEndingNodeException.


testInvalidGraphNodeException

public void testInvalidGraphNodeException()
Tests the message of the InvalidGraphNodeException.


testInvalidGraphStateExceptionFirstPhase

public void testInvalidGraphStateExceptionFirstPhase()
Tests the message of the InvalidGraphStateException for the first phase.


testInvalidGraphStateExceptionNull1

public void testInvalidGraphStateExceptionNull1()
Tests that the exception has to receive a not null parameter.


testInvalidGraphStateExceptionNull2

public void testInvalidGraphStateExceptionNull2()
Tests that the exception has to receive a not null parameter.


testInvalidStartingNodeException

public void testInvalidStartingNodeException()
Tests the message of the InvalidStartingNodeException.


testInvalidTokenException

public void testInvalidTokenException()
Tests the message of the InvalidTokenException.


testNodeNotComesFromStartingNodeException

public void testNodeNotComesFromStartingNodeException()
Tests the message of the NodeNotComesFromStartingNodeException.


testNodeNotComesFromStartingNodeExceptionNull

public void testNodeNotComesFromStartingNodeExceptionNull()
Tests that the exception has to receive a not null parameter.


testNodeNotGoesToEndingNodeException

public void testNodeNotGoesToEndingNodeException()
Tests the message of the NodeNotGoesToEndingNodeException.


testNodeNotGoesToEndingNodeExceptionNull

public void testNodeNotGoesToEndingNodeExceptionNull()
Tests that the exception has to receive a not null parameter.


testNotExistingChildNodeException

public void testNotExistingChildNodeException()
Tests the message of the NotExistingChildNodeException.


testNotExistingChildNodeExceptionNull1

public void testNotExistingChildNodeExceptionNull1()
Tests that the exception has to receive a not null parameter.


testNotExistingChildNodeExceptionNull2

public void testNotExistingChildNodeExceptionNull2()
Tests that the exception has to receive a not null parameter.


testNotExistingNodeException

public void testNotExistingNodeException()
Tests the message of the NotExistingNodeException.


testNotExistingNodeExceptionNull

public void testNotExistingNodeExceptionNull()
Tests that the exception has to receive a not null parameter.


testNullGraphNodeException

public void testNullGraphNodeException()
Tests the message of the NullGraphNodeException.


testOutputWriterException

public void testOutputWriterException()
Tests the message of the OutputWriterException.


testOutputWriterExceptionNull

public void testOutputWriterExceptionNull()
Tests that the exception has to receive a not null parameter.


testGeneralException

public void testGeneralException()
Tests the message of the GeneralException.


testGeneralExceptionNull

public void testGeneralExceptionNull()
Tests that the exception has to receive a not null parameter.


testParameterNullException

public void testParameterNullException()
Tests the message of the ParameterNullException.


testParameterNullExceptionNull

public void testParameterNullExceptionNull()
Tests that the exception has to receive a not null parameter.


testParentStartingNodeException

public void testParentStartingNodeException()
Tests the message of the ParentStartingNodeException.


testReferencingEndingNodeException

public void testReferencingEndingNodeException()
Tests the message of the ReferencingEndingNodeException.


testReferencingEndingNodeExceptionNull

public void testReferencingEndingNodeExceptionNull()
Tests that the exception has to receive a not null parameter.


testReferencingStartingNodeException

public void testReferencingStartingNodeException()
Tests the message of the ReferencingStartingNodeException.


testReferencingStartingNodeExceptionNull

public void testReferencingStartingNodeExceptionNull()
Tests that the exception has to receive a not null parameter.


testStartingNodeNotDefinedException

public void testStartingNodeNotDefinedException()
Tests the message of the StartingNodeNotDefinedException.



Andres Gomez Casanova (AngocA) 2009-2010 Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.