Apache Commons logo Apache Commons Geometry

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
156 0 0 0 100% 0.34

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
org.apache.commons.geometry.io.core.output 8 0 0 0 100% 0.01
org.apache.commons.geometry.io.core.input 12 0 0 0 100% 0.072
org.apache.commons.geometry.io.core.internal 101 0 0 0 100% 0.142
org.apache.commons.geometry.io.core.utils 4 0 0 0 100% 0.007
org.apache.commons.geometry.io.core 31 0 0 0 100% 0.109

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

org.apache.commons.geometry.io.core.output

Class Tests Errors Failures Skipped Success Rate Time
StreamGeometryOutputTest 4 0 0 0 100% 0.004
FileGeometryOutputTest 4 0 0 0 100% 0.006

org.apache.commons.geometry.io.core.input

Class Tests Errors Failures Skipped Success Rate Time
StreamGeometryInputTest 4 0 0 0 100% 0.004
FileGeometryInputTest 4 0 0 0 100% 0.059
UrlGeometryInputTest 4 0 0 0 100% 0.009

org.apache.commons.geometry.io.core.internal

Class Tests Errors Failures Skipped Success Rate Time
SimpleTextParserTest 61 0 0 0 100% 0.079
CharReadBufferTest 16 0 0 0 100% 0.018
GeometryIOUtilsTest 24 0 0 0 100% 0.045

org.apache.commons.geometry.io.core.utils

Class Tests Errors Failures Skipped Success Rate Time
AbstractTextFormatWriterTest 4 0 0 0 100% 0.007

org.apache.commons.geometry.io.core

Class Tests Errors Failures Skipped Success Rate Time
BoundaryIOManagerTest 31 0 0 0 100% 0.109

Test Cases

[Summary] [Package List] [Test Cases]

StreamGeometryInputTest

testToString 0.001
testCtor_allArgs 0.001
testCtor_stream 0.001
testCtor_streamAndFileName 0.001

SimpleTextParserTest

testParseError_currentLineCol 0.002
testCharacterPredicates 0.005
testHasMoreCharactersOnLine 0.001
testChooseIgnoreCase_failure 0.002
testTryMatch_noToken 0.001
testNext_lenArg_invalidArg 0.001
testTryMatch 0
testParseError_currentLineCol_withCause 0.001
testUnexpectedToken_causeArg 0.002
testMaxStringLength_illegalArg 0.001
testPeek_lenArg 0.001
testDiscardWhitespace 0.001
testChooseIgnoreCase 0.001
testCharacterPosition_givenPosition 0
testMatch 0
testMaxStringLength_defaultValue 0
testDiscardWithLineContinuation_lenArg 0.001
testUnexpectedToken_ioError 0.001
testNext_predicateArg 0.002
testDiscardLine 0
testPeek_predicateArg 0.001
testTokenError 0
testTokenError_noTokenSet 0.001
testNextAlphanumeric 0
testDiscard_predicateArg 0.002
testDiscardLineWhitespace 0
testParseError_givenLineCol 0
testBasicTokenMethods 0.001
testMatch_ignoreCase 0
testTryMatchIgnoreCase 0.001
testGetCurrentTokenAsInt_failures 0.003
testTryChoose 0.001
testTryChoose_noToken 0.001
testParseError_givenLineCol_withCause 0
testNext_lenArg 0
testPeek_predicateArg_exceedsMaxStringLength 0.001
testNextWithLineContinuation_predicateArg 0.003
testGetCurrentTokenAsDouble 0
testTokenError_withCause 0
testGetCurrentTokenAsInt 0.001
testTryChooseIgnoreCase 0
testPeek_lenArg_invalidArg 0.001
testTryMatchIgnoreCase_noToken 0
testGetCurrentTokenAsDouble_includedNumberFormatExceptionOnFailure 0
testUnexpectedToken 0
testChoose 0
testGetCurrentTokenAsDouble_failures 0.003
testNextWithLineContinuation_lenArg 0
testDiscardNewLineSequence 0
testDiscard_lenArg 0.001
testCharacterPosition 0
testHasMoreCharacters 0.001
testGetCurrentTokenAsInt_includedNumberFormatExceptionOnFailure 0.001
testChoose_failure 0.001
testMatch_failure 0.001
testDiscardWithLineContinuation_predicateArg 0.001
testNext_predicateArg_exceedsMaxStringLength 0.001
testTryChooseIgnoreCase_noToken 0.001
testMatchIgnoreCase_failure 0.002
testCharacterSequence 0
testNextLine 0

