Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
22 0 0 0 100% 1.304

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
dev.oak3.sbs4j.util 8 0 0 0 100% 0.014
dev.oak3.sbs4j 14 0 0 0 100% 1.29

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

dev.oak3.sbs4j.util

Class Tests Errors Failures Skipped Success Rate Time
ByteUtilsTest 8 0 0 0 100% 0.014

dev.oak3.sbs4j

Class Tests Errors Failures Skipped Success Rate Time
DeserializerBufferTest 6 0 0 0 100% 0.03
SerializerBufferTest 8 0 0 0 100% 1.26

Test Cases

[Summary] [Package List] [Test Cases]

DeserializerBufferTest

validateDeserialize_BIG_ENDIAN_with_SampleData 0.013
deserializeCircle_should_match_expected_object 0.002
validateDeserialize_LITTLE_ENDIAN_with_SampleData 0.007
dataWithWrongInputLength_should_throw_BufferUnderflowException 0.003
deserializePolygon_should_match_expected_object 0.001
deserializePoint_should_match_expected_object 0.001

SerializerBufferTest

serializePoint_should_match_expected_array 0.06
validateSerialize_with_SampleData 0.006
dataOutOfBounds_should_throw_ValueSerializationException 0.007
validateSerialize_BIG_ENDIAN_with_SampleData 0.002
validateSerialize_with_large_data_without_buffer_overflow 0.004
serializeCircle_should_match_expected_array 0.003
serializePolygon_should_match_expected_array 0.003
numbersShouldBeInsideTheirTypeBounds 0.002

ByteUtilsTest

reverseEmptyByteArray 0.001
reverseOddByteArray 0
reverseEvenByteArrayRange_from_1_to_2 0.001
reverseEvenByteArrayRange_from_1_to_3 0.001
reverseOneElementByteArray 0.001
reverseEvenByteArray 0
reverseOddByteArrayRange_from_0_to_4 0
reverseOddByteArrayRange_from_1_to_4 0