Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
19 0 0 0 100% 1.049

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 6 0 0 0 100% 0.024
dev.oak3.sbs4j 13 0 0 0 100% 1.025

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 6 0 0 0 100% 0.024

dev.oak3.sbs4j

Class Tests Errors Failures Skipped Success Rate Time
SerializerBufferTest 7 0 0 0 100% 0.02
DeserializerBufferTest 6 0 0 0 100% 1.005

Test Cases

[Summary] [Package List] [Test Cases]

SerializerBufferTest

serializePoint_should_match_expected_array 0
validateSerialize_with_SampleData 0.001
dataOutOfBounds_should_throw_ValueSerializationException 0.005
validateSerialize_BIG_ENDIAN_with_SampleData 0.002
serializeCircle_should_match_expected_array 0.001
serializePolygon_should_match_expected_array 0.001
numbersShouldBeInsideTheirTypeBounds 0.001

DeserializerBufferTest

validateDeserialize_BIG_ENDIAN_with_SampleData 0.06
deserializeCircle_should_match_expected_object 0.004
validateDeserialize_LITTLE_ENDIAN_with_SampleData 0.01
dataWithWrongInputLength_should_throw_BufferUnderflowException 0.003
deserializePolygon_should_match_expected_object 0.001
deserializePoint_should_match_expected_object 0.004

ByteUtilsTest

reverseOddByteArray 0.002
reverseEvenByteArrayRange_from_1_to_2 0.001
reverseEvenByteArrayRange_from_1_to_3 0.007
reverseEvenByteArray 0.001
reverseOddByteArrayRange_from_0_to_4 0.003
reverseOddByteArrayRange_from_1_to_4 0.001