Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.013
dev.oak3.sbs4j 13 0 0 0 100% 0.891

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

dev.oak3.sbs4j

Class Tests Errors Failures Skipped Success Rate Time
DeserializerBufferTest 6 0 0 0 100% 0.866
SerializerBufferTest 7 0 0 0 100% 0.025

Test Cases

[Summary] [Package List] [Test Cases]

DeserializerBufferTest

validateDeserialize_BIG_ENDIAN_with_SampleData 0.063
deserializeCircle_should_match_expected_object 0.004
dataWithWrongInputLength_should_throw_BufferUnderflowException 0.006
deserializePolygon_should_match_expected_object 0.002
validateDeserialize_with_SampleData 0.008
deserializePoint_should_match_expected_object 0.001

SerializerBufferTest

serializePoint_should_match_expected_array 0.002
validateSerialize_with_SampleData 0.003
dataOutOfBounds_should_throw_ValueSerializationException 0.003
validateSerialize_BIG_ENDIAN_with_SampleData 0.002
serializeCircle_should_match_expected_array 0
serializePolygon_should_match_expected_array 0.002
numbersShouldBeInsideTheirTypeBounds 0.003

ByteUtilsTest

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