Skip to content

Merge remote-tracking branch 'origin/master' into develop #149

Merge remote-tracking branch 'origin/master' into develop

Merge remote-tracking branch 'origin/master' into develop #149

GitHub Actions / Publish Tests succeeded Oct 21, 2024 in 1s

65 passed, 0 failed and 0 skipped

Tests passed successfully

✅ tests.trx

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

Test suite Passed Failed Skipped Time
Smidge.Tests.BundleFileSetGeneratorTests 3✅ 193ms
Smidge.Tests.CompressionTypeTests 2✅ 3ms
Smidge.Tests.CssImportProcessorTests 2✅ 16ms
Smidge.Tests.CssMinTests 4✅ 104ms
Smidge.Tests.CssUrlProcessorTests 7✅ 83ms
Smidge.Tests.DefaultFileProviderFilterTests 15✅ 24ms
Smidge.Tests.DefaultUrlManagerTests 7✅ 234ms
Smidge.Tests.FileBatcherTests 2✅ 47ms
Smidge.Tests.JsSourceMapProcessorTests 1✅ 189ms
Smidge.Tests.PreProcessorPipelineTests 1✅ 6ms
Smidge.Tests.RequestHelperTests 6✅ 3ms
Smidge.Tests.SmidgeFileSystemTests 10✅ 68ms
Smidge.Tests.SmidgeHelperTests 5✅ 157ms

✅ Smidge.Tests.BundleFileSetGeneratorTests

✅ Get_Ordered_File_External_Set
✅ Get_Ordered_File_Set_Correct_Order
✅ Get_Ordered_File_Set_No_Duplicates

✅ Smidge.Tests.CompressionTypeTests

✅ Equals_String
✅ Parse

✅ Smidge.Tests.CssImportProcessorTests

✅ Can_Parse_Import_Statements
✅ Retain_External_Imports

✅ Smidge.Tests.CssMinTests

✅ CssMin_Ensure_Element_With_Id_Selector
✅ Ensure_Embedded_Image_Works
✅ Ensure_Line_Breaks_Keep_Spaces
✅ Strip_Comments

✅ Smidge.Tests.CssUrlProcessorTests

✅ CssTransform_Ensure_Inline_Images_Retained
✅ CssTransform_Ensure_Inline_Images_Retained_2
✅ CssTransform_Ensure_Query_Strings_Retained
✅ CssTransform_Parse_Urls
✅ Ensure_External_Double_Forward_Slash_Url
✅ Ensure_Inline_Svg_Retained
✅ Ensure_Svg_Hash_Retained

✅ Smidge.Tests.DefaultFileProviderFilterTests

✅ Matches_Files_In_Folders(pattern: "/*.*", count: 0)
✅ Matches_Files_In_Folders(pattern: "/*.css", count: 0)
✅ Matches_Files_In_Folders(pattern: "/**/*.*", count: 5)
✅ Matches_Files_In_Folders(pattern: "/**/*.css", count: 3)
✅ Matches_Files_In_Folders(pattern: "/**/*.js", count: 2)
✅ Matches_Files_In_Folders(pattern: "/*/*.css", count: 3)
✅ Matches_Files_In_Folders(pattern: "/*/*.js", count: 2)
✅ Matches_Files_In_Folders(pattern: "/dir1", count: 5)
✅ Matches_Files_In_Folders(pattern: "/dir1/*.*", count: 5)
✅ Matches_Files_In_Folders(pattern: "/dir1/*.css", count: 3)
✅ Matches_Files_In_Folders(pattern: "/dir1/*.js", count: 2)
✅ Matches_Files_In_Folders(pattern: "/dir2/*.css", count: 0)
✅ Matches_Files_In_Folders(pattern: "/jquery-1.12.2.js", count: 1)
✅ Matches_Files_In_Recursive_Folders(pattern: "/**/*.*")
✅ Matches_Files_In_Recursive_Folders(pattern: "/**/*.js")

✅ Smidge.Tests.DefaultUrlManagerTests

✅ Make_Bundle_Url
✅ Make_Bundle_Url_Keep_File_Extensions
✅ Make_Composite_Url
✅ Make_Composite_Url_Keep_File_Extensions
✅ Make_Composite_Url_Splits
✅ Parse_Path
✅ Throws_When_Single_Dependency_Too_Long

✅ Smidge.Tests.FileBatcherTests

✅ Get_Composite_File_Collection_For_Url_Generation
✅ Get_Composite_File_Collection_For_Url_Generation_No_Duplicates

✅ Smidge.Tests.JsSourceMapProcessorTests

✅ Source_Map_Removed

✅ Smidge.Tests.PreProcessorPipelineTests

✅ Can_Process_Pipeline

✅ Smidge.Tests.RequestHelperTests

✅ No
✅ Normalize_Web_Path_Absolute
✅ Normalize_Web_Path_External_Schemaless
✅ Normalize_Web_Path_External_With_Schema
✅ Normalize_Web_Path_Relative
✅ Normalize_Web_Path_Virtual_Path

✅ Smidge.Tests.SmidgeFileSystemTests

✅ ConvertToFileProviderPath(from: "/", to: "/", pathBase: null)
✅ ConvertToFileProviderPath(from: "/sub-site/test/file.css", to: "/test/file.css", pathBase: "sub-site")
✅ ConvertToFileProviderPath(from: "/sub/site/test/file.css", to: "/test/file.css", pathBase: "sub/site")
✅ ConvertToFileProviderPath(from: "/test/file.css", to: "/test/file.css", pathBase: null)
✅ ConvertToFileProviderPath(from: "~/file.css", to: "/file.css", pathBase: null)
✅ ConvertToFileProviderPath(from: "~/test/file.css", to: "/test/file.css", pathBase: null)
✅ ConvertToFileProviderPath(from: "file.css", to: "/file.css", pathBase: null)
✅ ConvertToFileProviderPath(from: "test/file.css", to: "/test/file.css", pathBase: null)
✅ Get_File_Info_Non_Existent_File_Throws_Informative_Exception
✅ Reverse_Map_Path

✅ Smidge.Tests.SmidgeHelperTests

✅ CssHere_HtmlString_For_Non_Existent_Css_Bundle_Throws_Exception
✅ Generate_Css_Urls_For_Non_Existent_Bundle_Throws_Exception
✅ Generate_Js_Urls_For_Non_Existent_Bundle_Throws_Exception
✅ JsHere_HtmlString_For_Non_Existent_Css_Bundle_Throws_Exception
✅ JsHereAsync_Returns_Empty_String_Result_When_No_Files_Found