Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
30 0 0 0 100% 1.598

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
com.github.princesslana.eriscasper.data 14 0 0 0 100% 0.114
com.github.princesslana.eriscasper.data.gateway 3 0 0 0 100% 0.091
com.github.princesslana.eriscasper.data.immutable.encoding 5 0 0 0 100% 0.007
com.github.princesslana.eriscasper.data.resource 8 0 0 0 100% 1.386

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

com.github.princesslana.eriscasper.data

Class Tests Errors Failures Skipped Success Rate Time
TestData 13 0 0 0 100% 0.113
TestSanity 1 0 0 0 100% 0.001

com.github.princesslana.eriscasper.data.gateway

Class Tests Errors Failures Skipped Success Rate Time
TestGatewayStatusUpdatePayload 1 0 0 0 100% 0.038
TestIdentifyPayload 2 0 0 0 100% 0.053

com.github.princesslana.eriscasper.data.immutable.encoding

Class Tests Errors Failures Skipped Success Rate Time
TestOptionalImmutableListEncoding 5 0 0 0 100% 0.007

com.github.princesslana.eriscasper.data.resource

Class Tests Errors Failures Skipped Success Rate Time
TestAuditLogChange 1 0 0 0 100% 0.906
TestMessage 2 0 0 0 100% 0.379
TestGuildMemberWithGuildId 1 0 0 0 100% 0.032
TestUnavailableGuild 1 0 0 0 100% 0.009
TestPresenceUpdate 1 0 0 0 100% 0.057
TestUser 2 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

TestAuditLogChange

fromJson_whenValidPayload_shouldDeserialize 0.906

TestMessage

fromJson_whenExamplePayload_shouldDeseralize 0.373
fromJson_whenPongEmbedPayload_shouldDeserialize 0.006

TestGuildMemberWithGuildId

fromJson_whenValidPayload_shouldDeserialize 0.032

TestUnavailableGuild

fromJson_whenExamplePayload_shouldDeseralize 0.009

TestPresenceUpdate

fromJson_whenMinimalPayload_shouldDeserialize 0.057

TestUser

fromJson_whenExamplePayload_shouldDeseralize 0.001
fromJson_whenValidPayload_shouldDeserialize 0.002

TestData

toJsonString_whenEmptyInMap_shouldOmit 0.028
toJsonString_whenEmptyListInMap_shouldInclude 0.001
toJsonString_whenEmptyList_shouldInclude 0.019
toJsonString_whenEmpty_shouldOmit 0
toJsonString_whenNullInMap_shouldInclude 0
toJsonString_whenNull_shouldInclude 0.001
toJsonString_whenNullableOfNull_shouldInclude 0.005
toJsonString_whenNullableOfValue_shouldInclude 0
toJsonString_whenPresentInMap_shouldInclude 0
toJsonString_whenPresent_shouldInclude 0.001
toQueryString_whenEmpty_shouldProduceNothing 0.017
toQueryString_whenPopulatedWithMultipleItems_shouldFormat 0.04
toQueryString_whenPopulated_shouldFormat 0.001

TestOptionalImmutableListEncoding

field_whenDefault_shouldBeAbsent 0.004
field_whenMultipleElementsAdded_shouldContainThoseElements 0.002
field_whenSetToEmptyList_shouldBePresent 0
field_whenSetWithIterable_shouldBePresent 0
field_whenSingleElementAdded_shouldContainThatElement 0.001

TestSanity

shouldBeSane 0.001

TestGatewayStatusUpdatePayload

toJsonString_whenNulls_shouldIncludeNulls 0.038

TestIdentifyPayload

toJsonString_whenAbsentFields_shouldNotIncludeAbsentFields 0.018
toJsonString_whenSharding_shouldIncludeShardingAsArray 0.035