Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
25 0 1 0 96.0% 33.05 s

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
org.linkedopenactors.rdfpub.uc 22 0 1 0 95.5% 15.93 s
org.linkedopenactors.rdfpub.usecases.receiveactivity 2 0 0 0 100% 12.10 s
org.linkedopenactors.rdfpub.scheduler 1 0 0 0 100% 5.018 s

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

org.linkedopenactors.rdfpub.uc

- Class Tests Errors Failures Skipped Success Rate Time
TestWebfinger 2 0 0 0 100% 1.788 s
TestSendCreateActivityAndUpdateIt 2 0 1 0 50.0% 1.705 s
TestInstanceProfile 1 0 0 0 100% 1.282 s
TestSparql 2 0 0 0 100% 2.102 s
TestPrivacyOfActivityAndObject 4 0 0 0 100% 2.247 s
TestActorProfile 5 0 0 0 100% 0.242 s
TestContainerBag 1 0 0 0 100% 1.437 s
TestActorProfileUpdate 2 0 0 0 100% 1.594 s
TestInboxDelivery 1 0 0 0 100% 1.868 s
TestReadCollectionOutbox 2 0 0 0 100% 1.664 s

org.linkedopenactors.rdfpub.usecases.receiveactivity

- Class Tests Errors Failures Skipped Success Rate Time
TestRouteReceiveActivityLOA 1 0 0 0 100% 9.923 s
TestReceiveActivityServiceJsonLd 1 0 0 0 100% 2.181 s

org.linkedopenactors.rdfpub.scheduler

- Class Tests Errors Failures Skipped Success Rate Time
TestTempFileManager 1 0 0 0 100% 5.018 s

Test Cases

[Summary] [Package List] [Test Cases]

TestWebfinger

testWebfingerFullQualified 0.083 s
testWebfingerPreferredUsername 0.028 s

TestSendCreateActivityAndUpdateIt

testAlreadyExists 0.130 s
- Response status reason expected:<object with version 1, identifier: efaf812a-4680-40c6-a295-d90a3c37bdbb, types: [https://www.w3.org/ns/activitystreams#Object], contexts: [http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa/outbox, http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa] already exists!> but was:<object with version 1, identifier: efaf812a-4680-40c6-a295-d90a3c37bdbb, types: [https://www.w3.org/ns/activitystreams#Object], contexts: [http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa, http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa/outbox] already exists!> -
test 0.192 s

TestInstanceProfile

testGetInstanceProfile 0.037 s

TestSparql

test 0.182 s
testPublicEndpoint 0.109 s

TestPrivacyOfActivityAndObject

testAnonymousReadPublicActivityOfOtherUser 0.162 s
testAllowedReadActivityOfOtherUser 0.171 s
testReadPublicActivityAsAnonymous 0.192 s
testUnallowedReadObjectOfOtherUser 0.182 s

TestActorProfile

testReadActorsProfile 0.033 s
parse 0.004 s
testReadActorsProfileOfForeignActor 0.053 s
testReadActorsProfileThatIsUnknown 0.034 s
testReadActorsProfileJsonLd 0.097 s

TestContainerBag

test 0.082 s

TestActorProfileUpdate

testReadActorsProfile 0.044 s
testUpdateActorsProfile 0.071 s

TestInboxDelivery

test 0.463 s

TestReadCollectionOutbox

testSendingObjectWithoutActivity 0.157 s
testWithCreateActivity 0.140 s

TestTempFileManager

test 5.016 s

TestRouteReceiveActivityLOA

testSuccess 3.084 s

TestReceiveActivityServiceJsonLd

testSuccess 0.270 s

Failure Details

[Summary] [Package List] [Test Cases]


testAlreadyExists
- java.lang.AssertionError: Response status reason expected:<object with version 1, identifier: efaf812a-4680-40c6-a295-d90a3c37bdbb, types: [https://www.w3.org/ns/activitystreams#Object], contexts: [http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa/outbox, http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa] already exists!> but was:<object with version 1, identifier: efaf812a-4680-40c6-a295-d90a3c37bdbb, types: [https://www.w3.org/ns/activitystreams#Object], contexts: [http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa, http://localhost:8081/925af5ac-7f4d-40fe-b8ed-41e8798e9afa/outbox] already exists!>
-