Skip to content

Merge pull request #769 from codecentric/renovate/gradle-8.x #1063

Merge pull request #769 from codecentric/renovate/gradle-8.x

Merge pull request #769 from codecentric/renovate/gradle-8.x #1063

GitHub Actions / Test results succeeded Nov 15, 2024 in 1s

65 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
test/TEST-de.codecentric.hc.report.api.AchievementRatesExtKtTest.xml 2✅ 3ms
test/TEST-de.codecentric.hc.report.date.LocalDateExtKtTest.xml 1✅ 4ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$has#20next.xml 3✅ 136ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$next.xml 4✅ 15ms
test/TEST-de.codecentric.hc.report.HabitServiceTest.xml 1✅ 725ms
test/TEST-de.codecentric.hc.report.HabitTrackingServiceTest.xml 1✅ 12ms
test/TEST-de.codecentric.hc.report.ReportApplicationTests.xml 1✅ 15ms
test/TEST-de.codecentric.hc.report.ReportControllerIntegrationTest.xml 1✅ 321ms
test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#2030#20days.xml 2✅ 7ms
test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#207#20days.xml 2✅ 2ms
test/TEST-de.codecentric.hc.report.ReportServiceTest$monthly#20rate.xml 4✅ 771ms
test/TEST-de.codecentric.hc.report.ReportServiceTest$weekly#20rate.xml 4✅ 54ms
test/TEST-de.codecentric.hc.report.TrackedHabitServiceTest$given#201#20habit#20of#20each#20schedule#20frequency#20with#201#20track#20each.xml 2✅ 153ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20daily#20habit.xml 3✅ 4ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20monthly#20habit.xml 4✅ 7ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20weekly#20habit.xml 4✅ 4ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20tracked#20repetitions#20for#20period.xml 3✅ 3ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest.xml 5✅ 168ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest.xml 8✅ 641ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest.xml 1✅ 433ms
test/TEST-de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest.xml 8✅ 249ms
test/TEST-de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest.xml 1✅ 47ms

✅ test/TEST-de.codecentric.hc.report.api.AchievementRatesExtKtTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.api.AchievementRatesExtKtTest 2✅ 3ms

✅ de.codecentric.hc.report.api.AchievementRatesExtKtTest

✅ should map week rate()
✅ should map month rate()

✅ test/TEST-de.codecentric.hc.report.date.LocalDateExtKtTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.date.LocalDateExtKtTest 1✅ 4ms

✅ de.codecentric.hc.report.date.LocalDateExtKtTest

✅ date range should contain every date()

✅ test/TEST-de.codecentric.hc.report.DateIteratorTest$has#20next.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.DateIteratorTest$has next 3✅ 136ms

✅ de.codecentric.hc.report.DateIteratorTest$has next

✅ returns true when next date is before inclusive end date()
✅ returns false when next date is after inclusive end date()
✅ returns true when next date is equal to inclusive end date()

✅ test/TEST-de.codecentric.hc.report.DateIteratorTest$next.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.DateIteratorTest$next 4✅ 15ms

✅ de.codecentric.hc.report.DateIteratorTest$next

✅ given day step of 2 and second call, returns two days after start day()
✅ given first call, returns start date()
✅ should throw NoSuchElementException when inclusive end date was exceeded()
✅ given day step of 1 and second call, returns day after start day()

✅ test/TEST-de.codecentric.hc.report.HabitServiceTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.HabitServiceTest 1✅ 725ms

✅ de.codecentric.hc.report.HabitServiceTest

✅ should call habit endpoint()

✅ test/TEST-de.codecentric.hc.report.HabitTrackingServiceTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.HabitTrackingServiceTest 1✅ 12ms

✅ de.codecentric.hc.report.HabitTrackingServiceTest

✅ should call habit tracking endpoint with habit ID()

✅ test/TEST-de.codecentric.hc.report.ReportApplicationTests.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportApplicationTests 1✅ 15ms

✅ de.codecentric.hc.report.ReportApplicationTests

✅ contextLoads()

✅ test/TEST-de.codecentric.hc.report.ReportControllerIntegrationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportControllerIntegrationTest 1✅ 321ms

✅ de.codecentric.hc.report.ReportControllerIntegrationTest

✅ should return report()

✅ test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#2030#20days.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportPeriodTest$last 30 days 2✅ 7ms

✅ de.codecentric.hc.report.ReportPeriodTest$last 30 days

✅ should return date range from today that includes 30 days()
✅ should include daily, weekly and monthly frequency()

✅ test/TEST-de.codecentric.hc.report.ReportPeriodTest$last#207#20days.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportPeriodTest$last 7 days 2✅ 2ms

