Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
137 0 0 0 100% 3.636

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.puresoltechnologies.parsers.parser.lr 21 0 0 0 100% 0.055
com.puresoltechnologies.parsers.lexer 14 0 0 0 100% 0.173
com.puresoltechnologies.parsers 3 0 0 0 100% 0.96
com.puresoltechnologies.parsers.source 5 0 0 0 100% 1.208
com.puresoltechnologies.parsers.parser.packrat 19 0 0 0 100% 0.513
com.puresoltechnologies.parsers.parser.parsetable 11 0 0 0 100% 0.001
com.puresoltechnologies.parsers.parser.functions 13 0 0 0 100% 0.025
com.puresoltechnologies.parsers.parser 5 0 0 0 100% 0
com.puresoltechnologies.parsers.parser.items 6 0 0 0 100% 0
com.puresoltechnologies.parsers.grammar 24 0 0 0 100% 0.434
com.puresoltechnologies.parsers.grammar.production 9 0 0 0 100% 0.004
com.puresoltechnologies.parsers.grammar.uhura 7 0 0 0 100% 0.263

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

com.puresoltechnologies.parsers.parser.lr

Class Tests Errors Failures Skipped Success Rate Time
LR1ParserTest 2 0 0 0 100% 0
LR0StateTransitionsTest 1 0 0 0 100% 0
LALR1ParserTest 1 0 0 0 100% 0.016
LR0ParserTableTest 2 0 0 0 100% 0
LR1StateTransitionsTest 1 0 0 0 100% 0
LALR1ParserTableTest 1 0 0 0 100% 0.01
LR1ParserTableTest 2 0 0 0 100% 0.002
AbstractLRParserTest 1 0 0 0 100% 0
LALR1ItemSetCollectionTest 1 0 0 0 100% 0.009
SLR1ParserTableTest 2 0 0 0 100% 0.002
SLR1ParserTest 2 0 0 0 100% 0.011
LR0ItemSetCollectionTest 3 0 0 0 100% 0.005
LR1ItemSetCollectionTest 2 0 0 0 100% 0

com.puresoltechnologies.parsers.lexer

Class Tests Errors Failures Skipped Success Rate Time
SourceCodeTest 2 0 0 0 100% 0.007
TokenMetaDataTest 3 0 0 0 100% 0
TokenTest 3 0 0 0 100% 0.164
TokenStreamTest 2 0 0 0 100% 0.001
RegExpLexerTest 2 0 0 0 100% 0.001
SourceCodeLineTest 2 0 0 0 100% 0

com.puresoltechnologies.parsers

Class Tests Errors Failures Skipped Success Rate Time
SpeedTest 3 0 0 0 100% 0.96

com.puresoltechnologies.parsers.source

Class Tests Errors Failures Skipped Success Rate Time
SourceCodeLocationSerializationTest 4 0 0 0 100% 0.156
SourceCodeTest 1 0 0 0 100% 1.052

com.puresoltechnologies.parsers.parser.packrat

Class Tests Errors Failures Skipped Success Rate Time
MemoEntryTest 4 0 0 0 100% 0
PackratParserExtTest 5 0 0 0 100% 0.331
PackratParserTest 10 0 0 0 100% 0.182

com.puresoltechnologies.parsers.parser.parsetable

Class Tests Errors Failures Skipped Success Rate Time
ParserActionTest 3 0 0 0 100% 0.001
ParserActionSetTest 4 0 0 0 100% 0
ActionTypeTest 4 0 0 0 100% 0

com.puresoltechnologies.parsers.parser.functions

Class Tests Errors Failures Skipped Success Rate Time
Closure0Test 2 0 0 0 100% 0.001
FirstTest 4 0 0 0 100% 0.017
Closure1Test 2 0 0 0 100% 0.001
FollowTest 3 0 0 0 100% 0.001
Goto1Test 1 0 0 0 100% 0.001
Goto0Test 1 0 0 0 100% 0.004

com.puresoltechnologies.parsers.parser

Class Tests Errors Failures Skipped Success Rate Time
ParserTreeMetaDataTest 4 0 0 0 100% 0
AbstractParserTest 1 0 0 0 100% 0

com.puresoltechnologies.parsers.parser.items

Class Tests Errors Failures Skipped Success Rate Time
LR1ItemTest 3 0 0 0 100% 0
LR0ItemTest 3 0 0 0 100% 0

com.puresoltechnologies.parsers.grammar

Class Tests Errors Failures Skipped Success Rate Time
QuantityTest 4 0 0 0 100% 0
TestGrammarsTest 5 0 0 0 100% 0.022
TestGrammars 1 0 0 0 100% 0.001
GrammarExceptionTest 2 0 0 0 100% 0
GrammarManagerTest 1 0 0 0 100% 0
GrammarFileTest 1 0 0 0 100% 0.117
GrammarReaderTest 7 0 0 0 100% 0.292
GrammarTest 3 0 0 0 100% 0.002

com.puresoltechnologies.parsers.grammar.production

Class Tests Errors Failures Skipped Success Rate Time
DummyTerminalTest 1 0 0 0 100% 0
TerminalTest 4 0 0 0 100% 0
NonTerminalTest 2 0 0 0 100% 0
FinishTerminalTest 1 0 0 0 100% 0.004
EmptyTerminalTest 1 0 0 0 100% 0

