Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication: Reintroduce foreign key constraints and offline primary keys #70

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Removed comment

708f893
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Communication: Reintroduce foreign key constraints and offline primary keys #70

Removed comment
708f893
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Results succeeded Nov 22, 2024 in 1s

32 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesUITest.xml 5✅ 44s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest.xml 3✅ 2s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest.xml 1✅ 38ms
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest.xml 8✅ 3s
test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldVisibilityUITest.xml 2✅ 721ms
test-outputs/login/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest.xml 5✅ 54s
test-outputs/push/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest.xml 4✅ 40s
test-outputs/shared/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.shared.db.MetisDaoTest.xml 4✅ 20s

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesUITest.xml

5 tests were completed in 44s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesUITest 5✅ 44s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ConversationAnswerMessagesUITest

✅ test GIVEN the post is resolved and one answer post is marked as resolving THEN the post is shown as resolved and this answer post is shown as resolving
✅ test GIVEN post is not resolved WHEN resolving the post THEN the post is resolved with the third answer post
✅ test GIVEN the post is not resolved and no answer post is resolving THEN the post is shown as not resolved and no answer post is shown as resolving
✅ test GIVEN post is not resolved WHEN resolving the post THEN the post is resolved with the first answer post
✅ test GIVEN post is resolved WHEN un-resolving the post THEN the post is un-resolved

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest.xml

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest 3✅ 2s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.service.storage.impl.MetisStorageServiceImplUpgradeLocalAnswerPostTest

✅ testInsertClientSidePost
✅ testUpgradeClientSideAnswerPost2
✅ testUpgradeClientSideAnswerPost

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest.xml

1 tests were completed in 38ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest 1✅ 38ms

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.chatlist.MetisSearchPagingSourceTest

✅ test GIVEN the metisService returns duplicated posts WHEN calling the load method THEN only unique posts are returned

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest.xml

8 tests were completed in 3s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest 8✅ 3s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldUiTest

✅ test GIVEN the textField WHEN entering a non-tag character THEN the autoCompletion dialog is hidden
✅ test GIVEN the autoCompletion dialog WHEN removing the tag character @ THEN the autoCompletion dialog is hidden
✅ test GIVEN the autoCompletion dialog WHEN clicking an entry THEN the replacement is inserted into the textField and the dialog is hidden
✅ test GIVEN an empty reply textField WHEN doing nothing THEN the autoCompletion dialog is hidden
✅ test GIVEN an empty reply textField WHEN entering the tag character @ THEN a list of autoCompletionHints for users shows
✅ test GIVEN the textField WHEN entering a first and surname separated by a single whitespace THEN the dialog shows
✅ test GIVEN the autoCompletion has been performed WHEN entering the tag character again THEN the autoCompletion dialog shows again
✅ test GIVEN the textField WHEN entering a second whitespace THEN the dialog is hidden

✅ test-outputs/conversation/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldVisibilityUITest.xml

2 tests were completed in 721ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldVisibilityUITest 2✅ 721ms

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.conversation.ui.reply.ReplyTextFieldVisibilityUITest

✅ test GIVEN the chat list containing three posts is shown WHEN the markdown text field is clicked THEN the keyboard is shown below the markdown text field
✅ test GIVEN the thread view is shown containing one post and three answer posts WHEN the markdown text field is clicked THEN the keyboard is shown below the markdown text field

✅ test-outputs/login/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest.xml

5 tests were completed in 54s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest 5✅ 54s

✅ de.tum.informatics.www1.artemis.native_app.feature.login.login_moduleTest

✅ the loginModule initializes RegisterViewModel without errors
✅ the loginModule initializes Saml2LoginViewModel without errors
✅ the loginModule initializes CustomInstanceSelectionViewModel without errors
✅ the loginModule initializes LoginViewModel without errors
✅ the loginModule initializes AccountViewModel without errors

✅ test-outputs/push/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest.xml

4 tests were completed in 40s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest 4✅ 40s

✅ de.tum.informatics.www1.artemis.native_app.feature.push.PushNotificationReceiveTest

✅ should forward notification with valid version
✅ should discard notification with non-existing version
✅ should discard gibberish notification
✅ should discard notification with non-matching version

✅ test-outputs/shared/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.metis.shared.db.MetisDaoTest.xml

4 tests were completed in 20s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
de.tum.informatics.www1.artemis.native_app.feature.metis.shared.db.MetisDaoTest 4✅ 20s

✅ de.tum.informatics.www1.artemis.native_app.feature.metis.shared.db.MetisDaoTest

✅ testAddPost
✅ testDeletePostWithReaction
✅ testAddPostWithReaction
✅ testDeletePost