✅ de.codecentric.hc.report.ReportPeriodTest$last 7 days

✅ should include daily and weekly frequency()
✅ should return date range from today that includes 7 days()

✅ test/TEST-de.codecentric.hc.report.ReportServiceTest$monthly#20rate.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportServiceTest$monthly rate 4✅ 771ms

✅ de.codecentric.hc.report.ReportServiceTest$monthly rate

✅ given 3 habits with sum of 3 actual repetitions and 4 scheduled repetitions, should return 0,75()
✅ given monthly rate deactivated, should set monthly rate to null()
✅ given 1 habit with 2 actual repetitions and 4 scheduled repetitions, should return 0,5()
✅ given 1 daily habit with no tracks, should return 0()

✅ test/TEST-de.codecentric.hc.report.ReportServiceTest$weekly#20rate.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.ReportServiceTest$weekly rate 4✅ 54ms

✅ de.codecentric.hc.report.ReportServiceTest$weekly rate

✅ given 1 habit with 2 actual repetitions and 4 scheduled repetitions, should return 0,5()
✅ given 1 daily habit with no tracks, should return 0()
✅ given 2 habits with sum of 1 actual repetition and 4 scheduled repetitions, should return 0,25()
✅ given 1 daily, 1 weekly and 1 monthly habit, should not include monthly habit in weekly rate()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitServiceTest$given#201#20habit#20of#20each#20schedule#20frequency#20with#201#20track#20each.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitServiceTest$given 1 habit of each schedule frequency with 1 track each 2✅ 153ms

✅ de.codecentric.hc.report.TrackedHabitServiceTest$given 1 habit of each schedule frequency with 1 track each

✅ given daily frequency, return 1 tracked habit with one track$report_test()
✅ given daily, weekly and monthly frequency, return 3 tracked habits with one track each$report_test()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20daily#20habit.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given daily habit 3✅ 4ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given daily habit

✅ given one repetition and 30-day period, should return 30()
✅ given one repetition and 7-day period, should return 7()
✅ given two repetitions and 30-day period, should return 60()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20monthly#20habit.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given monthly habit 4✅ 7ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given monthly habit

✅ given two repetitions and 30-day period, should return 2()
✅ given four repetitions and 7-day period, should return 1()
✅ given one repetition and 30-day period, should return 1()
✅ given one repetition and 7-day period, should return 0()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20weekly#20habit.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given weekly habit 4✅ 4ms

✅ de.codecentric.hc.report.TrackedHabitTest$get scheduled repetitions for period$given weekly habit

✅ given two repetitions and 30-day period, should return 9()
✅ given two repetitions and 7-day period, should return 2()
✅ given one repetition and 30-day period, should return 4()
✅ given one repetition and 7-day period, should return 1()

✅ test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20tracked#20repetitions#20for#20period.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.TrackedHabitTest$get tracked repetitions for period 3✅ 3ms

✅ de.codecentric.hc.report.TrackedHabitTest$get tracked repetitions for period

✅ given two of three tracks are in date range, should return 2$report_test()
✅ given three tracks are in date range, should return 3$report_test()
✅ given one track is in date range, should return 1$report_test()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest 5✅ 168ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationConfigurationTest

✅ should not provide header propagation rest template customizer bean when tracing is active()
✅ should configure request scoped header propagation data when tracing is not active()
✅ should inject servlet request interceptor when tracing is not active()
✅ should not inject servlet request interceptor when tracing is active()
✅ should provide header propagation rest template customizer bean when tracing is not active()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest 8✅ 641ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest

✅ [1] header=Authorization
✅ [2] header=x-request-id
✅ [3] header=x-b3-traceid
✅ [4] header=x-b3-spanid
✅ [5] header=x-b3-parentspanid
✅ [6] header=x-b3-sampled
✅ [7] header=x-b3-flags
✅ [8] header=x-ot-span-context

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest 1✅ 433ms

✅ de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest

✅ should set all headers in the outgoing request()

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest 8✅ 249ms

✅ de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest

✅ [1] header=Authorization
✅ [2] header=x-request-id
✅ [3] header=x-b3-traceid
✅ [4] header=x-b3-spanid
✅ [5] header=x-b3-parentspanid
✅ [6] header=x-b3-sampled
✅ [7] header=x-b3-flags
✅ [8] header=x-ot-span-context

✅ test/TEST-de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest.xml

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

Test suite Passed Failed Skipped Time
de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest 1✅ 47ms

✅ de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest

✅ [1] header=Authorization