Skip to content

Merge pull request #774 from codecentric/renovate/org.openapi.generat… #1276

Merge pull request #774 from codecentric/renovate/org.openapi.generat…

Merge pull request #774 from codecentric/renovate/org.openapi.generat… #1276

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

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✅ 3ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$has#20next.xml 3✅ 160ms
test/TEST-de.codecentric.hc.report.DateIteratorTest$next.xml 4✅ 24ms
test/TEST-de.codecentric.hc.report.HabitServiceTest.xml 1✅ 703ms
test/TEST-de.codecentric.hc.report.HabitTrackingServiceTest.xml 1✅ 12ms
test/TEST-de.codecentric.hc.report.ReportApplicationTests.xml 1✅ 14ms
test/TEST-de.codecentric.hc.report.ReportControllerIntegrationTest.xml 1✅ 334ms
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✅ 1ms
test/TEST-de.codecentric.hc.report.ReportServiceTest$monthly#20rate.xml 4✅ 802ms
test/TEST-de.codecentric.hc.report.ReportServiceTest$weekly#20rate.xml 4✅ 63ms
test/TEST-de.codecentric.hc.report.TrackedHabitServiceTest$given#201#20habit#20of#20each#20schedule#20frequency#20with#201#20track#20each.xml 2✅ 154ms
test/TEST-de.codecentric.hc.report.TrackedHabitTest$get#20scheduled#20repetitions#20for#20period$given#20daily#20habit.xml 3✅ 3ms
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✅ 223ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationIntegrationTest.xml 8✅ 669ms
test/TEST-de.codecentric.hc.report.web.header.propagation.HeaderPropagationRequestInterceptorTest.xml 1✅ 386ms
test/TEST-de.codecentric.hc.report.web.header.propagation.ServletRequestHeaderInterceptorTest.xml 8✅ 270ms
test/TEST-de.codecentric.hc.report.web.header.propagation.TracingBaggageHeaderPropagationIntegrationTest.xml 1✅ 37ms

✅ 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 3ms with 1 passed, 0 failed and 0 skipped.

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

✅ 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 160ms with 3 passed, 0 failed and 0 skipped.

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

✅ 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 24ms with 4 passed, 0 failed and 0 skipped.

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

✅ 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 703ms with 1 passed, 0 failed and 0 skipped.

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

✅ 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 14ms with 1 passed, 0 failed and 0 skipped.

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

✅ de.codecentric.hc.report.ReportApplicationTests

✅ contextLoads()

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

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

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

✅ 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 1ms with 2 passed, 0 failed and 0 skipped.

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

✅ 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 802ms with 4 passed, 0 failed and 0 skipped.

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

✅ 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 63ms with 4 passed, 0 failed and 0 skipped.

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

✅ 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 154ms 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✅ 154ms

✅ 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 3ms 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✅ 3ms

✅ 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 223ms with 5 passed, 0 failed and 0 skipped.

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

✅ 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 669ms with 8 passed, 0 failed and 0 skipped.

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

✅ 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 386ms with 1 passed, 0 failed and 0 skipped.

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

✅ 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 270ms with 8 passed, 0 failed and 0 skipped.

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

✅ 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 37ms with 1 passed, 0 failed and 0 skipped.

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

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

✅ [1] header=Authorization