Skip to content

Upgrade the protobuf libraries #286

Upgrade the protobuf libraries

Upgrade the protobuf libraries #286

GitHub Actions / Tests succeeded Sep 26, 2024 in 0s

27 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.EventConsumerSpec.xml 6✅ 3s
football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec.xml 4✅ 25ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.DismissalSpec.xml 1✅ 2s
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.GoalSpec.xml 5✅ 20ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.MatchPhaseEventSpec.xml 5✅ 37ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.ScoreSpec.xml 5✅ 6ms
football/target/test-reports/TEST-com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec.xml 1✅ 7ms

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.EventConsumerSpec.xml

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

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.lib.EventConsumerSpec 6✅ 3s

✅ com.gu.mobile.notifications.football.lib.EventConsumerSpec

✅ An EventConsumer should::generate a kick-off notification
✅ An EventConsumer should::generate half-time notification
✅ An EventConsumer should::generate second half start notification
✅ An EventConsumer should::generate full time notification
✅ An EventConsumer should::generate goal notifications from FootballMatchStatusPayload
✅ An EventConsumer should::generate red card notifications from FootballMatchStatusPayload

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec.xml

4 tests were completed in 25ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec 4✅ 25ms

✅ com.gu.mobile.notifications.football.lib.SyntheticMatchEventGeneratorSpec

✅ A SyntheticMatchEvent generator should::Add id to first timeline event
✅ A SyntheticMatchEvent generator should::Add half-time event if status is HT
✅ A SyntheticMatchEvent generator should::Add second-half event if status is SHS
✅ A SyntheticMatchEvent generator should::Add full-time event if match is result

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.DismissalSpec.xml

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

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.DismissalSpec 1✅ 2s

✅ com.gu.mobile.notifications.football.models.DismissalSpec

✅ MatchPhaseEvent should::Create a Dismissal event

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.GoalSpec.xml

5 tests were completed in 20ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.GoalSpec 5✅ 20ms

✅ com.gu.mobile.notifications.football.models.GoalSpec

✅ A Goal should::Create a normal goal (home)
✅ A Goal should::Create a normal goal (away)
✅ A Goal should::Create a normal goal in extra time
✅ A Goal should::Create an own goal
✅ A Goal should::Create a penalty

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.MatchPhaseEventSpec.xml

5 tests were completed in 37ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.MatchPhaseEventSpec 5✅ 37ms

✅ com.gu.mobile.notifications.football.models.MatchPhaseEventSpec

✅ MatchPhaseEvent should::Create a Kickoff event from timeline event 0:00
✅ MatchPhaseEvent should::Return none event for timeline event 0:01
✅ MatchPhaseEvent should::Create a fulltime event from full-time
✅ MatchPhaseEvent should::Create a halftime event from half-time
✅ MatchPhaseEvent should::Create a secondhalf event from second-half

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.models.ScoreSpec.xml

5 tests were completed in 6ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.models.ScoreSpec 5✅ 6ms

✅ com.gu.mobile.notifications.football.models.ScoreSpec

✅ Score should::calculate correct score for normal goals
✅ Score should::calculate correct score with home own-goal
✅ Score should::calculate correct score with away own-goal
✅ Score should::calculate correct score with home penalty
✅ Score should::calculate correct score with away penalty

✅ football/target/test-reports/TEST-com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec.xml

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

Test suite Passed Failed Skipped Time
com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec 1✅ 7ms

✅ com.gu.mobile.notifications.football.notificationbuilders.MatchStatusNotificationBuilderSpec

✅ A MatchStatusNotificationBuilder should::Build a notification