Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
145 0 0 0 100% 3.299

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
name.angoca.db2sa.core.executer 1 0 0 0 100% 0.004
name.angoca.db2sa 6 0 0 0 100% 0.343
name.angoca.db2sa.core 15 0 0 0 100% 0.742
name.angoca.db2sa.core.syntax 27 0 0 0 100% 1.392
name.angoca.db2sa.core.syntax.graph 55 0 0 0 100% 0.454
name.angoca.db2sa.readers 2 0 0 0 100% 0.044
name.angoca.db2sa.messages 1 0 0 0 100% 0.005
name.angoca.db2sa.core.lexical 38 0 0 0 100% 0.315

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

name.angoca.db2sa.core.executer

Class Tests Errors Failures Skipped Success Rate Time
ExecuterTest 1 0 0 0 100% 0.004

name.angoca.db2sa

Class Tests Errors Failures Skipped Success Rate Time
ConfiguratorTest 3 0 0 0 100% 0.051
MainTest 3 0 0 0 100% 0.292

name.angoca.db2sa.core

Class Tests Errors Failures Skipped Success Rate Time
InterfaceCoreTest 5 0 0 0 100% 0.706
ReturnOptionsTest 10 0 0 0 100% 0.036

name.angoca.db2sa.core.syntax

Class Tests Errors Failures Skipped Success Rate Time
GraphAnswerTest 7 0 0 0 100% 0.042
ImplSyntaxAnalyzerTest 20 0 0 0 100% 1.35

name.angoca.db2sa.core.syntax.graph

Class Tests Errors Failures Skipped Success Rate Time
EndingTokenTest 9 0 0 0 100% 0.04
GraphConstructorTest 14 0 0 0 100% 0.296
GraphTokenTest 23 0 0 0 100% 0.085
StartingTokenTest 9 0 0 0 100% 0.033

name.angoca.db2sa.readers

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationReaderTest 1 0 0 0 100% 0.017
GrammarReaderTest 1 0 0 0 100% 0.027

name.angoca.db2sa.messages

Class Tests Errors Failures Skipped Success Rate Time
MessagesTest 1 0 0 0 100% 0.005

name.angoca.db2sa.core.lexical

Class Tests Errors Failures Skipped Success Rate Time
ImplLexicalAnalyzerTest 31 0 0 0 100% 0.28
TokenTest 7 0 0 0 100% 0.035

Test Cases

ConfiguratorTest

testGetInstanceNoFile 0.003
testGetInstanceConfFileTest 0.03
testGetInstanceConf 0.012

ExecuterTest

testExecute 0.001

InterfaceCoreTest

testExecute 0.618
testAnalyzePhraseComplete1 0.001
testAnalyzePhraseComplete2 0.002
testAnalyzePhraseOptions1 0.002
testExecuteQuit 0.013

ImplLexicalAnalyzerTest

testCcreateTab 0.029
testCloseFirstParenthesis 0.003
testComma 0.001
testConvertionCrea 0.003
testConvertionCreateTab 0.002
testCreaPhrase1 0.001
testCreaPhrase2 0.001
testCreaPhrase3 0.001
testCreaPhrase4 0.001
testCreateCommand 0.001
testCreateTableCommand1 0.001
testCreateTableCommand2 0.001
testCreateTableCommand3 0
testCreateTableCommand4 0.001
testCreateTableTableNameCommand 0.005
testCTtnParenthesis 0.003
testCTtnSpaceParenthesis 0.005
testDataType 0.004
testEmptyString1 0.002
testEmptyString2 0.001
testEmptyString3 0
testInvalidCommand1 0.004
testInvalidCommand2 0.001
testPrecision 0.006
testSecondColumn 0.001
testSeveralOptionsAfterColumn 0.003
testSpace1 0.001
testSpace2 0.001
testSpace3 0.001
testValidCommand1 0.004
testValidCommand2 0.003

TokenTest