FileGeometryInputTest

testCtor_fileAndCharset 0.049
testToString 0.001
testCtor_fileOnly 0.001
testGetInputStream 0.005

CharReadBufferTest

testReadPeek_string 0
testCtor 0.001
testSkip 0
testSkip_invalidArg 0.001
testReadPeek_string_invalidArg 0.001
testCharAt_invalidArg 0.001
testPushString_emptyReader 0.001
testPush_emptyReader 0.001
testAlternatingPushAndRead 0.002
testPeekRead 0.001
testReadPeek_failure 0.002
testPushString_nonEmptyReader 0.001
testReadPeek_tring_zeroLen 0.001
testSkip_failure 0.001
testCharAt 0
testHasMoreCharacters 0

StreamGeometryOutputTest

testToString 0.001
testCtor_allArgs 0
testCtor_stream 0
testCtor_streamAndFileName 0

AbstractTextFormatWriterTest

testWrite_customConfig 0.002
testWrite_failure 0.001
testDefaults 0.001
testWrite_defaultConfig 0.001

BoundaryIOManagerTest

testUnregisterWriteHandler 0.031
testRead_formatGiven 0.003
testRegisterReadHandler_multipleFileExtensions 0.001
testGetReadFormats_empty 0.001
testRequireWriteHandler 0.007
testRead_handlerNotFound 0.003
testGetWriteFormats 0.002
testWrite_noFormatGiven 0.001
testRequireReadHandler 0.003
testRegisterReadHandler_nullAndMissingFileExt 0.001
testRead_noFormatGiven 0
testWrite_formatGiven 0.001
testUnregisterReadHandler_argsNotRegistered 0.001
testRegisterWriteHandler_multipleFileExtensions 0.001
testUnregisterReadHandler 0
testGetReadHandlerForFormat 0.001
testBoundaries_handlerNotFound 0.002
testWrite_handlerNotFound 0.001
testRegisterReadHandler_illegalArgs 0.001
testGetReadFormats 0.001
testUnregisterWriteHandler_argsNotRegistered 0.001
testBoundaries_noFormatGiven 0.001
testGetWriteHandlerForFileExtension 0
testGetWriteFormats_empty 0
testBoundaries_formatGiven 0
testGetReadHandlerForFileExtension 0
testRegisterWriteHandler 0
testRegisterWriteHandler_illegalArgs 0.001
testRegisterReadHandler 0.001
testRegisterWriteHandler_nullAndMissingFileExt 0
testGetWriteHandlerForFormat 0

FileGeometryOutputTest

testCtor_fileAndCharset 0.001
testToString 0.001
testGetOutputStream 0.002
testCtor_fileOnly 0.001

GeometryIOUtilsTest

testCreateBufferedWriter_givenCharset 0.001
testTryApplyCloseable_supplierThrows_runtimeException 0.002
testAcceptUnchecked_failure 0.006
testGetFileName_path 0
testTryApplyCloseable 0.001
testCreateBufferedWriter_defaultCharset 0.01
testGetUnchecked 0.001
testApplyAsIntUnchecked 0.002
testCreateBufferedReader_givenCharset 0.001
testCreateCloseableStream_closeThrows 0.002
testCreateBufferedReader_defaultCharset 0
testGetFileName_string 0
testParseError_noCause 0
testTryApplyCloseable_functionThrows 0.001
testGetUnchecked_failure 0.001
testCreateUnchecked 0.001
testParseError_withCause 0.001
testGetFileExtension 0
testCreateCloseableStream 0.002
testTryApplyCloseable_supplierThrows_ioException 0.001
testApplyAsIntUnchecked_failure 0.001
testTryApplyCloseable_functionThrows_inputCloseThrows 0.002
testGetFileName_url 0.001
testAcceptUnchecked 0.001

UrlGeometryInputTest

testCtor_fileAndCharset 0.001
testToString 0.002
testCtor_fileOnly 0.001
testGetInputStream 0.002