com.puresoltechnologies.parsers.grammar.uhura

Class Tests Errors Failures Skipped Success Rate Time
UhuraGrammarTest 7 0 0 0 100% 0.263

Test Cases

[Summary] [Package List] [Test Cases]

MemoEntryTest

testInitialValuesForSuccess 0
testInitialValuesForFailure 0
testCompareTo 0
testFactoryMethods 0

SourceCodeTest

testRead 0.007
testInstance 0

QuantityTest

testAcceptMany 0
testExpectMany 0
testACCEPT 0
testExpect 0

LR1ParserTest

testComplex 0
testSimple 0

TestGrammarsTest

testGrammarFromLR1Pamphlet 0.014
testgetSLR1TestGrammarFromDragonBook 0
testLALR1TestGrammarFromDragonBook 0
testLLGrammarFromDragonBook 0.008
testLR1TestGrammarFromDragonBook 0

DummyTerminalTest

testSingleton 0

TestGrammars

test 0.001

GrammarExceptionTest

testInitValues 0
testInstance 0

ParserTreeMetaDataTest

testToString 0
testInitValues 0
testInstance 0
testEquals 0

LR0StateTransitionsTest

test 0

LALR1ParserTest

testSimple 0.016

SourceCodeLocationSerializationTest

testSourceFileLocation 0.02
testUnspecifiedSourceCodeLocation 0.006
testURLSourceCodeLocation 0.124
testFixedCodeLocation 0.006

LR0ParserTableTest

test 0
test2 0

TerminalTest

testMatches 0
testInstance 0
testEquals 0
testInitialValues 0

ParserActionTest

testCompareTo 0.001
testInitialValue 0
testInstance 0

LR1StateTransitionsTest

testLR1Grammar 0

ParserActionSetTest

testDefaultValues 0
testAddAction 0
testActionSorting 0
testInstance 0

GrammarManagerTest

testURLHandlingForClass 0

TokenMetaDataTest

testClone 0
testInitValues 0
testInstance 0

GrammarFileTest

testRead 0.117

TokenTest

testClone 0.163
testInstance 0
testInitialValues 0.001

SpeedTest

testLists 0.112
testMaps 0.015
testSets 0.833

PackratParserExtTest

test1 0.171
test2 0.059
test3 0.029
test4 0.027
test5 0.045

ActionTypeTest

testConstantNumber 0
testSort 0
testToString 0
testCompareTo 0

LALR1ParserTableTest

testDragonBookGrammar 0.01

Closure0Test

testFromDragonBook 0
testFromLR1Pamphlet 0.001

LR1ParserTableTest

testDragonBookGrammar 0.001
testLRPamphletGrammar 0.001

TokenStreamTest

testInitValues 0
testInstance 0.001

UhuraGrammarTest

testFirst 0.004
testLR1TransitionTable 0.057
testLR0TransitionTable 0.045
test 0.009
testSLR1ParseTable 0.094
testLR1ParseTable 0.05
testFollow 0.004

LR1ItemTest

testGetters 0
testInstance 0
testInitialValues 0

FirstTest

testDragonBookGrammar 0.009
testDragonBookLLGrammar 0.008
testLRPamphletGrammar 0
testFirstForLALR1GrammarStartItem 0

SourceCodeTest

testSerialization 1.052

AbstractLRParserTest

testCloningPreconditions 0

LALR1ItemSetCollectionTest

testDragonBookGrammar 0.009

SLR1ParserTableTest

testDragonBookGrammar 0.001
testLRPamphletGrammar 0.001

GrammarReaderTest

testAutoConstructionOptionalList 0.079
testAutoConstructionOptionalPart 0.036
testReadTestGrammar 0.035
testInitValues 0.02
testAutoConstructionList 0.034
testInstance 0.018
testReadAutoGeneration 0.07

NonTerminalTest

testInstance 0
testInitialValues 0

GrammarTest

testInvalidInstance 0
testSettersAndGetters 0.002
testInstance 0

SLR1ParserTest

testComplex 0.009
testSimple 0.002

FinishTerminalTest

testSingleton 0.004

RegExpLexerTest

testFindNextToken 0
test 0.001

LR0ItemTest

testGetters 0
testInstance 0
testInitialValues 0

EmptyTerminalTest

testSingleton 0

Closure1Test

testForGrammarFromLR1Pamphlet 0
testClosureForLALR1StartItem 0.001

LR0ItemSetCollectionTest

testDragonBookGrammar 0.002
testDragonBookGrammar2 0.001
testLRPamphletGrammar 0.002

FollowTest

testDragonBookGrammar 0
testLLDragonBookGrammar 0.001
testLRPamphletGrammar 0

Goto1Test

test 0.001

LR1ItemSetCollectionTest

testDragonBookGrammar 0
testLRPamphletGrammar 0

Goto0Test

test 0.004

AbstractParserTest

testCloningPreconditions 0

PackratParserTest

testDirectRecursionWithEmpty 0.008
testNestedRecursions 0.092
testSampleParse 0.021
testDirectRecursion 0.006
testPatternAndMatcherForCertainBehavior 0
testProcessWhitespaces 0
testInstance 0
testEquation 0.019
testEquation2 0.033
testIndirectRecursion 0.003

SourceCodeLineTest

testGetters 0
testInstance 0