Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.036
dev.oak3.sbs4j 14 0 0 0 100% 0.977

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.036

dev.oak3.sbs4j

Class Tests Errors Failures Skipped Success Rate Time
DeserializerBufferTest 6 0 0 0 100% 0.044
SerializerBufferTest 8 0 0 0 100% 0.933

Test Cases

[Summary] [Package List] [Test Cases]

DeserializerBufferTest

validateDeserialize_BIG_ENDIAN_with_SampleData 0.014
deserializeCircle_should_match_expected_object 0.001
validateDeserialize_LITTLE_ENDIAN_with_SampleData 0.006
dataWithWrongInputLength_should_throw_BufferUnderflowException 0.003
deserializePolygon_should_match_expected_object 0.001
deserializePoint_should_match_expected_object 0

SerializerBufferTest

serializePoint_should_match_expected_array 0.058
validateSerialize_with_SampleData 0.005
dataOutOfBounds_should_throw_ValueSerializationException 0.006
validateSerialize_BIG_ENDIAN_with_SampleData 0.003
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.014
reverseOddByteArray 0.001
reverseEvenByteArrayRange_from_1_to_2 0.001
reverseEvenByteArrayRange_from_1_to_3 0.001
reverseOneElementByteArray 0.001
reverseEvenByteArray 0.007
reverseOddByteArrayRange_from_0_to_4 0.001
reverseOddByteArrayRange_from_1_to_4 0