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 1s

30 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
registration/target/test-reports/TEST-registration.auditor.FootballMatchAuditorSpec.xml 2✅ 34ms
registration/target/test-reports/TEST-registration.auditor.LiveblogAuditorSpec.xml 5✅ 190ms
registration/target/test-reports/TEST-registration.auditor.TimeExpiringAuditorSpec.xml 3✅ 35ms
registration/target/test-reports/TEST-registration.controllers.MainControllerSpec.xml 4✅ 3s
registration/target/test-reports/TEST-registration.db.BuildTierSpec.xml 4✅ 4ms
registration/target/test-reports/TEST-registration.models.LegacyRegistrationSpec.xml 3✅ 291ms
registration/target/test-reports/TEST-registration.services.LegacyNewsstandRegistrationConverterSpec.xml 2✅ 594ms
registration/target/test-reports/TEST-registration.services.LegacyRegistrationConverterSpec.xml 4✅ 10ms
registration/target/test-reports/TEST-registration.services.topic.AuditorTopicValidatorSpec.xml 3✅ 57ms

✅ registration/target/test-reports/TEST-registration.auditor.FootballMatchAuditorSpec.xml

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

Test suite Passed Failed Skipped Time
registration.auditor.FootballMatchAuditorSpec 2✅ 34ms

✅ registration.auditor.FootballMatchAuditorSpec

✅ Football match client should::query PA and return matches that have ended
✅ Football match client should::do not query PA if there are no football matches in topic list

✅ registration/target/test-reports/TEST-registration.auditor.LiveblogAuditorSpec.xml

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

Test suite Passed Failed Skipped Time
registration.auditor.LiveblogAuditorSpec 5✅ 190ms

✅ registration.auditor.LiveblogAuditorSpec

✅ A LiveblogAuditor should::ignore topics where type is not content
✅ A LiveblogAuditor should::return topics as expired where liveBloggingNow is invalid
✅ A LiveblogAuditor should::return topics as expired where liveBloggingNow is missing
✅ A LiveblogAuditor should::return topics as expired where liveBloggingNow is false
✅ A LiveblogAuditor should::not return topics as expired where liveBloggingNow is true

✅ registration/target/test-reports/TEST-registration.auditor.TimeExpiringAuditorSpec.xml

3 tests were completed in 35ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
registration.auditor.TimeExpiringAuditorSpec 3✅ 35ms

✅ registration.auditor.TimeExpiringAuditorSpec

✅ A TimeExpiryTopic should::Expiry reference topics if date is after threshold
✅ A TimeExpiryTopic should::Not expire reference topics before the threshold
✅ A TimeExpiryTopic should::Not expire topics that are not in the set

✅ registration/target/test-reports/TEST-registration.controllers.MainControllerSpec.xml

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

Test suite Passed Failed Skipped Time
registration.controllers.MainControllerSpec 4✅ 3s

✅ registration.controllers.MainControllerSpec

✅ Registrations controller should::responds to healtcheck
✅ Registrations controller should::return legacy formatted response for legacy registration
✅ Registrations controller should::not include in invalid topics in response to legacy registration
✅ Registrations controller should::returns 400 for a android registration without a fcmToken

✅ registration/target/test-reports/TEST-registration.db.BuildTierSpec.xml

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

Test suite Passed Failed Skipped Time
registration.db.BuildTierSpec 4✅ 4ms

✅ registration.db.BuildTierSpec

✅ chooseTier should::Mark an Android beta build which fails to send an app version as a release build
✅ chooseTier should::Mark an Android beta build which includes an app version as a beta build
✅ chooseTier should::Mark an iOS beta build as a beta build
✅ chooseTier should::Return None if the client sends an invalid build tier

✅ registration/target/test-reports/TEST-registration.models.LegacyRegistrationSpec.xml

3 tests were completed in 291ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
registration.models.LegacyRegistrationSpec 3✅ 291ms

✅ registration.models.LegacyRegistrationSpec

✅ The LegacyTopic should::parse a standard legacy topic
✅ The LegacyTopic should::parse a legacy topic with the android workaround
✅ The LegacyTopic should::fail to parse wrong json

✅ registration/target/test-reports/TEST-registration.services.LegacyNewsstandRegistrationConverterSpec.xml

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

Test suite Passed Failed Skipped Time
registration.services.LegacyNewsstandRegistrationConverterSpec 2✅ 594ms

✅ registration.services.LegacyNewsstandRegistrationConverterSpec

✅ LegacyNewsstandRegistrationConverter should::toRegistration
✅ LegacyNewsstandRegistrationConverter should::fromResponse

✅ registration/target/test-reports/TEST-registration.services.LegacyRegistrationConverterSpec.xml

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

Test suite Passed Failed Skipped Time
registration.services.LegacyRegistrationConverterSpec 4✅ 10ms

✅ registration.services.LegacyRegistrationConverterSpec

✅ LegacyRegistrationConverter should::Convert a legacy registration to an internal one
✅ LegacyRegistrationConverter should::Convert a legacy registration with a firebase token only to an internal one
✅ LegacyRegistrationConverter should::Convert a legacy registration with both a firebase token and an azure token to an internal one
✅ LegacyRegistrationConverter should::Return an error where an android device has no fcm token

✅ registration/target/test-reports/TEST-registration.services.topic.AuditorTopicValidatorSpec.xml

3 tests were completed in 57ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
registration.services.topic.AuditorTopicValidatorSpec 3✅ 57ms

✅ registration.services.topic.AuditorTopicValidatorSpec

✅ Auditor Topic Validator should::return filtered list of topics from both auditors
✅ Auditor Topic Validator should::Limit the number of tags to 200
✅ Auditor Topic Validator should::Do not filter breaking news if topic list too long