Skip to content

chore: remove unused code, clean up, reorder files #90

chore: remove unused code, clean up, reorder files

chore: remove unused code, clean up, reorder files #90

GitHub Actions / test-results succeeded Apr 30, 2024 in 0s

63 passed, 0 failed and 0 skipped

Tests passed successfully

✅ /home/runner/work/Htmxor/Htmxor/TestResults/_fv-az1385-609_2024-04-30_20_04_42.trx

63 tests were completed in 11s with 63 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Htmxor.Builder.HtmxorComponentEndpointDataSourceTest 1✅ 22ms
Htmxor.Builder.HtmxorComponentEndpointMatcherPolicyTest 22✅ 49ms
Htmxor.Configuration.HtmxHeadOutletTest 1✅ 704ms
Htmxor.DemoTestCases.BulkUpdate1Test 1✅ 898ms
Htmxor.DemoTestCases.ClickToEdit1Test 5✅ 4s
Htmxor.DemoTestCases.DeleteRowTest 1✅ 771ms
Htmxor.DemoTestCases.HxValsTest 1✅ 851ms
Htmxor.E2E.ClickToEditE2ETests 1✅ 561ms
Htmxor.E2E.EventHandlerE2ETest 1✅ 313ms
Htmxor.EventHandlerTest 1✅ 827ms
Htmxor.Http.HtmxResponseTests 26✅ 298ms
Htmxor.RequestRoutingTest 2✅ 2s

✅ Htmxor.Builder.HtmxorComponentEndpointDataSourceTest

✅ Registers_endpoints_based_on_HxRoute

✅ Htmxor.Builder.HtmxorComponentEndpointMatcherPolicyTest

✅ AppliesToEndpoints_with_hxroute_endpoint
✅ AppliesToEndpoints_with_route_only_endpoint
✅ ApplyAsync_HxRequest_HxEndpoint
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = "/foo", Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Current-URL", "/foo")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = "/foo", Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Current-URL", "/FOO")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = "/FOO", Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Current-URL", "/foo")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = "#foo", Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Target", "#foo")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = "#foo", Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Target", "#FOO")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = ["#foo", "#bar"], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Target", "#BAR")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = ["#foo", "#bar"], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Target", "#foo")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Trigger-Name", "#foo")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Trigger-Name", "#FOO")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Trigger", "#foo")])
✅ ApplyAsync_HxRequest_HxEndpoint_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Trigger", "#FOO")])
✅ ApplyAsync_HxRequest_HxEndpoint_none_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = "/foo", Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Current-URL", "/bar")])
✅ ApplyAsync_HxRequest_HxEndpoint_none_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = "#foo", Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Target", "#bar")])
✅ ApplyAsync_HxRequest_HxEndpoint_none_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = ["#foo", "#bar"], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Target", "#baz")])
✅ ApplyAsync_HxRequest_HxEndpoint_none_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Trigger-Name", "#bar")])
✅ ApplyAsync_HxRequest_HxEndpoint_none_matching(hxRouteAttribute: HxRouteAttribute { CurrentURL = null, Methods = ["GET", "POST", "PUT", "PATCH", "DELETE"], Target = null, Targets = [], Template = "/", ··· }, requestHeaders: [Tuple ("HX-Trigger", "#bar")])
✅ ApplyAsync_HxRequest_RouteEndpoint
✅ ApplyAsync_RouteRequest_HxEndpoint

✅ Htmxor.Configuration.HtmxHeadOutletTest

✅ HtmxConfig_serializer

✅ Htmxor.DemoTestCases.BulkUpdate1Test

✅ Hx_post_with_partial_return

✅ Htmxor.DemoTestCases.ClickToEdit1Test

✅ Hx_get_edit
✅ Hx_get_view
✅ Hx_put_view
✅ None_hx_get_edit
✅ None_hx_get_view

✅ Htmxor.DemoTestCases.DeleteRowTest

✅ Hx_delete_returns_204_without_content

✅ Htmxor.DemoTestCases.HxValsTest

✅ HxVals_correctly_escaped_by_renderer

✅ Htmxor.E2E.ClickToEditE2ETests

✅ Click_to_edit

✅ Htmxor.E2E.EventHandlerE2ETest

✅ Invoke_event_handler_methods

✅ Htmxor.EventHandlerTest

✅ Get_method

✅ Htmxor.Http.HtmxResponseTests

✅ Location_AddsLocationHeader
✅ Location_AddsLocationWIthAjaxContextHeader
✅ Multiple_trigger_events_without_details(triggerTiming: AfterSettle, expectedHeaderKey: "HX-Trigger-After-Settle")
✅ Multiple_trigger_events_without_details(triggerTiming: AfterSwap, expectedHeaderKey: "HX-Trigger-After-Swap")
✅ Multiple_trigger_events_without_details(triggerTiming: Default, expectedHeaderKey: "HX-Trigger")
✅ PushUrl_AddsPushUrlBrowserHistoryHeader
✅ PushUrl_AddsPushUrlHeader
✅ Redirect_AddsRedirectHeader
✅ Refresh_AddsRefreshHeader
✅ ReplaceUrl_AddsReplaceUrlBrowserCUrrentUrlHeader
✅ ReplaceUrl_AddsReplaceUrlHeader
✅ Reselect_AddsReselectHeader
✅ Reswap_AddsReswapHeader
✅ Retarget_AddsRetargetHeader
✅ Same_trigger_event_twice_without_details(triggerTiming: AfterSettle, expectedHeaderKey: "HX-Trigger-After-Settle")
✅ Same_trigger_event_twice_without_details(triggerTiming: AfterSwap, expectedHeaderKey: "HX-Trigger-After-Swap")
✅ Same_trigger_event_twice_without_details(triggerTiming: Default, expectedHeaderKey: "HX-Trigger")
✅ Trigger_CanUseExistingTriggerWithMultipleTriggersWithDetail_AddsCorrectTriggerHeader(triggerTiming: AfterSettle, expectedHeaderKey: "HX-Trigger-After-Settle")
✅ Trigger_CanUseExistingTriggerWithMultipleTriggersWithDetail_AddsCorrectTriggerHeader(triggerTiming: AfterSwap, expectedHeaderKey: "HX-Trigger-After-Swap")
✅ Trigger_CanUseExistingTriggerWithMultipleTriggersWithDetail_AddsCorrectTriggerHeader(triggerTiming: Default, expectedHeaderKey: "HX-Trigger")
✅ Trigger_DefaultObject_AddsTriggerHeaderWithJsonString(triggerTiming: AfterSettle, expectedHeaderKey: "HX-Trigger-After-Settle")
✅ Trigger_DefaultObject_AddsTriggerHeaderWithJsonString(triggerTiming: AfterSwap, expectedHeaderKey: "HX-Trigger-After-Swap")
✅ Trigger_DefaultObject_AddsTriggerHeaderWithJsonString(triggerTiming: Default, expectedHeaderKey: "HX-Trigger")
✅ Trigger_without_details(triggerTiming: AfterSettle, expectedHeaderKey: "HX-Trigger-After-Settle")
✅ Trigger_without_details(triggerTiming: AfterSwap, expectedHeaderKey: "HX-Trigger-After-Swap")
✅ Trigger_without_details(triggerTiming: Default, expectedHeaderKey: "HX-Trigger")

✅ Htmxor.RequestRoutingTest

✅ HxRequest
✅ NormalRequest