testCreation 0.002
testHashCode 0
testHashCodeIdenticalObject 0
testHashCodeDifferentObject 0.001
testEqualsNull 0.001
testEqualsIdenticalObject 0.001
testEqualsDifferentObject 0

ReturnOptionsTest

testHashCode 0.001
testHashCodeIdentical 0
testHashCodeDifferent 0
testEqualsObjectNull 0
testEqualsObjectIdentical 0.001
testEqualsObjectDifferent 0
testGetOptions 0
testGetPhrases 0.001
testToString1 0
testToString2 0.001

EndingTokenTest

testDifferentStartingNodeHashCode 0
testDifferentZeroHashCode 0
testEqualsTokenNotReserved 0.001
testEqualsTokenReserved 0.001
testNullEqualsObject 0
testOtherTypeEqualsObject 0
testSameEqualsObject 0
testSameHashCode 0
testToString 0

GraphConstructorTest

testBuild 0.015
testBuildNoEndingNode 0.013
testBuildDuplicatedNode 0.011
testBuildNotAllChildren 0.009
testBuildEmptyFile 0.057
testBuildUnknownStructure 0.015
testBuildInvalidStructure 0.009
testBuildNoNodes 0.024
testBuildStartingNode 0.009
testBuildNoName 0.01
testBuildNoId 0.017
testBuildNotConnectedGraph 0.015
testBuildNoAboutToken 0.039
testBuildNoHelpToken 0.022

GraphTokenTest

testEqualsNull 0.001
testHashCodeDifferent 0.001
testInvalidName 0
testEqualsDifferentChildren 0.002
testEqualsDifferentMixed 0
testEqualsDifferentNotReserved 0.003
testEqualsDifferentReserved 0.001
testEqualsMoreChildren 0.001
testEqualsNotReserved 0
testEqualsOtherObject 0
testEqualsReserved 0.018
testEqualsSameChildren 0
testHashCodeDifferentWithChildren 0.001
testHashCodeIdenticalNotReserved 0.001
testHashCodeIdenticalReserved 0
testRepresentCapitalReservedFalse 0.002
testRepresentCapitalReservedTrue 0.003
testRepresentNotReservedTrue 0
testRepresentReservedFalse 0
testRepresentReservedTrue 0.001
testToStringNotReserved 0.001
testToStringReserved 0.001
testToStringWithChildren 0

StartingTokenTest

testDifferentStartingNodeHashCode 0.002
testDifferentZeroHashCode 0.001
testEqualsTokenNotReserved 0
testEqualsTokenReserved 0.001
testNullEqualsObject 0
testOtherTypeEqualsObject 0.001
testSameEqualsObject 0.001
testSameHashCode 0.001
testToString 0.001

GraphAnswerTest

testHashCode 0.001
testEqualsNull 0.001
testHashCodeIdentical 0.002
testHashCodeDifferent 0.003
testToString 0.002
testEqualsObjectTrue 0.001
testEqualsObjectFalse 0.001

ImplSyntaxAnalyzerTest

testGetOptions0 0.042
testGetOptions0options 0.005
testGetOptions0phrase 0.001
testGetOptions1 0.002
testGetOptions1options 0.002
testGetOptions1phrase 0.002
testGetOptions2 0.002
testGetOptions2options 0.002
testGetOptions2phrase 0.002
testGetOptions3 0.001
testGetOptions3options 0.001
testGetOptions3phrase 0.001
testGetOptions4 0.001
testGetOptions4options 0.002
testGetOptions4phrase 0.001
testGetOptions5 0.004
testGetOptions6 0.001
testGetOptions7 0.002
testInvalidFirstToken 0.001
testInvalidSecondToken 0

MainTest

testGetController 0.083
testPrepareJline 0.179
testPrepareSystem 0.025

MessagesTest

testGetStringNotExistant 0

ConfigurationReaderTest

testReadFile 0.013

GrammarReaderTest

testReadNoFileDefined 0.021