Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
33 0 0 0 100% 0.534

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
pl.innosoft.mathj.parser 2 0 0 0 100% 0.054
pl.innosoft.mathj.compiler 3 0 0 0 100% 0.007
pl.innosoft.mathj 15 0 0 0 100% 0.364
pl.innosoft.mathj.analyzer 5 0 0 0 100% 0.031
pl.innosoft.util 2 0 0 0 100% 0.051
pl.innosoft.mathj.factory 6 0 0 0 100% 0.027

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

pl.innosoft.mathj.parser

Class Tests Errors Failures Skipped Success Rate Time
MathSheetXmlParserTest 2 0 0 0 100% 0.054

pl.innosoft.mathj.compiler

Class Tests Errors Failures Skipped Success Rate Time
DefaultExpressionCompilerTest 3 0 0 0 100% 0.007

pl.innosoft.mathj

Class Tests Errors Failures Skipped Success Rate Time
MathSheetStubTest 1 0 0 0 100% 0.321
MathSheetTest 1 0 0 0 100% 0.001
ParametrizedExpressionStubTest 1 0 0 0 100% 0.005
ParametrizedExpressionTest 4 0 0 0 100% 0.003
ReversePolishNotationManagerTest 4 0 0 0 100% 0.006
SolverTest 4 0 0 0 100% 0.028

pl.innosoft.mathj.analyzer

Class Tests Errors Failures Skipped Success Rate Time
MathSheetDefaultAnalyzerTest 3 0 0 0 100% 0.017
ParametrizedExpressionAnalyzerTest 1 0 0 0 100% 0.012
SimpleExpressionAnalyzerTest 1 0 0 0 100% 0.002

pl.innosoft.util

Class Tests Errors Failures Skipped Success Rate Time
DependencyResolverTest 2 0 0 0 100% 0.051

pl.innosoft.mathj.factory

Class Tests Errors Failures Skipped Success Rate Time
StandardMathSheetFactoryTest 4 0 0 0 100% 0.017
XMLMathSheetFactoryTest 2 0 0 0 100% 0.01

Test Cases

MathSheetDefaultAnalyzerTest

testValidateMathSheet_simple 0.006
testValidateMathSheet_mock 0.004
testValidateMathSheetWithEquationName 0.004

ParametrizedExpressionAnalyzerTest

testIsValid 0.007

SimpleExpressionAnalyzerTest

testIsValid 0.001

DefaultExpressionCompilerTest

testCompile 0.002
testCompileThrowingLexerException 0.001
testCompileThrowingParserException 0

StandardMathSheetFactoryTest

testCreateMathSheet_createEmptyMathSheet 0.003
testDefineEquation 0
testDeclareParameter 0
testDeclareParameter_throwingMathSheetFactoryException 0

XMLMathSheetFactoryTest

testCreateMathSheet 0.002
testCreateMathSheet_throwingMathSheetFactoryException 0.005

MathSheetStubTest

testMathSheetMemoryMock 0.291

MathSheetTest

testDefineEquation 0

ParametrizedExpressionStubTest

testParametrizedEquationMemoryMock 0

ParametrizedExpressionTest

testGetParameter 0.001
testGetParametersNames 0
testClearParameter 0
testClearAllParameters 0

MathSheetXmlParserTest

testParseFile 0.046
testParseFileThrowingMathSheetParserException 0.002

ReversePolishNotationManagerTest

testSolveStack 0.002
testIsBinaryOperator 0
testIsUnaryOperator 0
testIsNumber 0.001

SolverTest

testSolveSimpleEquation 0.005
testSolveParametrizedEquation 0.001
testSolveSimpleEquation_throwingEquationException 0.002
testSolveMathSheetEquation 0.017

DependencyResolverTest

testIsCyclic 0.047
testAreNodesDependent 0