Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
168 0 0 0 100% 1.832 s

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
- 2 0 0 0 100% 0.204 s
de.powerstat.phplib.templateengine.test 97 0 0 0 100% 0.472 s
de.powerstat.phplib.templateengine.intern.test 69 0 0 0 100% 1.156 s

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

-

- Class Tests Errors Failures Skipped Success Rate Time
TemplateEngine 2 0 0 0 100% 0.204 s

de.powerstat.phplib.templateengine.test

- Class Tests Errors Failures Skipped Success Rate Time
HandleUndefinedTests 1 0 0 0 100% 0.016 s
TemplateEngineTests 96 0 0 0 100% 0.456 s

de.powerstat.phplib.templateengine.intern.test

- Class Tests Errors Failures Skipped Success Rate Time
BlockManagerTests 12 0 0 0 100% 0.983 s
FileManagerTests 20 0 0 0 100% 0.053 s
VariableManagerTests 37 0 0 0 100% 0.120 s

Test Cases

[Summary] [Package List] [Test Cases]

BlockManagerTests

testToString 0.889 s
testConstructor1 0.003 s
testConstructor2 0.001 s
testSetBlock1 0.002 s
testSetBlock2 0.010 s
testSetBlock3 0.002 s
testSetBlock4 0.002 s
testSetBlock5 0.002 s
testSetBlock6 0.002 s
testSetBlock7 0.001 s
testHashCode 0.008 s
testEquals 0.004 s

FileManagerTests

testConstructor1 0.001 s
testConstructor2 0.002 s
testAddFile1 0.002 s
testAddFile2 0.001 s
testAddFile3 0.001 s
testAddFile4 0.001 s
testAddFile5 0.002 s
testHashCode 0.001 s
testEquals 0.004 s
testExistsFile1 0.001 s
testExistsFile2 0.001 s
testExistsFile3 0.001 s
testExistsFile4 0.002 s
testExistsFile5 0.002 s
testToString1 0.002 s
testToString2 0.001 s
testLoadFile1 0.001 s
testLoadFile2 0.001 s
testLoadFile3 0.002 s
testLoadFile4 0.005 s

VariableManagerTests

testGetVars1 0.005 s
testGetVars2 0.001 s
testToString 0.001 s
testConstructor1 0.001 s
testConstructor2 0.001 s
testGetUndefined1 0.001 s
testGetUndefined2 0.001 s
testGetUndefined3 0.001 s
testGetUndefined4 0.001 s
testExistsVar1 0.001 s
testExistsVar2 0.001 s
testExistsVar3 0.001 s
testExistsVar4 0.001 s
testGetVar1 0.001 s
testGetVar2 0.001 s
testGetVar3 0.001 s
testGetVar4 0.002 s
testUnsetVar1 0.001 s
testUnsetVar2 0.001 s
testUnsetVar3 0.001 s
testUnsetVar4 0.001 s
testHashCode 0.001 s
testEquals 0.003 s
testSetVar1 0.001 s
testSetVar2 0.001 s
testSetVar3 0.001 s
testParse1 0.035 s
testParse2 0.002 s
testParse3 0.002 s
testParse4 0.008 s
testParse5 0.003 s
testParse6 0.003 s
testSubst1 0 s
testSubst2 0.001 s
testSubst3 0.001 s
testSubst4 0.001 s
testSubst5 0.001 s

TemplateEngine

A template with a variable to replace with content 0.195 s
A template with a block to replace with content 0.009 s

HandleUndefinedTests

testGetAction 0.015 s

TemplateEngineTests

testNewInstanceFileFromDirectory 0.004 s
testParseAppend 0.007 s
testSetVarNull 0.005 s
testSetBlockNameMaxLength 0.001 s
testSetEmptyVar 0.002 s
testParseEmpty 0.004 s
testParseMixed 0.004 s
testNewInstanceString 0.003 s
testUnsetVarToLong 0.002 s
testSetVarWrongName 0.001 s
testCopyConstructor 0.001 s
testSubstEmpty 0.002 s
testNewInstanceInputStream 0.006 s
testSetVarToLarge 0.036 s
testParseProblem 0.013 s
testSubst 0.004 s
testFinishToLarge 0.005 s
testParseTargetToLong 0.005 s
testSetFileMaxLength 0.001 s
testGetUndefinedMaxLength 0.001 s
testToString 0.001 s
testParseTargetMaxLength 0.003 s
testSetFileWrongname 0.002 s
testDoubleOpenCurlyBrace 0.003 s
testGetUndefinedWrongName 0.001 s
testSubstEmptyFile 0.002 s
testSetBlockEmpty 0.001 s
testSetBlockMixed 0.002 s
testGetUndefined1 0.003 s
testGetUndefined2 0.005 s
testParseVarnameWrong 0.004 s
testUnsetVarMaxLength 0.020 s
testParseVarnameMaxLength 0.003 s
testGetKeep 0.024 s
testGetVars 0.002 s
testNewInstanceStringToLarge 0.005 s
testUnsetVarEmpty 0.001 s
testNewInstanceInputStreamEmpty 0.004 s
testNewInstanceFileToLarge 0.005 s
testUnsetVarWrongName 0.003 s
testSetBlockVarnameWrong 0.001 s
testNewInstanceInputStreamNull 0.001 s
testSetFileToLong 0.002 s
testReadNonExisting 0.003 s
testNewInstanceFile1 0.004 s
testSubstMaxLength 0.001 s
testParseNonAppend 0.006 s
testGetVarMaxLong 0.001 s
testSetVarEmpty 0.005 s
testSetBlockParentMaxLength2 0.002 s
testGetVarEmpty 0.002 s
testSubstWrongName 0.002 s
testSetBlockNameWrong 0.001 s
testNewInstanceStringNull 0.002 s
testGetVarToLong 0.003 s
testGetUndefinedFromEmptyFile 0.002 s
testSetBlockVarnameToLong 0.001 s
testSetBlockFailure 0.004 s
testToLargeTemplate 0.003 s
testSetBlockVarnameMaxLength 0.001 s
testParseTargetWrong 0.010 s
testFinishEmpty 0.002 s
testNewInstanceFileNonExisting 0.001 s
testSetBlockParentToLong 0.001 s
testSetBlockParentMaxLength 0 s
testUnsetVar 0.003 s
testSetBlockParentWrong 0.002 s
testSetVarMaxLong 0.001 s
testFinishMaxSize 0.061 s
testNewInstanceFileNull 0.001 s
testGetUndefinedEmpty 0.001 s
testHashCode 0.001 s
testParseVarnameToLong 0.004 s
testGetUndefinedToLong 0.003 s
testSubstNull 0.001 s
testGetVarsEmpty 0 s
testSetFileEmpty 0.001 s
testGetComment 0.004 s
testEquals 0.005 s
testSetBlockNameToLong 0.001 s
testSetFileToLarge 0.002 s
testGetRemoved 0.005 s
testReadFromClasspath 0.005 s
testSubstToLong 0.002 s
testSetFile 0.002 s
testNewInstanceStringMaxSize 0.005 s
testSetVar 0.004 s
testNewInstanceFileMaxSize 0.001 s
testNewInstanceStringEmpty 0.001 s
testNewInstanceCopy 0.004 s
testGetVarWrongName 0.001 s
testSetBlockEmptyFile 0.002 s
testSetVarToLong 0.001 s
testSetVarMaxLarge 0.004 s
testDefaultConstructor 0.001 s
testSetBlock 0.002 s