From f706a6263fd09809f6eed3a4b6bef84b5d3a5f61 Mon Sep 17 00:00:00 2001 From: Annette Findley <117473104+varndellwagglebee@users.noreply.github.com> Date: Fri, 12 Dec 2025 11:43:48 -0500 Subject: [PATCH 1/3] Update pack_publish.yml Updated to include publish status --- .github/workflows/pack_publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack_publish.yml b/.github/workflows/pack_publish.yml index da79cee9..61ba60d7 100644 --- a/.github/workflows/pack_publish.yml +++ b/.github/workflows/pack_publish.yml @@ -8,7 +8,8 @@ permissions: contents: write pull-requests: write packages: write - + statuses: write + jobs: set-config: uses: Stillpoint-Software/shared-workflows/.github/workflows/determine_build_configuration.yml@main @@ -25,3 +26,9 @@ jobs: build_configuration: ${{ needs.set-config.outputs.build_configuration }} secrets: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} + result: + needs: [publish] + if: always() + runs-on: ubuntu-latest + steps: + - run: echo "Pack & Publish result = ${{ needs.publish.result }}" From b320906151713e2577f844eb32e77a91624215fc Mon Sep 17 00:00:00 2001 From: "annette.findley" Date: Fri, 12 Dec 2025 12:01:09 -0500 Subject: [PATCH 2/3] Converted solution, updated to NET 10, added publish status, ran tests and benchmarks. --- .github/workflows/format.yml | 2 +- Directory.Build.props | 2 +- Hyperbee.Json.sln | 83 ---- Hyperbee.Json.slnx | 29 ++ README.md | 358 +++++++++--------- src/Hyperbee.Json/Hyperbee.Json.csproj | 4 +- .../Hyperbee.Json.Benchmark.csproj | 14 +- ...pressionParserEvaluator-report-jsonpath.md | 10 +- ...hmark.JsonDiffBenchmark-report-jsonpath.md | 18 +- ...mark.JsonPatchBenchmark-report-jsonpath.md | 22 +- ...ParseAndSelectEvaluator-report-jsonpath.md | 298 +++++++-------- .../Hyperbee.Json.Cts.csproj | 12 +- .../Tests/cts-basic-tests.cs | 75 ++-- .../Tests/cts-filter-tests.cs | 285 +++++++------- .../Tests/cts-functions-tests.cs | 157 ++++---- .../Tests/cts-index-selector-tests.cs | 23 +- .../Tests/cts-name-selector-tests.cs | 209 +++++----- .../Tests/cts-slice-selector-tests.cs | 79 ++-- .../Tests/cts-whitespace-tests.cs | 337 +++++++++-------- .../Core/JsonPathBuilderTests.cs | 2 +- .../Dynamic/JsonDynamicTests.cs | 2 +- .../Hyperbee.Json.Tests.csproj | 14 +- .../Patch/JsonDiffTests.cs | 20 +- .../Patch/JsonPatchTests.cs | 2 +- .../Path/Parser/ExtensionFunctionTests.cs | 2 +- .../Path/Parser/FilterParserTests.cs | 2 +- .../Path/Parser/ValueTypeComparerTests.cs | 12 +- .../Query/JsonPathBookstoreSelectPathTests.cs | 2 +- .../Path/Query/JsonPathBookstoreTests.cs | 2 +- .../Query/JsonPathBracketNotationTests.cs | 26 +- .../Path/Query/JsonPathInOperationsTests.cs | 12 +- .../Path/Query/JsonPathMathOperationsTests.cs | 6 +- 32 files changed, 1041 insertions(+), 1080 deletions(-) delete mode 100644 Hyperbee.Json.sln create mode 100644 Hyperbee.Json.slnx diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 3adcfc23..9c5b85bb 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -46,7 +46,7 @@ jobs: if: ${{ needs.discover.result == 'success' }} uses: Stillpoint-Software/shared-workflows/.github/workflows/format.yml@main with: - dotnet_version: "9.0.x" + dotnet_version: "10.0.x" branch: ${{ needs.discover.outputs.branch_name }} secrets: inherit diff --git a/Directory.Build.props b/Directory.Build.props index cba845dd..7c058ba3 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ - + diff --git a/Hyperbee.Json.sln b/Hyperbee.Json.sln deleted file mode 100644 index 085a16bc..00000000 --- a/Hyperbee.Json.sln +++ /dev/null @@ -1,83 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31912.275 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{870D9301-BE3D-44EA-BF9C-FCC2E87FE4CD}" - ProjectSection(SolutionItems) = preProject - Directory.Build.props = Directory.Build.props - LICENSE = LICENSE - README.md = README.md - version.json = version.json - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hyperbee.Json", "src\Hyperbee.Json\Hyperbee.Json.csproj", "{4586A069-FB8A-4D87-9D0C-D0960447B8B0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Tests", "Solution Tests", "{F9B24CD9-E06B-4834-84CB-8C29E5F10BE0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{1FA7CE2A-C9DA-4DC3-A242-5A7EAF8EE4FC}" - ProjectSection(SolutionItems) = preProject - .github\dependabot.yml = .github\dependabot.yml - .github\issue-branch.yml = .github\issue-branch.yml - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{4DBDB7F5-3F66-4572-80B5-3322449C77A4}" - ProjectSection(SolutionItems) = preProject - .github\workflows\create_release.yml = .github\workflows\create_release.yml - .github\workflows\create_test_report.yml = .github\workflows\create_test_report.yml - .github\workflows\deploy-gh-pages.yml = .github\workflows\deploy-gh-pages.yml - .github\workflows\format.yml = .github\workflows\format.yml - .github\workflows\issue_branch.yml = .github\workflows\issue_branch.yml - .github\workflows\pack_publish.yml = .github\workflows\pack_publish.yml - .github\workflows\run_tests.yml = .github\workflows\run_tests.yml - .github\workflows\unlist_package.yml = .github\workflows\unlist_package.yml - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hyperbee.Json.Tests", "test\Hyperbee.Json.Tests\Hyperbee.Json.Tests.csproj", "{97886205-1467-4EE6-B3DA-496CA3D086E4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hyperbee.Json.Benchmark", "test\Hyperbee.Json.Benchmark\Hyperbee.Json.Benchmark.csproj", "{45C24D4B-4A0B-4FF1-AC66-38374D2455E9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hyperbee.Json.Cts", "test\Hyperbee.Json.Cts\Hyperbee.Json.Cts.csproj", "{CC1D3E7F-E6F1-432B-B4D1-9402AED24119}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "docs", "docs\docs.shproj", "{FC3B0A95-4DA0-43A0-A19D-624152BDF2F6}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4586A069-FB8A-4D87-9D0C-D0960447B8B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4586A069-FB8A-4D87-9D0C-D0960447B8B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4586A069-FB8A-4D87-9D0C-D0960447B8B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4586A069-FB8A-4D87-9D0C-D0960447B8B0}.Release|Any CPU.Build.0 = Release|Any CPU - {97886205-1467-4EE6-B3DA-496CA3D086E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {97886205-1467-4EE6-B3DA-496CA3D086E4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {97886205-1467-4EE6-B3DA-496CA3D086E4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {97886205-1467-4EE6-B3DA-496CA3D086E4}.Release|Any CPU.Build.0 = Release|Any CPU - {45C24D4B-4A0B-4FF1-AC66-38374D2455E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {45C24D4B-4A0B-4FF1-AC66-38374D2455E9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {45C24D4B-4A0B-4FF1-AC66-38374D2455E9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {45C24D4B-4A0B-4FF1-AC66-38374D2455E9}.Release|Any CPU.Build.0 = Release|Any CPU - {CC1D3E7F-E6F1-432B-B4D1-9402AED24119}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CC1D3E7F-E6F1-432B-B4D1-9402AED24119}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CC1D3E7F-E6F1-432B-B4D1-9402AED24119}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CC1D3E7F-E6F1-432B-B4D1-9402AED24119}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {1FA7CE2A-C9DA-4DC3-A242-5A7EAF8EE4FC} = {870D9301-BE3D-44EA-BF9C-FCC2E87FE4CD} - {4DBDB7F5-3F66-4572-80B5-3322449C77A4} = {1FA7CE2A-C9DA-4DC3-A242-5A7EAF8EE4FC} - {97886205-1467-4EE6-B3DA-496CA3D086E4} = {F9B24CD9-E06B-4834-84CB-8C29E5F10BE0} - {45C24D4B-4A0B-4FF1-AC66-38374D2455E9} = {F9B24CD9-E06B-4834-84CB-8C29E5F10BE0} - {CC1D3E7F-E6F1-432B-B4D1-9402AED24119} = {F9B24CD9-E06B-4834-84CB-8C29E5F10BE0} - {FC3B0A95-4DA0-43A0-A19D-624152BDF2F6} = {870D9301-BE3D-44EA-BF9C-FCC2E87FE4CD} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {32874F5B-B467-4F28-A8E2-82C2536FB228} - EndGlobalSection - GlobalSection(SharedMSBuildProjectFiles) = preSolution - docs\docs.projitems*{fc3b0a95-4da0-43a0-a19d-624152bdf2f6}*SharedItemsImports = 13 - EndGlobalSection -EndGlobal diff --git a/Hyperbee.Json.slnx b/Hyperbee.Json.slnx new file mode 100644 index 00000000..8f8f785a --- /dev/null +++ b/Hyperbee.Json.slnx @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index 3ae85f75..dbdf95a3 100644 --- a/README.md +++ b/README.md @@ -95,207 +95,207 @@ Here is a performance comparison of various JSONPath queries on the standard boo } } ``` -| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated | -|------------------------ |----------:|----------:|----------:|-------:|-------:|----------:| +| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated | +|------------------------ | ----------:|----------:|----------:|-------:|-------:|----------:| |`$..[?(@.price < 10)]` -| JsonCraft.JsonElement | 3.841 us | 0.3111 us | 0.0171 us | 0.2899 | - | 3.59 KB | -| JsonCons.JsonElement | 7.459 us | 0.6412 us | 0.0351 us | 1.0376 | 0.0076 | 12.77 KB | -| Hyperbee.JsonElement | 8.284 us | 2.5497 us | 0.1398 us | 1.6785 | 0.0153 | 20.73 KB | -| Hyperbee.JsonNode | 11.086 us | 8.0907 us | 0.4435 us | 1.8921 | - | 23.79 KB | -| Newtonsoft.JObject | 12.153 us | 2.4881 us | 0.1364 us | 2.1057 | 0.0763 | 25.86 KB | -| JsonEverything.JsonNode | 23.541 us | 1.3946 us | 0.0764 us | 3.9063 | 0.1221 | 48.15 KB | -| | | | | | | | -|`$..['bicycle','price']` -| JsonCraft.JsonElement | 3.136 us | 0.2760 us | 0.0151 us | 0.3242 | - | 4.01 KB | -| Hyperbee.JsonElement | 3.578 us | 0.4623 us | 0.0253 us | 0.4349 | 0.0038 | 5.37 KB | -| JsonCons.JsonElement | 3.948 us | 0.6099 us | 0.0334 us | 0.5798 | - | 7.18 KB | -| Hyperbee.JsonNode | 5.181 us | 1.8016 us | 0.0988 us | 0.7477 | 0.0076 | 9.23 KB | -| Newtonsoft.JObject | 7.823 us | 0.8017 us | 0.0439 us | 1.1749 | 0.0458 | 14.55 KB | -| JsonEverything.JsonNode | 16.753 us | 1.5507 us | 0.0850 us | 2.3193 | 0.0610 | 28.5 KB | -| | | | | | | | -|`$..` | | | | | | | -| JsonCraft.JsonElement | 2.497 us | 0.0903 us | 0.0049 us | 0.2327 | - | 2.88 KB | -| Hyperbee.JsonElement | 3.299 us | 0.8178 us | 0.0448 us | 0.5302 | 0.0038 | 6.51 KB | -| JsonCons.JsonElement | 4.176 us | 0.5887 us | 0.0323 us | 0.6866 | - | 8.49 KB | -| Hyperbee.JsonNode | 5.330 us | 0.7684 us | 0.0421 us | 0.8392 | - | 10.3 KB | -| Newtonsoft.JObject | 7.784 us | 0.5303 us | 0.0291 us | 1.1444 | 0.0458 | 14.19 KB | -| JsonEverything.JsonNode | 21.226 us | 1.0905 us | 0.0598 us | 2.7466 | 0.0610 | 33.97 KB | -| | | | | | | | +| JsonCraft.JsonElement | 3.049 us | 0.7626 us | 0.0418 us | 0.2899 | - | 3.59 KB | +| Hyperbee.JsonElement | 5.400 us | 0.5197 us | 0.0285 us | 1.2894 | 0.0076 | 15.84 KB | +| Hyperbee.JsonNode | 5.824 us | 1.8214 us | 0.0998 us | 1.4954 | 0.0305 | 18.38 KB | +| JsonCons.JsonElement | 5.955 us | 2.4616 us | 0.1349 us | 1.0376 | 0.0076 | 12.73 KB | +| Newtonsoft.JObject | 8.838 us | 1.3040 us | 0.0715 us | 2.1057 | 0.0763 | 25.86 KB | +| JsonEverything.JsonNode | 19.543 us | 9.1216 us | 0.5000 us | 3.9063 | 0.1221 | 48.15 KB | +| | | | | | | | +|`$..['bicycle','price']` +| JsonCraft.JsonElement | 2.451 us | 0.3691 us | 0.0202 us | 0.3242 | - | 4.01 KB | +| Hyperbee.JsonElement | 2.689 us | 0.6920 us | 0.0379 us | 0.4158 | - | 5.12 KB | +| JsonCons.JsonElement | 3.217 us | 0.4797 us | 0.0263 us | 0.5798 | 0.0038 | 7.13 KB | +| Hyperbee.JsonNode | 3.435 us | 0.8745 us | 0.0479 us | 0.7210 | 0.0114 | 8.84 KB | +| Newtonsoft.JObject | 5.548 us | 1.7475 us | 0.0958 us | 1.1826 | 0.0458 | 14.55 KB | +| JsonEverything.JsonNode | 12.999 us | 0.5857 us | 0.0321 us | 2.3193 | 0.0610 | 28.5 KB | +| | | | | | | | +|`$..` +| JsonCraft.JsonElement | 2.110 us | 0.2534 us | 0.0139 us | 0.2327 | - | 2.88 KB | +| Hyperbee.JsonElement | 2.478 us | 0.3201 us | 0.0175 us | 0.5226 | 0.0038 | 6.45 KB | +| Hyperbee.JsonNode | 3.434 us | 0.6438 us | 0.0353 us | 0.7782 | 0.0153 | 9.54 KB | +| JsonCons.JsonElement | 3.450 us | 0.5528 us | 0.0303 us | 0.6866 | 0.0038 | 8.45 KB | +| Newtonsoft.JObject | 5.217 us | 0.4099 us | 0.0225 us | 1.1520 | 0.0458 | 14.19 KB | +| JsonEverything.JsonNode | 17.330 us | 1.5400 us | 0.0844 us | 2.7466 | 0.0610 | 33.97 KB | +| | | | | | | | |`$..author` -| JsonCraft.JsonElement | 2.904 us | 4.2915 us | 0.2352 us | 0.2327 | - | 2.88 KB | -| Hyperbee.JsonElement | 3.068 us | 0.3672 us | 0.0201 us | 0.4196 | 0.0038 | 5.16 KB | -| JsonCons.JsonElement | 3.381 us | 0.6294 us | 0.0345 us | 0.4501 | - | 5.55 KB | -| Hyperbee.JsonNode | 5.030 us | 0.6100 us | 0.0334 us | 0.7324 | 0.0076 | 9.02 KB | -| Newtonsoft.JObject | 7.469 us | 1.7563 us | 0.0963 us | 1.1444 | 0.0305 | 14.2 KB | -| JsonEverything.JsonNode | 15.752 us | 3.8966 us | 0.2136 us | 2.1057 | 0.0305 | 26.1 KB | -| | | | | | | | +| JsonCraft.JsonElement | 2.352 us | 0.4147 us | 0.0227 us | 0.2327 | - | 2.88 KB | +| Hyperbee.JsonElement | 2.359 us | 0.2998 us | 0.0164 us | 0.4158 | - | 5.1 KB | +| JsonCons.JsonElement | 2.826 us | 1.7249 us | 0.0945 us | 0.4463 | 0.0038 | 5.47 KB | +| Hyperbee.JsonNode | 3.290 us | 2.1900 us | 0.1200 us | 0.7019 | 0.0038 | 8.64 KB | +| Newtonsoft.JObject | 5.246 us | 0.8047 us | 0.0441 us | 1.1520 | 0.0381 | 14.2 KB | +| JsonEverything.JsonNode | 12.429 us | 6.1835 us | 0.3389 us | 2.1057 | 0.0305 | 26.1 KB | +| | | | | | | | |`$..book[?@.isbn]` -| Hyperbee.JsonElement | 3.913 us | 1.5846 us | 0.0869 us | 0.5493 | - | 6.8 KB | -| JsonCons.JsonElement | 4.359 us | 2.1655 us | 0.1187 us | 0.5875 | - | 7.21 KB | -| Hyperbee.JsonNode | 5.335 us | 0.7057 us | 0.0387 us | 0.8621 | 0.0153 | 10.62 KB | -| JsonEverything.JsonNode | 17.200 us | 1.9836 us | 0.1087 us | 2.4414 | 0.0610 | 29.98 KB | -| JsonCraft.JsonElement | NA | NA | NA | NA | NA | NA | -| Newtonsoft.JObject | NA | NA | NA | NA | NA | NA | -| | | | | | | | +| Hyperbee.JsonElement | 2.883 us | 1.0678 us | 0.0585 us | 0.4997 | 0.0038 | 6.14 KB | +| JsonCons.JsonElement | 3.362 us | 0.8878 us | 0.0487 us | 0.5836 | 0.0038 | 7.16 KB | +| Hyperbee.JsonNode | 3.965 us | 3.7942 us | 0.2080 us | 0.7858 | 0.0153 | 9.64 KB | +| JsonEverything.JsonNode | 13.766 us | 1.2953 us | 0.0710 us | 2.4414 | 0.0610 | 29.98 KB | +| JsonCraft.JsonElement | NA | NA | NA | NA | NA | NA | +| Newtonsoft.JObject | NA | NA | NA | NA | NA | NA | +| | | | | | | | |`$..book[?@.price == 8.99 && @.category == 'fiction']` -| Hyperbee.JsonElement | 5.135 us | 1.0302 us | 0.0565 us | 0.7706 | - | 9.47 KB | -| JsonCons.JsonElement | 6.105 us | 0.6309 us | 0.0346 us | 0.6943 | 0.0076 | 8.52 KB | -| Hyperbee.JsonNode | 7.002 us | 3.0008 us | 0.1645 us | 1.0910 | 0.0229 | 13.41 KB | -| JsonEverything.JsonNode | 21.845 us | 3.9271 us | 0.2153 us | 3.2043 | 0.0916 | 39.52 KB | -| JsonCraft.JsonElement | NA | NA | NA | NA | NA | NA | -| Newtonsoft.JObject | NA | NA | NA | NA | NA | NA | -| | | | | | | | -`$..book[0,1]` -| JsonCraft.JsonElement | 2.936 us | 0.6578 us | 0.0361 us | 0.2518 | - | 3.09 KB | -| Hyperbee.JsonElement | 3.157 us | 0.8302 us | 0.0455 us | 0.4196 | 0.0038 | 5.16 KB | -| JsonCons.JsonElement | 3.691 us | 0.1430 us | 0.0078 us | 0.4997 | - | 6.15 KB | -| Hyperbee.JsonNode | 4.972 us | 0.6586 us | 0.0361 us | 0.7324 | 0.0076 | 9.02 KB | -| Newtonsoft.JObject | 7.441 us | 0.5961 us | 0.0327 us | 1.1749 | 0.0458 | 14.45 KB | -| JsonEverything.JsonNode | 15.523 us | 5.4908 us | 0.3010 us | 2.1362 | 0.0610 | 26.41 KB | -| | | | | | | | +| Hyperbee.JsonElement | 3.708 us | 1.8637 us | 0.1022 us | 0.6752 | 0.0038 | 8.28 KB | +| Hyperbee.JsonNode | 4.746 us | 0.9875 us | 0.0541 us | 0.9460 | - | 11.91 KB | +| JsonCons.JsonElement | 4.845 us | 1.3375 us | 0.0733 us | 0.6866 | - | 8.48 KB | +| JsonEverything.JsonNode | 17.256 us | 1.0914 us | 0.0598 us | 3.1738 | 0.0610 | 39.27 KB | +| JsonCraft.JsonElement | NA | NA | NA | NA | NA | NA | +| Newtonsoft.JObject | NA | NA | NA | NA | NA | NA | +| | | | | | | | +|`$..book[0,1]` +| JsonCraft.JsonElement | 2.345 us | 0.1935 us | 0.0106 us | 0.2518 | - | 3.09 KB | +| Hyperbee.JsonElement | 2.417 us | 0.0175 us | 0.0010 us | 0.4158 | - | 5.1 KB | +| JsonCons.JsonElement | 3.005 us | 0.9922 us | 0.0544 us | 0.4959 | 0.0038 | 6.1 KB | +| Hyperbee.JsonNode | 3.163 us | 1.0620 us | 0.0582 us | 0.7019 | - | 8.64 KB | +| Newtonsoft.JObject | 5.089 us | 0.8914 us | 0.0489 us | 1.1749 | 0.0458 | 14.45 KB | +| JsonEverything.JsonNode | 12.339 us | 0.9570 us | 0.0525 us | 2.1362 | 0.0610 | 26.41 KB | +| | | | | | | | |`$..book[0]` -| JsonCraft.JsonElement | 2.825 us | 0.0934 us | 0.0051 us | 0.2441 | - | 3 KB | -| Hyperbee.JsonElement | 3.114 us | 0.4106 us | 0.0225 us | 0.4196 | 0.0038 | 5.16 KB | -| JsonCons.JsonElement | 3.451 us | 0.2921 us | 0.0160 us | 0.4578 | 0.0038 | 5.63 KB | -| Hyperbee.JsonNode | 4.691 us | 1.4048 us | 0.0770 us | 0.7324 | 0.0076 | 9.02 KB | -| Newtonsoft.JObject | 7.720 us | 0.8748 us | 0.0480 us | 1.1597 | 0.0458 | 14.33 KB | -| JsonEverything.JsonNode | 15.314 us | 3.3459 us | 0.1834 us | 2.1210 | 0.0610 | 26.02 KB | -| | | | | | | | +| JsonCraft.JsonElement | 2.241 us | 0.1554 us | 0.0085 us | 0.2441 | - | 3 KB | +| Hyperbee.JsonElement | 2.271 us | 1.0724 us | 0.0588 us | 0.4158 | - | 5.1 KB | +| JsonCons.JsonElement | 2.708 us | 0.8340 us | 0.0457 us | 0.4501 | - | 5.55 KB | +| Hyperbee.JsonNode | 3.528 us | 0.2841 us | 0.0156 us | 0.7019 | 0.0038 | 8.64 KB | +| Newtonsoft.JObject | 5.005 us | 0.3486 us | 0.0191 us | 1.1673 | 0.0381 | 14.33 KB | +| JsonEverything.JsonNode | 11.781 us | 1.7173 us | 0.0941 us | 2.1057 | 0.0610 | 26.02 KB | +| | | | | | | | |`$.store..price` -| JsonCraft.JsonElement | 2.912 us | 1.3083 us | 0.0717 us | 0.2518 | - | 3.13 KB | -| Hyperbee.JsonElement | 2.993 us | 0.4534 us | 0.0249 us | 0.3891 | 0.0038 | 4.8 KB | -| JsonCons.JsonElement | 3.446 us | 0.9305 us | 0.0510 us | 0.4578 | - | 5.62 KB | -| Hyperbee.JsonNode | 4.721 us | 0.9516 us | 0.0522 us | 0.7095 | 0.0076 | 8.7 KB | -| Newtonsoft.JObject | 7.723 us | 1.1978 us | 0.0657 us | 1.1597 | 0.0305 | 14.34 KB | -| JsonEverything.JsonNode | 15.966 us | 1.1138 us | 0.0610 us | 2.1362 | 0.0610 | 26.63 KB | -| | | | | | | | +| Hyperbee.JsonElement | 2.293 us | 0.4706 us | 0.0258 us | 0.3853 | - | 4.73 KB | +| JsonCraft.JsonElement | 2.363 us | 1.0577 us | 0.0580 us | 0.2518 | - | 3.13 KB | +| JsonCons.JsonElement | 2.720 us | 2.0514 us | 0.1124 us | 0.4539 | - | 5.57 KB | +| Hyperbee.JsonNode | 3.181 us | 0.5370 us | 0.0294 us | 0.6828 | - | 8.38 KB | +| Newtonsoft.JObject | 5.083 us | 0.4737 us | 0.0260 us | 1.1673 | 0.0381 | 14.34 KB | +| JsonEverything.JsonNode | 13.102 us | 2.1212 us | 0.1163 us | 2.1667 | 0.0610 | 26.63 KB | +| | | | | | | | |`$.store.*` -| JsonCraft.JsonElement | 1.882 us | 0.5586 us | 0.0306 us | 0.2022 | - | 2.49 KB | -| JsonCons.JsonElement | 2.151 us | 0.1067 us | 0.0058 us | 0.2670 | - | 3.31 KB | -| Hyperbee.JsonElement | 2.167 us | 0.6457 us | 0.0354 us | 0.2327 | - | 2.88 KB | -| Hyperbee.JsonNode | 2.435 us | 0.9690 us | 0.0531 us | 0.2403 | - | 2.95 KB | -| JsonEverything.JsonNode | 3.047 us | 0.4674 us | 0.0256 us | 0.3891 | - | 4.8 KB | -| Newtonsoft.JObject | 6.576 us | 0.8290 us | 0.0454 us | 1.1749 | 0.0458 | 14.43 KB | -| | | | | | | | +| JsonCraft.JsonElement | 1.561 us | 0.1662 us | 0.0091 us | 0.2022 | - | 2.49 KB | +| Hyperbee.JsonElement | 1.602 us | 0.6889 us | 0.0378 us | 0.2289 | - | 2.81 KB | +| JsonCons.JsonElement | 1.693 us | 0.7460 us | 0.0409 us | 0.2651 | - | 3.27 KB | +| Hyperbee.JsonNode | 1.784 us | 0.6002 us | 0.0329 us | 0.2365 | 0.0019 | 2.9 KB | +| JsonEverything.JsonNode | 2.395 us | 0.3007 us | 0.0165 us | 0.3891 | - | 4.8 KB | +| Newtonsoft.JObject | 4.664 us | 0.6593 us | 0.0361 us | 1.1749 | 0.0458 | 14.43 KB | +| | | | | | | | |`$.store.bicycle.color` -| Hyperbee.JsonElement | 1.920 us | 0.6179 us | 0.0339 us | 0.1869 | - | 2.3 KB | -| JsonCraft.JsonElement | 2.032 us | 0.7770 us | 0.0426 us | 0.2022 | - | 2.49 KB | -| JsonCons.JsonElement | 2.216 us | 0.1473 us | 0.0081 us | 0.2670 | - | 3.27 KB | -| Hyperbee.JsonNode | 2.383 us | 1.2149 us | 0.0666 us | 0.2327 | - | 2.88 KB | -| JsonEverything.JsonNode | 3.556 us | 0.5152 us | 0.0282 us | 0.4654 | 0.0038 | 5.74 KB | -| Newtonsoft.JObject | 6.700 us | 1.6404 us | 0.0899 us | 1.1826 | 0.0381 | 14.49 KB | -| | | | | | | | +| Hyperbee.JsonElement | 1.454 us | 0.6877 us | 0.0377 us | 0.1755 | - | 2.17 KB | +| JsonCraft.JsonElement | 1.585 us | 0.7476 us | 0.0410 us | 0.1984 | - | 2.45 KB | +| Hyperbee.JsonNode | 1.695 us | 0.7429 us | 0.0407 us | 0.2346 | 0.0019 | 2.88 KB | +| JsonCons.JsonElement | 1.816 us | 1.7814 us | 0.0976 us | 0.2632 | - | 3.23 KB | +| JsonEverything.JsonNode | 2.892 us | 0.3155 us | 0.0173 us | 0.4654 | 0.0038 | 5.74 KB | +| Newtonsoft.JObject | 4.582 us | 0.7337 us | 0.0402 us | 1.1826 | 0.0381 | 14.49 KB | +| | | | | | | | |`$.store.book[-1:]` -| JsonCraft.JsonElement | 2.004 us | 0.3158 us | 0.0173 us | 0.2098 | - | 2.58 KB | -| Hyperbee.JsonElement | 2.087 us | 0.1721 us | 0.0094 us | 0.1984 | - | 2.47 KB | -| JsonCons.JsonElement | 2.399 us | 0.3533 us | 0.0194 us | 0.2899 | - | 3.56 KB | -| Hyperbee.JsonNode | 2.467 us | 0.9814 us | 0.0538 us | 0.2403 | - | 2.97 KB | -| JsonEverything.JsonNode | 3.679 us | 0.4354 us | 0.0239 us | 0.4654 | 0.0038 | 5.72 KB | -| Newtonsoft.JObject | 6.472 us | 1.5636 us | 0.0857 us | 1.1826 | 0.0534 | 14.52 KB | -| | | | | | | | +| Hyperbee.JsonElement | 1.579 us | 0.5378 us | 0.0295 us | 0.1945 | - | 2.41 KB | +| JsonCraft.JsonElement | 1.622 us | 0.1762 us | 0.0097 us | 0.2098 | - | 2.58 KB | +| Hyperbee.JsonNode | 1.809 us | 0.3378 us | 0.0185 us | 0.2422 | - | 2.97 KB | +| JsonCons.JsonElement | 1.882 us | 0.5619 us | 0.0308 us | 0.2861 | - | 3.52 KB | +| JsonEverything.JsonNode | 2.806 us | 0.3959 us | 0.0217 us | 0.4654 | 0.0038 | 5.72 KB | +| Newtonsoft.JObject | 4.663 us | 0.5645 us | 0.0309 us | 1.1826 | 0.0534 | 14.52 KB | +| | | | | | | | |`$.store.book[:2]` -| JsonCraft.JsonElement | 2.010 us | 0.1463 us | 0.0080 us | 0.2098 | - | 2.58 KB | -| Hyperbee.JsonElement | 2.128 us | 0.4884 us | 0.0268 us | 0.1984 | - | 2.47 KB | -| JsonCons.JsonElement | 2.382 us | 0.0585 us | 0.0032 us | 0.2899 | - | 3.59 KB | -| Hyperbee.JsonNode | 2.450 us | 0.1728 us | 0.0095 us | 0.2403 | - | 2.97 KB | -| JsonEverything.JsonNode | 4.019 us | 2.1096 us | 0.1156 us | 0.4883 | 0.0038 | 6.02 KB | -| Newtonsoft.JObject | 6.899 us | 0.6775 us | 0.0371 us | 1.1826 | 0.0305 | 14.51 KB | -| | | | | | | | +| Hyperbee.JsonElement | 1.604 us | 0.5879 us | 0.0322 us | 0.1945 | - | 2.41 KB | +| JsonCraft.JsonElement | 1.637 us | 0.0647 us | 0.0035 us | 0.2098 | - | 2.58 KB | +| Hyperbee.JsonNode | 1.826 us | 0.1527 us | 0.0084 us | 0.2422 | - | 2.97 KB | +| JsonCons.JsonElement | 1.871 us | 0.6744 us | 0.0370 us | 0.2880 | - | 3.54 KB | +| JsonEverything.JsonNode | 3.068 us | 0.0441 us | 0.0024 us | 0.4883 | 0.0038 | 6.02 KB | +| Newtonsoft.JObject | 5.069 us | 5.6079 us | 0.3074 us | 1.1826 | 0.0305 | 14.51 KB | +| | | | | | | | |`$.store.book[?(@.author && @.title)]` -| JsonCraft.JsonElement | 2.567 us | 0.2239 us | 0.0123 us | 0.2670 | - | 3.3 KB | -| Hyperbee.JsonElement | 3.362 us | 0.2369 us | 0.0130 us | 0.4501 | - | 5.52 KB | -| JsonCons.JsonElement | 3.805 us | 0.8769 us | 0.0481 us | 0.4578 | 0.0038 | 5.63 KB | -| Hyperbee.JsonNode | 5.128 us | 1.1406 us | 0.0625 us | 0.7477 | 0.0076 | 9.23 KB | -| Newtonsoft.JObject | 7.514 us | 1.6892 us | 0.0926 us | 1.3199 | 0.0458 | 16.18 KB | -| JsonEverything.JsonNode | 9.261 us | 3.4741 us | 0.1904 us | 1.4801 | 0.0305 | 18.32 KB | -| | | | | | | | +| JsonCraft.JsonElement | 2.007 us | 0.5824 us | 0.0319 us | 0.2670 | - | 3.3 KB | +| Hyperbee.JsonElement | 2.387 us | 0.5434 us | 0.0298 us | 0.3395 | - | 4.18 KB | +| JsonCons.JsonElement | 2.970 us | 0.5634 us | 0.0309 us | 0.4539 | 0.0038 | 5.58 KB | +| Hyperbee.JsonNode | 3.636 us | 1.5759 us | 0.0864 us | 0.6561 | 0.0076 | 8.08 KB | +| Newtonsoft.JObject | 5.449 us | 1.4272 us | 0.0782 us | 1.3199 | 0.0458 | 16.18 KB | +| JsonEverything.JsonNode | 7.147 us | 3.7089 us | 0.2033 us | 1.4648 | 0.0305 | 18.32 KB | +| | | | | | | | |`$.store.book[?(@.category == 'fiction')]` -| JsonCraft.JsonElement | 2.734 us | 0.3242 us | 0.0178 us | 0.2747 | - | 3.38 KB | -| Hyperbee.JsonElement | 3.315 us | 0.3024 us | 0.0166 us | 0.4120 | - | 5.09 KB | -| JsonCons.JsonElement | 3.426 us | 1.0773 us | 0.0590 us | 0.4120 | - | 5.05 KB | -| Hyperbee.JsonNode | 5.003 us | 0.8363 us | 0.0458 us | 0.7248 | 0.0153 | 8.89 KB | -| Newtonsoft.JObject | 7.213 us | 1.1931 us | 0.0654 us | 1.2817 | 0.0458 | 15.74 KB | -| JsonEverything.JsonNode | 8.898 us | 1.8821 us | 0.1032 us | 1.3428 | 0.0305 | 16.49 KB | -| | | | | | | | +| JsonCraft.JsonElement | 2.243 us | 1.6372 us | 0.0897 us | 0.2747 | - | 3.38 KB | +| JsonCons.JsonElement | 2.800 us | 0.8079 us | 0.0443 us | 0.4082 | 0.0038 | 5.01 KB | +| Hyperbee.JsonElement | 2.825 us | 2.4544 us | 0.1345 us | 0.3510 | - | 4.34 KB | +| Hyperbee.JsonNode | 3.391 us | 3.0949 us | 0.1696 us | 0.6561 | - | 8.2 KB | +| Newtonsoft.JObject | 5.009 us | 0.9350 us | 0.0513 us | 1.2817 | 0.0458 | 15.74 KB | +| JsonEverything.JsonNode | 7.002 us | 0.9434 us | 0.0517 us | 1.3428 | 0.0305 | 16.49 KB | +| | | | | | | | |`$.store.book[?(@.price < 10)].title` -| JsonCraft.JsonElement | 3.108 us | 1.8864 us | 0.1034 us | 0.2747 | - | 3.37 KB | -| Hyperbee.JsonElement | 3.353 us | 0.4814 us | 0.0264 us | 0.4158 | - | 5.1 KB | -| JsonCons.JsonElement | 4.008 us | 0.5005 us | 0.0274 us | 0.4272 | - | 5.27 KB | -| Hyperbee.JsonNode | 5.285 us | 0.7662 us | 0.0420 us | 0.7019 | - | 8.78 KB | -| Newtonsoft.JObject | 7.687 us | 1.0056 us | 0.0551 us | 1.2817 | 0.0458 | 15.89 KB | -| JsonEverything.JsonNode | 9.513 us | 6.3528 us | 0.3482 us | 1.4038 | - | 17.38 KB | -| | | | | | | | +| JsonCraft.JsonElement | 2.357 us | 1.1758 us | 0.0644 us | 0.2747 | - | 3.37 KB | +| Hyperbee.JsonElement | 2.496 us | 1.2422 us | 0.0681 us | 0.3548 | - | 4.35 KB | +| JsonCons.JsonElement | 2.954 us | 1.3447 us | 0.0737 us | 0.4196 | - | 5.18 KB | +| Hyperbee.JsonNode | 3.466 us | 0.7381 us | 0.0405 us | 0.6561 | - | 8.09 KB | +| Newtonsoft.JObject | 5.209 us | 1.2339 us | 0.0676 us | 1.2894 | 0.0534 | 15.89 KB | +| JsonEverything.JsonNode | 7.547 us | 1.3411 us | 0.0735 us | 1.4038 | 0.0305 | 17.38 KB | +| | | | | | | | |`$.store.book[?(@.price > 10 && @.price < 20)]` -| JsonCraft.JsonElement | 3.475 us | 0.0797 us | 0.0044 us | 0.3090 | - | 3.82 KB | -| Hyperbee.JsonElement | 4.010 us | 0.6169 us | 0.0338 us | 0.5341 | - | 6.55 KB | -| JsonCons.JsonElement | 5.102 us | 1.1449 us | 0.0628 us | 0.5112 | - | 6.28 KB | -| Hyperbee.JsonNode | 6.086 us | 1.3252 us | 0.0726 us | 0.8316 | 0.0153 | 10.27 KB | -| Newtonsoft.JObject | 8.050 us | 0.6497 us | 0.0356 us | 1.3580 | 0.0458 | 16.69 KB | -| JsonEverything.JsonNode | 11.612 us | 0.2688 us | 0.0147 us | 1.8158 | 0.0458 | 22.27 KB | -| | | | | | | | +| JsonCraft.JsonElement | 2.798 us | 1.2832 us | 0.0703 us | 0.3090 | - | 3.82 KB | +| Hyperbee.JsonElement | 3.067 us | 1.9850 us | 0.1088 us | 0.4349 | 0.0038 | 5.37 KB | +| Hyperbee.JsonNode | 3.827 us | 2.2293 us | 0.1222 us | 0.7324 | - | 9.14 KB | +| JsonCons.JsonElement | 4.398 us | 3.5937 us | 0.1970 us | 0.5035 | - | 6.23 KB | +| Newtonsoft.JObject | 5.358 us | 2.0125 us | 0.1103 us | 1.3580 | 0.0534 | 16.69 KB | +| JsonEverything.JsonNode | 9.003 us | 2.3392 us | 0.1282 us | 1.8005 | 0.0305 | 22.27 KB | +| | | | | | | | |`$.store.book[?@.price == 8.99]` -| Hyperbee.JsonElement | 3.162 us | 0.9502 us | 0.0521 us | 0.3967 | - | 4.9 KB | -| JsonCons.JsonElement | 3.822 us | 0.0869 us | 0.0048 us | 0.4044 | - | 5.02 KB | -| Hyperbee.JsonNode | 4.889 us | 1.5106 us | 0.0828 us | 0.6943 | 0.0076 | 8.58 KB | -| JsonEverything.JsonNode | 8.310 us | 2.0101 us | 0.1102 us | 1.2512 | 0.0305 | 15.47 KB | -| JsonCraft.JsonElement | NA | NA | NA | NA | NA | NA | -| Newtonsoft.JObject | NA | NA | NA | NA | NA | NA | -| | | | | | | | +| Hyperbee.JsonElement | 2.291 us | 1.2891 us | 0.0707 us | 0.3357 | - | 4.15 KB | +| JsonCons.JsonElement | 2.826 us | 1.0191 us | 0.0559 us | 0.4044 | - | 4.97 KB | +| Hyperbee.JsonNode | 3.630 us | 3.3549 us | 0.1839 us | 0.6409 | - | 7.89 KB | +| JsonEverything.JsonNode | 6.450 us | 1.0062 us | 0.0552 us | 1.2512 | 0.0305 | 15.47 KB | +| JsonCraft.JsonElement | NA | NA | NA | NA | NA | NA | +| Newtonsoft.JObject | NA | NA | NA | NA | NA | NA | +| | | | | | | | |`$.store.book['category','author']` -| JsonCraft.JsonElement | 2.084 us | 0.4663 us | 0.0256 us | 0.2403 | - | 2.95 KB | -| JsonCons.JsonElement | 2.480 us | 0.0770 us | 0.0042 us | 0.2937 | - | 3.61 KB | -| Hyperbee.JsonElement | 2.569 us | 1.1453 us | 0.0628 us | 0.2174 | - | 2.67 KB | -| JsonEverything.JsonNode | 3.309 us | 0.2755 us | 0.0151 us | 0.4387 | 0.0038 | 5.41 KB | -| Hyperbee.JsonNode | 4.142 us | 1.4670 us | 0.0804 us | 0.5188 | 0.0076 | 6.42 KB | -| Newtonsoft.JObject | 6.737 us | 0.5860 us | 0.0321 us | 1.2054 | 0.0534 | 14.85 KB | -| | | | | | | | +| JsonCraft.JsonElement | 1.650 us | 0.2189 us | 0.0120 us | 0.2403 | - | 2.95 KB | +| JsonCons.JsonElement | 1.862 us | 0.1098 us | 0.0060 us | 0.2937 | 0.0019 | 3.61 KB | +| Hyperbee.JsonElement | 1.988 us | 0.8489 us | 0.0465 us | 0.2098 | - | 2.61 KB | +| JsonEverything.JsonNode | 2.622 us | 0.8004 us | 0.0439 us | 0.4387 | 0.0038 | 5.41 KB | +| Hyperbee.JsonNode | 3.215 us | 1.1826 us | 0.0648 us | 0.5226 | 0.0076 | 6.42 KB | +| Newtonsoft.JObject | 4.681 us | 0.5122 us | 0.0281 us | 1.2054 | 0.0534 | 14.85 KB | +| | | | | | | | |`$.store.book[*].author` -| JsonCraft.JsonElement | 2.256 us | 1.4487 us | 0.0794 us | 0.2136 | - | 2.63 KB | -| Hyperbee.JsonElement | 2.469 us | 0.7492 us | 0.0411 us | 0.2518 | - | 3.12 KB | -| JsonCons.JsonElement | 2.496 us | 0.3427 us | 0.0188 us | 0.2899 | - | 3.59 KB | -| Hyperbee.JsonNode | 4.088 us | 0.0348 us | 0.0019 us | 0.5569 | 0.0076 | 6.83 KB | -| Newtonsoft.JObject | 7.169 us | 1.8980 us | 0.1040 us | 1.1902 | 0.0534 | 14.64 KB | -| JsonEverything.JsonNode | 7.511 us | 0.2592 us | 0.0142 us | 1.0071 | 0.0153 | 12.45 KB | -| | | | | | | | +| JsonCraft.JsonElement | 1.729 us | 0.7445 us | 0.0408 us | 0.2136 | 0.0019 | 2.63 KB | +| JsonCons.JsonElement | 1.909 us | 0.4640 us | 0.0254 us | 0.2861 | - | 3.55 KB | +| Hyperbee.JsonElement | 1.993 us | 0.3660 us | 0.0201 us | 0.2480 | - | 3.05 KB | +| Hyperbee.JsonNode | 2.885 us | 2.4990 us | 0.1370 us | 0.5493 | - | 6.83 KB | +| Newtonsoft.JObject | 4.894 us | 6.5976 us | 0.3616 us | 1.1902 | 0.0534 | 14.64 KB | +| JsonEverything.JsonNode | 5.893 us | 1.3873 us | 0.0760 us | 1.0071 | - | 12.45 KB | +| | | | | | | | |`$.store.book[*]` -| JsonCraft.JsonElement | 2.048 us | 1.8693 us | 0.1025 us | 0.2022 | - | 2.48 KB | -| Hyperbee.JsonElement | 2.179 us | 0.6664 us | 0.0365 us | 0.2213 | - | 2.71 KB | -| JsonCons.JsonElement | 2.246 us | 0.1811 us | 0.0099 us | 0.2747 | - | 3.4 KB | -| Hyperbee.JsonNode | 2.672 us | 0.2099 us | 0.0115 us | 0.2556 | - | 3.17 KB | -| JsonEverything.JsonNode | 4.315 us | 0.0253 us | 0.0014 us | 0.5341 | - | 6.61 KB | -| Newtonsoft.JObject | 6.632 us | 1.6876 us | 0.0925 us | 1.1826 | 0.0381 | 14.49 KB | -| | | | | | | | +| JsonCraft.JsonElement | 1.578 us | 0.8516 us | 0.0467 us | 0.1984 | - | 2.45 KB | +| JsonCons.JsonElement | 1.692 us | 0.8482 us | 0.0465 us | 0.2728 | - | 3.35 KB | +| Hyperbee.JsonElement | 1.738 us | 0.3719 us | 0.0204 us | 0.2155 | - | 2.65 KB | +| Hyperbee.JsonNode | 1.923 us | 0.7320 us | 0.0401 us | 0.2556 | - | 3.17 KB | +| JsonEverything.JsonNode | 3.526 us | 0.0963 us | 0.0053 us | 0.5341 | - | 6.61 KB | +| Newtonsoft.JObject | 4.752 us | 0.2905 us | 0.0159 us | 1.1826 | 0.0381 | 14.49 KB | +| | | | | | | | |`$.store.book[0,1]` -| Hyperbee.JsonElement | 2.049 us | 0.0126 us | 0.0007 us | 0.1984 | - | 2.47 KB | -| JsonCraft.JsonElement | 2.056 us | 0.2169 us | 0.0119 us | 0.2136 | - | 2.64 KB | -| Hyperbee.JsonNode | 2.435 us | 0.5524 us | 0.0303 us | 0.2403 | - | 2.97 KB | -| JsonCons.JsonElement | 2.554 us | 1.3052 us | 0.0715 us | 0.3052 | - | 3.77 KB | -| JsonEverything.JsonNode | 3.987 us | 0.4523 us | 0.0248 us | 0.4883 | - | 6.07 KB | -| Newtonsoft.JObject | 6.648 us | 0.7321 us | 0.0401 us | 1.1902 | 0.0534 | 14.59 KB | -| | | | | | | | +| Hyperbee.JsonElement | 1.560 us | 0.6522 us | 0.0358 us | 0.1945 | - | 2.41 KB | +| JsonCraft.JsonElement | 1.675 us | 0.3241 us | 0.0178 us | 0.2136 | - | 2.64 KB | +| JsonCons.JsonElement | 1.910 us | 0.3014 us | 0.0165 us | 0.3033 | - | 3.73 KB | +| Hyperbee.JsonNode | 1.976 us | 1.1111 us | 0.0609 us | 0.2403 | - | 2.97 KB | +| JsonEverything.JsonNode | 3.071 us | 0.1558 us | 0.0085 us | 0.4883 | - | 6.07 KB | +| Newtonsoft.JObject | 4.870 us | 0.8053 us | 0.0441 us | 1.1902 | 0.0534 | 14.59 KB | +| | | | | | | | |`$.store.book[0].title` -| Hyperbee.JsonElement | 1.897 us | 0.1620 us | 0.0089 us | 0.1831 | - | 2.27 KB | -| JsonCraft.JsonElement | 2.055 us | 0.2876 us | 0.0158 us | 0.2060 | - | 2.55 KB | -| JsonCons.JsonElement | 2.318 us | 0.3233 us | 0.0177 us | 0.2708 | - | 3.35 KB | -| Hyperbee.JsonNode | 2.575 us | 0.1096 us | 0.0060 us | 0.2937 | - | 3.63 KB | -| JsonEverything.JsonNode | 4.534 us | 1.5492 us | 0.0849 us | 0.5951 | 0.0076 | 7.38 KB | -| Newtonsoft.JObject | 6.734 us | 2.0745 us | 0.1137 us | 1.1902 | 0.0458 | 14.62 KB | -| | | | | | | | +| Hyperbee.JsonElement | 1.515 us | 0.1457 us | 0.0080 us | 0.1755 | - | 2.17 KB | +| JsonCraft.JsonElement | 1.713 us | 1.1282 us | 0.0618 us | 0.2041 | - | 2.51 KB | +| JsonCons.JsonElement | 1.869 us | 0.0938 us | 0.0051 us | 0.2689 | - | 3.3 KB | +| Hyperbee.JsonNode | 1.945 us | 0.2311 us | 0.0127 us | 0.2937 | - | 3.6 KB | +| JsonEverything.JsonNode | 3.451 us | 0.4020 us | 0.0220 us | 0.5951 | - | 7.38 KB | +| Newtonsoft.JObject | 4.706 us | 1.4286 us | 0.0783 us | 1.1902 | 0.0458 | 14.62 KB | +| | | | | | | | |`$.store.book[0]` -| Hyperbee.JsonElement | 1.931 us | 0.1500 us | 0.0082 us | 0.1831 | - | 2.27 KB | -| JsonCraft.JsonElement | 1.996 us | 0.1804 us | 0.0099 us | 0.1984 | - | 2.48 KB | -| Hyperbee.JsonNode | 2.204 us | 0.1747 us | 0.0096 us | 0.2327 | - | 2.86 KB | -| JsonCons.JsonElement | 2.221 us | 0.1388 us | 0.0076 us | 0.2632 | - | 3.26 KB | -| JsonEverything.JsonNode | 3.592 us | 0.3654 us | 0.0200 us | 0.4616 | 0.0038 | 5.68 KB | -| Newtonsoft.JObject | 6.892 us | 2.7132 us | 0.1487 us | 1.1749 | 0.0381 | 14.48 KB | -| | | | | | | | +| Hyperbee.JsonElement | 1.392 us | 0.6219 us | 0.0341 us | 0.1755 | - | 2.17 KB | +| JsonCraft.JsonElement | 1.570 us | 0.2170 us | 0.0119 us | 0.1984 | - | 2.44 KB | +| JsonCons.JsonElement | 1.783 us | 0.9320 us | 0.0511 us | 0.2613 | - | 3.21 KB | +| Hyperbee.JsonNode | 1.870 us | 0.6578 us | 0.0361 us | 0.2308 | - | 2.83 KB | +| JsonEverything.JsonNode | 2.832 us | 0.6614 us | 0.0363 us | 0.4616 | 0.0038 | 5.68 KB | +| Newtonsoft.JObject | 4.697 us | 0.9290 us | 0.0509 us | 1.1749 | 0.0381 | 14.48 KB | +| | | | | | | | |`$` -| JsonCraft.JsonElement | 1.732 us | 0.0529 us | 0.0029 us | 0.1831 | - | 2.26 KB | -| Hyperbee.JsonElement | 1.751 us | 0.0628 us | 0.0034 us | 0.1850 | - | 2.27 KB | -| JsonEverything.JsonNode | 1.767 us | 0.0675 us | 0.0037 us | 0.1526 | - | 1.88 KB | -| Hyperbee.JsonNode | 1.790 us | 0.1222 us | 0.0067 us | 0.1450 | - | 1.78 KB | -| JsonCons.JsonElement | 1.929 us | 0.1539 us | 0.0084 us | 0.2422 | - | 2.98 KB | -| Newtonsoft.JObject | 6.587 us | 0.7309 us | 0.0401 us | 1.1368 | 0.0381 | 14.01 KB | +| Hyperbee.JsonElement | 1.316 us | 0.7199 us | 0.0395 us | 0.1755 | - | 2.17 KB | +| JsonCraft.JsonElement | 1.368 us | 0.0907 us | 0.0050 us | 0.1793 | - | 2.22 KB | +| JsonEverything.JsonNode | 1.438 us | 0.1670 us | 0.0092 us | 0.1526 | - | 1.88 KB | +| Hyperbee.JsonNode | 1.440 us | 0.2725 us | 0.0149 us | 0.1411 | - | 1.75 KB | +| JsonCons.JsonElement | 1.456 us | 0.1789 us | 0.0098 us | 0.2384 | - | 2.94 KB | +| Newtonsoft.JObject | 4.331 us | 1.0036 us | 0.0550 us | 1.1368 | 0.0381 | 13.98 KB | ## Credits diff --git a/src/Hyperbee.Json/Hyperbee.Json.csproj b/src/Hyperbee.Json/Hyperbee.Json.csproj index 84e21e5b..ccd44ec1 100644 --- a/src/Hyperbee.Json/Hyperbee.Json.csproj +++ b/src/Hyperbee.Json/Hyperbee.Json.csproj @@ -1,6 +1,6 @@  - net8.0;net9.0 + net8.0;net10.0 enable true @@ -36,9 +36,11 @@ + all runtime; build; native; contentfiles; analyzers; buildtransitive + \ No newline at end of file diff --git a/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj b/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj index dc094dc9..3cffe7cd 100644 --- a/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj +++ b/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 enable false @@ -14,13 +14,13 @@ - + - - - - + + + + @@ -28,10 +28,12 @@ + all runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.FilterExpressionParserEvaluator-report-jsonpath.md b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.FilterExpressionParserEvaluator-report-jsonpath.md index afa7bc1a..8bd0e775 100644 --- a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.FilterExpressionParserEvaluator-report-jsonpath.md +++ b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.FilterExpressionParserEvaluator-report-jsonpath.md @@ -1,10 +1,10 @@ ``` -BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.4351) -12th Gen Intel Core i9-12900HK, 1 CPU, 20 logical and 14 physical cores -.NET SDK 9.0.301 - [Host] : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 [AttachedDebugger] - ShortRun : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 +BenchmarkDotNet v0.15.8, Windows 11 (10.0.26200.7462/25H2/2025Update/HudsonValley2) +12th Gen Intel Core i9-12900HK 2.50GHz, 1 CPU, 20 logical and 14 physical cores +.NET SDK 10.0.101 + [Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 DEBUG + ShortRun : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 | Method | Mean | Error diff --git a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonDiffBenchmark-report-jsonpath.md b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonDiffBenchmark-report-jsonpath.md index 008be474..1c12c107 100644 --- a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonDiffBenchmark-report-jsonpath.md +++ b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonDiffBenchmark-report-jsonpath.md @@ -1,17 +1,17 @@ ``` -BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.4351) -12th Gen Intel Core i9-12900HK, 1 CPU, 20 logical and 14 physical cores -.NET SDK 9.0.301 - [Host] : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 [AttachedDebugger] - ShortRun : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 +BenchmarkDotNet v0.15.8, Windows 11 (10.0.26200.7462/25H2/2025Update/HudsonValley2) +12th Gen Intel Core i9-12900HK 2.50GHz, 1 CPU, 20 logical and 14 physical cores +.NET SDK 10.0.101 + [Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 DEBUG + ShortRun : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 | Method | Mean | Error | StdDev | Allocated | :-------------------- | --------: | ---------: | --------: | ---------: - | JsonDiff_JsonNode | 572.1 ns | 164.76 ns | 9.03 ns | 1.2 KB - | JsonDiff_JsonElement | 704.5 ns | 219.53 ns | 12.03 ns | 1.66 KB + | JsonDiff_JsonNode | 438.2 ns | 45.95 ns | 2.52 ns | 1.3 KB + | JsonDiff_JsonElement | 663.2 ns | 538.12 ns | 29.50 ns | 1.93 KB | | | | | - | JsonDiff_JsonNode | 704.4 ns | 267.47 ns | 14.66 ns | 1.3 KB - | JsonDiff_JsonElement | 905.6 ns | 73.54 ns | 4.03 ns | 1.93 KB + | JsonDiff_JsonNode | 347.0 ns | 117.11 ns | 6.42 ns | 1.2 KB + | JsonDiff_JsonElement | 472.1 ns | 175.95 ns | 9.64 ns | 1.66 KB ``` diff --git a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPatchBenchmark-report-jsonpath.md b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPatchBenchmark-report-jsonpath.md index 585b90ed..735405ff 100644 --- a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPatchBenchmark-report-jsonpath.md +++ b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPatchBenchmark-report-jsonpath.md @@ -1,16 +1,16 @@ ``` -BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.4351) -12th Gen Intel Core i9-12900HK, 1 CPU, 20 logical and 14 physical cores -.NET SDK 9.0.301 - [Host] : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 [AttachedDebugger] - ShortRun : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 +BenchmarkDotNet v0.15.8, Windows 11 (10.0.26200.7462/25H2/2025Update/HudsonValley2) +12th Gen Intel Core i9-12900HK 2.50GHz, 1 CPU, 20 logical and 14 physical cores +.NET SDK 10.0.101 + [Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 DEBUG + ShortRun : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 - | Method | Mean | Error | StdDev | Allocated - | :----------------------- | --------: | ---------: | -------: | ---------: - | Hyperbee_JsonNode | 172.9 ns | 44.86 ns | 2.46 ns | 520 B - | Hyperbee_JsonElement | 178.8 ns | 76.47 ns | 4.19 ns | 520 B - | JsonEverything_JsonNode | 289.7 ns | 108.59 ns | 5.95 ns | 968 B - | AspNetCore_JsonNode | 516.7 ns | 44.74 ns | 2.45 ns | 1024 B + | Method | Mean | Error | StdDev | Allocated + | :----------------------- | ---------: | ---------: | ---------: | ---------: + | Hyperbee_JsonElement | 79.45 ns | 34.78 ns | 1.906 ns | 392 B + | Hyperbee_JsonNode | 84.85 ns | 64.17 ns | 3.517 ns | 392 B + | JsonEverything_JsonNode | 188.61 ns | 319.11 ns | 17.491 ns | 968 B + | AspNetCore_JsonNode | 353.32 ns | 106.43 ns | 5.834 ns | 1024 B ``` diff --git a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPathParseAndSelectEvaluator-report-jsonpath.md b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPathParseAndSelectEvaluator-report-jsonpath.md index 12a72cb0..b42d0dec 100644 --- a/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPathParseAndSelectEvaluator-report-jsonpath.md +++ b/test/Hyperbee.Json.Benchmark/benchmark/results/Hyperbee.Json.Benchmark.JsonPathParseAndSelectEvaluator-report-jsonpath.md @@ -1,213 +1,213 @@ ``` -BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.4351) -12th Gen Intel Core i9-12900HK, 1 CPU, 20 logical and 14 physical cores -.NET SDK 9.0.301 - [Host] : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 [AttachedDebugger] - ShortRun : .NET 9.0.6 (9.0.625.26613), X64 RyuJIT AVX2 +BenchmarkDotNet v0.15.8, Windows 11 (10.0.26200.7462/25H2/2025Update/HudsonValley2) +12th Gen Intel Core i9-12900HK 2.50GHz, 1 CPU, 20 logical and 14 physical cores +.NET SDK 10.0.101 + [Host] : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 DEBUG + ShortRun : .NET 10.0.1 (10.0.1, 10.0.125.57005), X64 RyuJIT x86-64-v3 | Method | Mean | Error | StdDev | Allocated | :----------------------- | ---------: | ---------: | ---------: | ---------: | `$..[?(@.price < 10)]` - | JsonCraft.JsonElement | 3.841 μs | 0.3111 μs | 0.0171 μs | 3.59 KB - | JsonCons.JsonElement | 7.459 μs | 0.6412 μs | 0.0351 μs | 12.77 KB - | Hyperbee.JsonElement | 8.284 μs | 2.5497 μs | 0.1398 μs | 20.73 KB - | Hyperbee.JsonNode | 11.086 μs | 8.0907 μs | 0.4435 μs | 23.79 KB - | Newtonsoft.JObject | 12.153 μs | 2.4881 μs | 0.1364 μs | 25.86 KB - | JsonEverything.JsonNode | 23.541 μs | 1.3946 μs | 0.0764 μs | 48.15 KB + | JsonCraft.JsonElement | 3.049 μs | 0.7626 μs | 0.0418 μs | 3.59 KB + | Hyperbee.JsonElement | 5.400 μs | 0.5197 μs | 0.0285 μs | 15.84 KB + | Hyperbee.JsonNode | 5.824 μs | 1.8214 μs | 0.0998 μs | 18.38 KB + | JsonCons.JsonElement | 5.955 μs | 2.4616 μs | 0.1349 μs | 12.73 KB + | Newtonsoft.JObject | 8.838 μs | 1.3040 μs | 0.0715 μs | 25.86 KB + | JsonEverything.JsonNode | 19.543 μs | 9.1216 μs | 0.5000 μs | 48.15 KB | | | | | | `$..['bicycle','price']` - | JsonCraft.JsonElement | 3.136 μs | 0.2760 μs | 0.0151 μs | 4.01 KB - | Hyperbee.JsonElement | 3.578 μs | 0.4623 μs | 0.0253 μs | 5.37 KB - | JsonCons.JsonElement | 3.948 μs | 0.6099 μs | 0.0334 μs | 7.18 KB - | Hyperbee.JsonNode | 5.181 μs | 1.8016 μs | 0.0988 μs | 9.23 KB - | Newtonsoft.JObject | 7.823 μs | 0.8017 μs | 0.0439 μs | 14.55 KB - | JsonEverything.JsonNode | 16.753 μs | 1.5507 μs | 0.0850 μs | 28.5 KB + | JsonCraft.JsonElement | 2.451 μs | 0.3691 μs | 0.0202 μs | 4.01 KB + | Hyperbee.JsonElement | 2.689 μs | 0.6920 μs | 0.0379 μs | 5.12 KB + | JsonCons.JsonElement | 3.217 μs | 0.4797 μs | 0.0263 μs | 7.13 KB + | Hyperbee.JsonNode | 3.435 μs | 0.8745 μs | 0.0479 μs | 8.84 KB + | Newtonsoft.JObject | 5.548 μs | 1.7475 μs | 0.0958 μs | 14.55 KB + | JsonEverything.JsonNode | 12.999 μs | 0.5857 μs | 0.0321 μs | 28.5 KB | | | | | | `$..*` - | JsonCraft.JsonElement | 2.497 μs | 0.0903 μs | 0.0049 μs | 2.88 KB - | Hyperbee.JsonElement | 3.299 μs | 0.8178 μs | 0.0448 μs | 6.51 KB - | JsonCons.JsonElement | 4.176 μs | 0.5887 μs | 0.0323 μs | 8.49 KB - | Hyperbee.JsonNode | 5.330 μs | 0.7684 μs | 0.0421 μs | 10.3 KB - | Newtonsoft.JObject | 7.784 μs | 0.5303 μs | 0.0291 μs | 14.19 KB - | JsonEverything.JsonNode | 21.226 μs | 1.0905 μs | 0.0598 μs | 33.97 KB + | JsonCraft.JsonElement | 2.110 μs | 0.2534 μs | 0.0139 μs | 2.88 KB + | Hyperbee.JsonElement | 2.478 μs | 0.3201 μs | 0.0175 μs | 6.45 KB + | Hyperbee.JsonNode | 3.434 μs | 0.6438 μs | 0.0353 μs | 9.54 KB + | JsonCons.JsonElement | 3.450 μs | 0.5528 μs | 0.0303 μs | 8.45 KB + | Newtonsoft.JObject | 5.217 μs | 0.4099 μs | 0.0225 μs | 14.19 KB + | JsonEverything.JsonNode | 17.330 μs | 1.5400 μs | 0.0844 μs | 33.97 KB | | | | | | `$..author` - | JsonCraft.JsonElement | 2.904 μs | 4.2915 μs | 0.2352 μs | 2.88 KB - | Hyperbee.JsonElement | 3.068 μs | 0.3672 μs | 0.0201 μs | 5.16 KB - | JsonCons.JsonElement | 3.381 μs | 0.6294 μs | 0.0345 μs | 5.55 KB - | Hyperbee.JsonNode | 5.030 μs | 0.6100 μs | 0.0334 μs | 9.02 KB - | Newtonsoft.JObject | 7.469 μs | 1.7563 μs | 0.0963 μs | 14.2 KB - | JsonEverything.JsonNode | 15.752 μs | 3.8966 μs | 0.2136 μs | 26.1 KB + | JsonCraft.JsonElement | 2.352 μs | 0.4147 μs | 0.0227 μs | 2.88 KB + | Hyperbee.JsonElement | 2.359 μs | 0.2998 μs | 0.0164 μs | 5.1 KB + | JsonCons.JsonElement | 2.826 μs | 1.7249 μs | 0.0945 μs | 5.47 KB + | Hyperbee.JsonNode | 3.290 μs | 2.1900 μs | 0.1200 μs | 8.64 KB + | Newtonsoft.JObject | 5.246 μs | 0.8047 μs | 0.0441 μs | 14.2 KB + | JsonEverything.JsonNode | 12.429 μs | 6.1835 μs | 0.3389 μs | 26.1 KB | | | | | | `$..book[?@.isbn]` - | Hyperbee.JsonElement | 3.913 μs | 1.5846 μs | 0.0869 μs | 6.8 KB - | JsonCons.JsonElement | 4.359 μs | 2.1655 μs | 0.1187 μs | 7.21 KB - | Hyperbee.JsonNode | 5.335 μs | 0.7057 μs | 0.0387 μs | 10.62 KB - | JsonEverything.JsonNode | 17.200 μs | 1.9836 μs | 0.1087 μs | 29.98 KB + | Hyperbee.JsonElement | 2.883 μs | 1.0678 μs | 0.0585 μs | 6.14 KB + | JsonCons.JsonElement | 3.362 μs | 0.8878 μs | 0.0487 μs | 7.16 KB + | Hyperbee.JsonNode | 3.965 μs | 3.7942 μs | 0.2080 μs | 9.64 KB + | JsonEverything.JsonNode | 13.766 μs | 1.2953 μs | 0.0710 μs | 29.98 KB | JsonCraft.JsonElement | NA | NA | NA | NA | Newtonsoft.JObject | NA | NA | NA | NA | | | | | | `$..book[?@.price == 8.99 && @.category == 'fiction']` - | Hyperbee.JsonElement | 5.135 μs | 1.0302 μs | 0.0565 μs | 9.47 KB - | JsonCons.JsonElement | 6.105 μs | 0.6309 μs | 0.0346 μs | 8.52 KB - | Hyperbee.JsonNode | 7.002 μs | 3.0008 μs | 0.1645 μs | 13.41 KB - | JsonEverything.JsonNode | 21.845 μs | 3.9271 μs | 0.2153 μs | 39.52 KB + | Hyperbee.JsonElement | 3.708 μs | 1.8637 μs | 0.1022 μs | 8.28 KB + | Hyperbee.JsonNode | 4.746 μs | 0.9875 μs | 0.0541 μs | 11.91 KB + | JsonCons.JsonElement | 4.845 μs | 1.3375 μs | 0.0733 μs | 8.48 KB + | JsonEverything.JsonNode | 17.256 μs | 1.0914 μs | 0.0598 μs | 39.27 KB | JsonCraft.JsonElement | NA | NA | NA | NA | Newtonsoft.JObject | NA | NA | NA | NA | | | | | | `$..book[0,1]` - | JsonCraft.JsonElement | 2.936 μs | 0.6578 μs | 0.0361 μs | 3.09 KB - | Hyperbee.JsonElement | 3.157 μs | 0.8302 μs | 0.0455 μs | 5.16 KB - | JsonCons.JsonElement | 3.691 μs | 0.1430 μs | 0.0078 μs | 6.15 KB - | Hyperbee.JsonNode | 4.972 μs | 0.6586 μs | 0.0361 μs | 9.02 KB - | Newtonsoft.JObject | 7.441 μs | 0.5961 μs | 0.0327 μs | 14.45 KB - | JsonEverything.JsonNode | 15.523 μs | 5.4908 μs | 0.3010 μs | 26.41 KB + | JsonCraft.JsonElement | 2.345 μs | 0.1935 μs | 0.0106 μs | 3.09 KB + | Hyperbee.JsonElement | 2.417 μs | 0.0175 μs | 0.0010 μs | 5.1 KB + | JsonCons.JsonElement | 3.005 μs | 0.9922 μs | 0.0544 μs | 6.1 KB + | Hyperbee.JsonNode | 3.163 μs | 1.0620 μs | 0.0582 μs | 8.64 KB + | Newtonsoft.JObject | 5.089 μs | 0.8914 μs | 0.0489 μs | 14.45 KB + | JsonEverything.JsonNode | 12.339 μs | 0.9570 μs | 0.0525 μs | 26.41 KB | | | | | | `$..book[0]` - | JsonCraft.JsonElement | 2.825 μs | 0.0934 μs | 0.0051 μs | 3 KB - | Hyperbee.JsonElement | 3.114 μs | 0.4106 μs | 0.0225 μs | 5.16 KB - | JsonCons.JsonElement | 3.451 μs | 0.2921 μs | 0.0160 μs | 5.63 KB - | Hyperbee.JsonNode | 4.691 μs | 1.4048 μs | 0.0770 μs | 9.02 KB - | Newtonsoft.JObject | 7.720 μs | 0.8748 μs | 0.0480 μs | 14.33 KB - | JsonEverything.JsonNode | 15.314 μs | 3.3459 μs | 0.1834 μs | 26.02 KB + | JsonCraft.JsonElement | 2.241 μs | 0.1554 μs | 0.0085 μs | 3 KB + | Hyperbee.JsonElement | 2.271 μs | 1.0724 μs | 0.0588 μs | 5.1 KB + | JsonCons.JsonElement | 2.708 μs | 0.8340 μs | 0.0457 μs | 5.55 KB + | Hyperbee.JsonNode | 3.528 μs | 0.2841 μs | 0.0156 μs | 8.64 KB + | Newtonsoft.JObject | 5.005 μs | 0.3486 μs | 0.0191 μs | 14.33 KB + | JsonEverything.JsonNode | 11.781 μs | 1.7173 μs | 0.0941 μs | 26.02 KB | | | | | | `$.store..price` - | JsonCraft.JsonElement | 2.912 μs | 1.3083 μs | 0.0717 μs | 3.13 KB - | Hyperbee.JsonElement | 2.993 μs | 0.4534 μs | 0.0249 μs | 4.8 KB - | JsonCons.JsonElement | 3.446 μs | 0.9305 μs | 0.0510 μs | 5.62 KB - | Hyperbee.JsonNode | 4.721 μs | 0.9516 μs | 0.0522 μs | 8.7 KB - | Newtonsoft.JObject | 7.723 μs | 1.1978 μs | 0.0657 μs | 14.34 KB - | JsonEverything.JsonNode | 15.966 μs | 1.1138 μs | 0.0610 μs | 26.63 KB + | Hyperbee.JsonElement | 2.293 μs | 0.4706 μs | 0.0258 μs | 4.73 KB + | JsonCraft.JsonElement | 2.363 μs | 1.0577 μs | 0.0580 μs | 3.13 KB + | JsonCons.JsonElement | 2.720 μs | 2.0514 μs | 0.1124 μs | 5.57 KB + | Hyperbee.JsonNode | 3.181 μs | 0.5370 μs | 0.0294 μs | 8.38 KB + | Newtonsoft.JObject | 5.083 μs | 0.4737 μs | 0.0260 μs | 14.34 KB + | JsonEverything.JsonNode | 13.102 μs | 2.1212 μs | 0.1163 μs | 26.63 KB | | | | | | `$.store.*` - | JsonCraft.JsonElement | 1.882 μs | 0.5586 μs | 0.0306 μs | 2.49 KB - | JsonCons.JsonElement | 2.151 μs | 0.1067 μs | 0.0058 μs | 3.31 KB - | Hyperbee.JsonElement | 2.167 μs | 0.6457 μs | 0.0354 μs | 2.88 KB - | Hyperbee.JsonNode | 2.435 μs | 0.9690 μs | 0.0531 μs | 2.95 KB - | JsonEverything.JsonNode | 3.047 μs | 0.4674 μs | 0.0256 μs | 4.8 KB - | Newtonsoft.JObject | 6.576 μs | 0.8290 μs | 0.0454 μs | 14.43 KB + | JsonCraft.JsonElement | 1.561 μs | 0.1662 μs | 0.0091 μs | 2.49 KB + | Hyperbee.JsonElement | 1.602 μs | 0.6889 μs | 0.0378 μs | 2.81 KB + | JsonCons.JsonElement | 1.693 μs | 0.7460 μs | 0.0409 μs | 3.27 KB + | Hyperbee.JsonNode | 1.784 μs | 0.6002 μs | 0.0329 μs | 2.9 KB + | JsonEverything.JsonNode | 2.395 μs | 0.3007 μs | 0.0165 μs | 4.8 KB + | Newtonsoft.JObject | 4.664 μs | 0.6593 μs | 0.0361 μs | 14.43 KB | | | | | | `$.store.bicycle.color` - | Hyperbee.JsonElement | 1.920 μs | 0.6179 μs | 0.0339 μs | 2.3 KB - | JsonCraft.JsonElement | 2.032 μs | 0.7770 μs | 0.0426 μs | 2.49 KB - | JsonCons.JsonElement | 2.216 μs | 0.1473 μs | 0.0081 μs | 3.27 KB - | Hyperbee.JsonNode | 2.383 μs | 1.2149 μs | 0.0666 μs | 2.88 KB - | JsonEverything.JsonNode | 3.556 μs | 0.5152 μs | 0.0282 μs | 5.74 KB - | Newtonsoft.JObject | 6.700 μs | 1.6404 μs | 0.0899 μs | 14.49 KB + | Hyperbee.JsonElement | 1.454 μs | 0.6877 μs | 0.0377 μs | 2.17 KB + | JsonCraft.JsonElement | 1.585 μs | 0.7476 μs | 0.0410 μs | 2.45 KB + | Hyperbee.JsonNode | 1.695 μs | 0.7429 μs | 0.0407 μs | 2.88 KB + | JsonCons.JsonElement | 1.816 μs | 1.7814 μs | 0.0976 μs | 3.23 KB + | JsonEverything.JsonNode | 2.892 μs | 0.3155 μs | 0.0173 μs | 5.74 KB + | Newtonsoft.JObject | 4.582 μs | 0.7337 μs | 0.0402 μs | 14.49 KB | | | | | | `$.store.book[-1:]` - | JsonCraft.JsonElement | 2.004 μs | 0.3158 μs | 0.0173 μs | 2.58 KB - | Hyperbee.JsonElement | 2.087 μs | 0.1721 μs | 0.0094 μs | 2.47 KB - | JsonCons.JsonElement | 2.399 μs | 0.3533 μs | 0.0194 μs | 3.56 KB - | Hyperbee.JsonNode | 2.467 μs | 0.9814 μs | 0.0538 μs | 2.97 KB - | JsonEverything.JsonNode | 3.679 μs | 0.4354 μs | 0.0239 μs | 5.72 KB - | Newtonsoft.JObject | 6.472 μs | 1.5636 μs | 0.0857 μs | 14.52 KB + | Hyperbee.JsonElement | 1.579 μs | 0.5378 μs | 0.0295 μs | 2.41 KB + | JsonCraft.JsonElement | 1.622 μs | 0.1762 μs | 0.0097 μs | 2.58 KB + | Hyperbee.JsonNode | 1.809 μs | 0.3378 μs | 0.0185 μs | 2.97 KB + | JsonCons.JsonElement | 1.882 μs | 0.5619 μs | 0.0308 μs | 3.52 KB + | JsonEverything.JsonNode | 2.806 μs | 0.3959 μs | 0.0217 μs | 5.72 KB + | Newtonsoft.JObject | 4.663 μs | 0.5645 μs | 0.0309 μs | 14.52 KB | | | | | | `$.store.book[:2]` - | JsonCraft.JsonElement | 2.010 μs | 0.1463 μs | 0.0080 μs | 2.58 KB - | Hyperbee.JsonElement | 2.128 μs | 0.4884 μs | 0.0268 μs | 2.47 KB - | JsonCons.JsonElement | 2.382 μs | 0.0585 μs | 0.0032 μs | 3.59 KB - | Hyperbee.JsonNode | 2.450 μs | 0.1728 μs | 0.0095 μs | 2.97 KB - | JsonEverything.JsonNode | 4.019 μs | 2.1096 μs | 0.1156 μs | 6.02 KB - | Newtonsoft.JObject | 6.899 μs | 0.6775 μs | 0.0371 μs | 14.51 KB + | Hyperbee.JsonElement | 1.604 μs | 0.5879 μs | 0.0322 μs | 2.41 KB + | JsonCraft.JsonElement | 1.637 μs | 0.0647 μs | 0.0035 μs | 2.58 KB + | Hyperbee.JsonNode | 1.826 μs | 0.1527 μs | 0.0084 μs | 2.97 KB + | JsonCons.JsonElement | 1.871 μs | 0.6744 μs | 0.0370 μs | 3.54 KB + | JsonEverything.JsonNode | 3.068 μs | 0.0441 μs | 0.0024 μs | 6.02 KB + | Newtonsoft.JObject | 5.069 μs | 5.6079 μs | 0.3074 μs | 14.51 KB | | | | | | `$.store.book[?(@.author && @.title)]` - | JsonCraft.JsonElement | 2.567 μs | 0.2239 μs | 0.0123 μs | 3.3 KB - | Hyperbee.JsonElement | 3.362 μs | 0.2369 μs | 0.0130 μs | 5.52 KB - | JsonCons.JsonElement | 3.805 μs | 0.8769 μs | 0.0481 μs | 5.63 KB - | Hyperbee.JsonNode | 5.128 μs | 1.1406 μs | 0.0625 μs | 9.23 KB - | Newtonsoft.JObject | 7.514 μs | 1.6892 μs | 0.0926 μs | 16.18 KB - | JsonEverything.JsonNode | 9.261 μs | 3.4741 μs | 0.1904 μs | 18.32 KB + | JsonCraft.JsonElement | 2.007 μs | 0.5824 μs | 0.0319 μs | 3.3 KB + | Hyperbee.JsonElement | 2.387 μs | 0.5434 μs | 0.0298 μs | 4.18 KB + | JsonCons.JsonElement | 2.970 μs | 0.5634 μs | 0.0309 μs | 5.58 KB + | Hyperbee.JsonNode | 3.636 μs | 1.5759 μs | 0.0864 μs | 8.08 KB + | Newtonsoft.JObject | 5.449 μs | 1.4272 μs | 0.0782 μs | 16.18 KB + | JsonEverything.JsonNode | 7.147 μs | 3.7089 μs | 0.2033 μs | 18.32 KB | | | | | | `$.store.book[?(@.category == 'fiction')]` - | JsonCraft.JsonElement | 2.734 μs | 0.3242 μs | 0.0178 μs | 3.38 KB - | Hyperbee.JsonElement | 3.315 μs | 0.3024 μs | 0.0166 μs | 5.09 KB - | JsonCons.JsonElement | 3.426 μs | 1.0773 μs | 0.0590 μs | 5.05 KB - | Hyperbee.JsonNode | 5.003 μs | 0.8363 μs | 0.0458 μs | 8.89 KB - | Newtonsoft.JObject | 7.213 μs | 1.1931 μs | 0.0654 μs | 15.74 KB - | JsonEverything.JsonNode | 8.898 μs | 1.8821 μs | 0.1032 μs | 16.49 KB + | JsonCraft.JsonElement | 2.243 μs | 1.6372 μs | 0.0897 μs | 3.38 KB + | JsonCons.JsonElement | 2.800 μs | 0.8079 μs | 0.0443 μs | 5.01 KB + | Hyperbee.JsonElement | 2.825 μs | 2.4544 μs | 0.1345 μs | 4.34 KB + | Hyperbee.JsonNode | 3.391 μs | 3.0949 μs | 0.1696 μs | 8.2 KB + | Newtonsoft.JObject | 5.009 μs | 0.9350 μs | 0.0513 μs | 15.74 KB + | JsonEverything.JsonNode | 7.002 μs | 0.9434 μs | 0.0517 μs | 16.49 KB | | | | | | `$.store.book[?(@.price < 10)].title` - | JsonCraft.JsonElement | 3.108 μs | 1.8864 μs | 0.1034 μs | 3.37 KB - | Hyperbee.JsonElement | 3.353 μs | 0.4814 μs | 0.0264 μs | 5.1 KB - | JsonCons.JsonElement | 4.008 μs | 0.5005 μs | 0.0274 μs | 5.27 KB - | Hyperbee.JsonNode | 5.285 μs | 0.7662 μs | 0.0420 μs | 8.78 KB - | Newtonsoft.JObject | 7.687 μs | 1.0056 μs | 0.0551 μs | 15.89 KB - | JsonEverything.JsonNode | 9.513 μs | 6.3528 μs | 0.3482 μs | 17.38 KB + | JsonCraft.JsonElement | 2.357 μs | 1.1758 μs | 0.0644 μs | 3.37 KB + | Hyperbee.JsonElement | 2.496 μs | 1.2422 μs | 0.0681 μs | 4.35 KB + | JsonCons.JsonElement | 2.954 μs | 1.3447 μs | 0.0737 μs | 5.18 KB + | Hyperbee.JsonNode | 3.466 μs | 0.7381 μs | 0.0405 μs | 8.09 KB + | Newtonsoft.JObject | 5.209 μs | 1.2339 μs | 0.0676 μs | 15.89 KB + | JsonEverything.JsonNode | 7.547 μs | 1.3411 μs | 0.0735 μs | 17.38 KB | | | | | | `$.store.book[?(@.price > 10 && @.price < 20)]` - | JsonCraft.JsonElement | 3.475 μs | 0.0797 μs | 0.0044 μs | 3.82 KB - | Hyperbee.JsonElement | 4.010 μs | 0.6169 μs | 0.0338 μs | 6.55 KB - | JsonCons.JsonElement | 5.102 μs | 1.1449 μs | 0.0628 μs | 6.28 KB - | Hyperbee.JsonNode | 6.086 μs | 1.3252 μs | 0.0726 μs | 10.27 KB - | Newtonsoft.JObject | 8.050 μs | 0.6497 μs | 0.0356 μs | 16.69 KB - | JsonEverything.JsonNode | 11.612 μs | 0.2688 μs | 0.0147 μs | 22.27 KB + | JsonCraft.JsonElement | 2.798 μs | 1.2832 μs | 0.0703 μs | 3.82 KB + | Hyperbee.JsonElement | 3.067 μs | 1.9850 μs | 0.1088 μs | 5.37 KB + | Hyperbee.JsonNode | 3.827 μs | 2.2293 μs | 0.1222 μs | 9.14 KB + | JsonCons.JsonElement | 4.398 μs | 3.5937 μs | 0.1970 μs | 6.23 KB + | Newtonsoft.JObject | 5.358 μs | 2.0125 μs | 0.1103 μs | 16.69 KB + | JsonEverything.JsonNode | 9.003 μs | 2.3392 μs | 0.1282 μs | 22.27 KB | | | | | | `$.store.book[?@.price == 8.99]` - | Hyperbee.JsonElement | 3.162 μs | 0.9502 μs | 0.0521 μs | 4.9 KB - | JsonCons.JsonElement | 3.822 μs | 0.0869 μs | 0.0048 μs | 5.02 KB - | Hyperbee.JsonNode | 4.889 μs | 1.5106 μs | 0.0828 μs | 8.58 KB - | JsonEverything.JsonNode | 8.310 μs | 2.0101 μs | 0.1102 μs | 15.47 KB + | Hyperbee.JsonElement | 2.291 μs | 1.2891 μs | 0.0707 μs | 4.15 KB + | JsonCons.JsonElement | 2.826 μs | 1.0191 μs | 0.0559 μs | 4.97 KB + | Hyperbee.JsonNode | 3.630 μs | 3.3549 μs | 0.1839 μs | 7.89 KB + | JsonEverything.JsonNode | 6.450 μs | 1.0062 μs | 0.0552 μs | 15.47 KB | JsonCraft.JsonElement | NA | NA | NA | NA | Newtonsoft.JObject | NA | NA | NA | NA | | | | | | `$.store.book['category','author']` - | JsonCraft.JsonElement | 2.084 μs | 0.4663 μs | 0.0256 μs | 2.95 KB - | JsonCons.JsonElement | 2.480 μs | 0.0770 μs | 0.0042 μs | 3.61 KB - | Hyperbee.JsonElement | 2.569 μs | 1.1453 μs | 0.0628 μs | 2.67 KB - | JsonEverything.JsonNode | 3.309 μs | 0.2755 μs | 0.0151 μs | 5.41 KB - | Hyperbee.JsonNode | 4.142 μs | 1.4670 μs | 0.0804 μs | 6.42 KB - | Newtonsoft.JObject | 6.737 μs | 0.5860 μs | 0.0321 μs | 14.85 KB + | JsonCraft.JsonElement | 1.650 μs | 0.2189 μs | 0.0120 μs | 2.95 KB + | JsonCons.JsonElement | 1.862 μs | 0.1098 μs | 0.0060 μs | 3.61 KB + | Hyperbee.JsonElement | 1.988 μs | 0.8489 μs | 0.0465 μs | 2.61 KB + | JsonEverything.JsonNode | 2.622 μs | 0.8004 μs | 0.0439 μs | 5.41 KB + | Hyperbee.JsonNode | 3.215 μs | 1.1826 μs | 0.0648 μs | 6.42 KB + | Newtonsoft.JObject | 4.681 μs | 0.5122 μs | 0.0281 μs | 14.85 KB | | | | | | `$.store.book[*].author` - | JsonCraft.JsonElement | 2.256 μs | 1.4487 μs | 0.0794 μs | 2.63 KB - | Hyperbee.JsonElement | 2.469 μs | 0.7492 μs | 0.0411 μs | 3.12 KB - | JsonCons.JsonElement | 2.496 μs | 0.3427 μs | 0.0188 μs | 3.59 KB - | Hyperbee.JsonNode | 4.088 μs | 0.0348 μs | 0.0019 μs | 6.83 KB - | Newtonsoft.JObject | 7.169 μs | 1.8980 μs | 0.1040 μs | 14.64 KB - | JsonEverything.JsonNode | 7.511 μs | 0.2592 μs | 0.0142 μs | 12.45 KB + | JsonCraft.JsonElement | 1.729 μs | 0.7445 μs | 0.0408 μs | 2.63 KB + | JsonCons.JsonElement | 1.909 μs | 0.4640 μs | 0.0254 μs | 3.55 KB + | Hyperbee.JsonElement | 1.993 μs | 0.3660 μs | 0.0201 μs | 3.05 KB + | Hyperbee.JsonNode | 2.885 μs | 2.4990 μs | 0.1370 μs | 6.83 KB + | Newtonsoft.JObject | 4.894 μs | 6.5976 μs | 0.3616 μs | 14.64 KB + | JsonEverything.JsonNode | 5.893 μs | 1.3873 μs | 0.0760 μs | 12.45 KB | | | | | | `$.store.book[*]` - | JsonCraft.JsonElement | 2.048 μs | 1.8693 μs | 0.1025 μs | 2.48 KB - | Hyperbee.JsonElement | 2.179 μs | 0.6664 μs | 0.0365 μs | 2.71 KB - | JsonCons.JsonElement | 2.246 μs | 0.1811 μs | 0.0099 μs | 3.4 KB - | Hyperbee.JsonNode | 2.672 μs | 0.2099 μs | 0.0115 μs | 3.17 KB - | JsonEverything.JsonNode | 4.315 μs | 0.0253 μs | 0.0014 μs | 6.61 KB - | Newtonsoft.JObject | 6.632 μs | 1.6876 μs | 0.0925 μs | 14.49 KB + | JsonCraft.JsonElement | 1.578 μs | 0.8516 μs | 0.0467 μs | 2.45 KB + | JsonCons.JsonElement | 1.692 μs | 0.8482 μs | 0.0465 μs | 3.35 KB + | Hyperbee.JsonElement | 1.738 μs | 0.3719 μs | 0.0204 μs | 2.65 KB + | Hyperbee.JsonNode | 1.923 μs | 0.7320 μs | 0.0401 μs | 3.17 KB + | JsonEverything.JsonNode | 3.526 μs | 0.0963 μs | 0.0053 μs | 6.61 KB + | Newtonsoft.JObject | 4.752 μs | 0.2905 μs | 0.0159 μs | 14.49 KB | | | | | | `$.store.book[0,1]` - | Hyperbee.JsonElement | 2.049 μs | 0.0126 μs | 0.0007 μs | 2.47 KB - | JsonCraft.JsonElement | 2.056 μs | 0.2169 μs | 0.0119 μs | 2.64 KB - | Hyperbee.JsonNode | 2.435 μs | 0.5524 μs | 0.0303 μs | 2.97 KB - | JsonCons.JsonElement | 2.554 μs | 1.3052 μs | 0.0715 μs | 3.77 KB - | JsonEverything.JsonNode | 3.987 μs | 0.4523 μs | 0.0248 μs | 6.07 KB - | Newtonsoft.JObject | 6.648 μs | 0.7321 μs | 0.0401 μs | 14.59 KB + | Hyperbee.JsonElement | 1.560 μs | 0.6522 μs | 0.0358 μs | 2.41 KB + | JsonCraft.JsonElement | 1.675 μs | 0.3241 μs | 0.0178 μs | 2.64 KB + | JsonCons.JsonElement | 1.910 μs | 0.3014 μs | 0.0165 μs | 3.73 KB + | Hyperbee.JsonNode | 1.976 μs | 1.1111 μs | 0.0609 μs | 2.97 KB + | JsonEverything.JsonNode | 3.071 μs | 0.1558 μs | 0.0085 μs | 6.07 KB + | Newtonsoft.JObject | 4.870 μs | 0.8053 μs | 0.0441 μs | 14.59 KB | | | | | | `$.store.book[0].title` - | Hyperbee.JsonElement | 1.897 μs | 0.1620 μs | 0.0089 μs | 2.27 KB - | JsonCraft.JsonElement | 2.055 μs | 0.2876 μs | 0.0158 μs | 2.55 KB - | JsonCons.JsonElement | 2.318 μs | 0.3233 μs | 0.0177 μs | 3.35 KB - | Hyperbee.JsonNode | 2.575 μs | 0.1096 μs | 0.0060 μs | 3.63 KB - | JsonEverything.JsonNode | 4.534 μs | 1.5492 μs | 0.0849 μs | 7.38 KB - | Newtonsoft.JObject | 6.734 μs | 2.0745 μs | 0.1137 μs | 14.62 KB + | Hyperbee.JsonElement | 1.515 μs | 0.1457 μs | 0.0080 μs | 2.17 KB + | JsonCraft.JsonElement | 1.713 μs | 1.1282 μs | 0.0618 μs | 2.51 KB + | JsonCons.JsonElement | 1.869 μs | 0.0938 μs | 0.0051 μs | 3.3 KB + | Hyperbee.JsonNode | 1.945 μs | 0.2311 μs | 0.0127 μs | 3.6 KB + | JsonEverything.JsonNode | 3.451 μs | 0.4020 μs | 0.0220 μs | 7.38 KB + | Newtonsoft.JObject | 4.706 μs | 1.4286 μs | 0.0783 μs | 14.62 KB | | | | | | `$.store.book[0]` - | Hyperbee.JsonElement | 1.931 μs | 0.1500 μs | 0.0082 μs | 2.27 KB - | JsonCraft.JsonElement | 1.996 μs | 0.1804 μs | 0.0099 μs | 2.48 KB - | Hyperbee.JsonNode | 2.204 μs | 0.1747 μs | 0.0096 μs | 2.86 KB - | JsonCons.JsonElement | 2.221 μs | 0.1388 μs | 0.0076 μs | 3.26 KB - | JsonEverything.JsonNode | 3.592 μs | 0.3654 μs | 0.0200 μs | 5.68 KB - | Newtonsoft.JObject | 6.892 μs | 2.7132 μs | 0.1487 μs | 14.48 KB + | Hyperbee.JsonElement | 1.392 μs | 0.6219 μs | 0.0341 μs | 2.17 KB + | JsonCraft.JsonElement | 1.570 μs | 0.2170 μs | 0.0119 μs | 2.44 KB + | JsonCons.JsonElement | 1.783 μs | 0.9320 μs | 0.0511 μs | 3.21 KB + | Hyperbee.JsonNode | 1.870 μs | 0.6578 μs | 0.0361 μs | 2.83 KB + | JsonEverything.JsonNode | 2.832 μs | 0.6614 μs | 0.0363 μs | 5.68 KB + | Newtonsoft.JObject | 4.697 μs | 0.9290 μs | 0.0509 μs | 14.48 KB | | | | | | `$` - | JsonCraft.JsonElement | 1.732 μs | 0.0529 μs | 0.0029 μs | 2.26 KB - | Hyperbee.JsonElement | 1.751 μs | 0.0628 μs | 0.0034 μs | 2.27 KB - | JsonEverything.JsonNode | 1.767 μs | 0.0675 μs | 0.0037 μs | 1.88 KB - | Hyperbee.JsonNode | 1.790 μs | 0.1222 μs | 0.0067 μs | 1.78 KB - | JsonCons.JsonElement | 1.929 μs | 0.1539 μs | 0.0084 μs | 2.98 KB - | Newtonsoft.JObject | 6.587 μs | 0.7309 μs | 0.0401 μs | 14.01 KB + | Hyperbee.JsonElement | 1.316 μs | 0.7199 μs | 0.0395 μs | 2.17 KB + | JsonCraft.JsonElement | 1.368 μs | 0.0907 μs | 0.0050 μs | 2.22 KB + | JsonEverything.JsonNode | 1.438 μs | 0.1670 μs | 0.0092 μs | 1.88 KB + | Hyperbee.JsonNode | 1.440 μs | 0.2725 μs | 0.0149 μs | 1.75 KB + | JsonCons.JsonElement | 1.456 μs | 0.1789 μs | 0.0098 μs | 2.94 KB + | Newtonsoft.JObject | 4.331 μs | 1.0036 μs | 0.0550 μs | 13.98 KB Benchmarks with issues: JsonPathParseAndSelectEvaluator.JsonCraft.JsonElement: ShortRun(IterationCount=3, LaunchCount=1, WarmupCount=3) [Filter=$..book[?@.isbn]] diff --git a/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj b/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj index 3d8adc81..5a4ab991 100644 --- a/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj +++ b/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj @@ -1,7 +1,7 @@ - + - net9.0 + net8.0;net10.0 enable enable @@ -14,9 +14,9 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + @@ -28,10 +28,12 @@ + all runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs b/test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs index 3558aa77..db6c0b65 100644 --- a/test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs +++ b/test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs @@ -3,13 +3,14 @@ using System.Text.Json; using System.Text.Json.Nodes; using Hyperbee.Json.Cts.TestSupport; +using AssertExtensions = Hyperbee.Json.Cts.TestSupport.AssertExtensions; namespace Hyperbee.Json.Cts.Tests; [TestClass] public class CtsBasicTest { - [TestMethod( @"root (1)" )] + [TestMethod( DisplayName = @"root (1)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_root_1( Type documentType ) @@ -37,7 +38,7 @@ public void Test_root_1( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"no leading whitespace (2)" )] + [TestMethod( DisplayName = @"no leading whitespace (2)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_no_leading_whitespace_2( Type documentType ) @@ -48,7 +49,7 @@ public void Test_no_leading_whitespace_2( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"no trailing whitespace (3)" )] + [TestMethod( DisplayName = @"no trailing whitespace (3)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_no_trailing_whitespace_3( Type documentType ) @@ -59,7 +60,7 @@ public void Test_no_trailing_whitespace_3( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"name shorthand (4)" )] + [TestMethod( DisplayName = @"name shorthand (4)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_shorthand_4( Type documentType ) @@ -84,7 +85,7 @@ public void Test_name_shorthand_4( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"name shorthand, extended unicode ☺ (5)" )] + [TestMethod( DisplayName = @"name shorthand, extended unicode ☺ (5)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_shorthand__extended_unicode___5( Type documentType ) @@ -109,7 +110,7 @@ public void Test_name_shorthand__extended_unicode___5( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"name shorthand, underscore (6)" )] + [TestMethod( DisplayName = @"name shorthand, underscore (6)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_shorthand__underscore_6( Type documentType ) @@ -134,7 +135,7 @@ public void Test_name_shorthand__underscore_6( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"name shorthand, symbol (7)" )] + [TestMethod( DisplayName = @"name shorthand, symbol (7)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_shorthand__symbol_7( Type documentType ) @@ -145,7 +146,7 @@ public void Test_name_shorthand__symbol_7( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"name shorthand, number (8)" )] + [TestMethod( DisplayName = @"name shorthand, number (8)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_shorthand__number_8( Type documentType ) @@ -156,7 +157,7 @@ public void Test_name_shorthand__number_8( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"name shorthand, absent data (9)" )] + [TestMethod( DisplayName = @"name shorthand, absent data (9)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_shorthand__absent_data_9( Type documentType ) @@ -179,7 +180,7 @@ public void Test_name_shorthand__absent_data_9( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"name shorthand, array data (10)" )] + [TestMethod( DisplayName = @"name shorthand, array data (10)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_shorthand__array_data_10( Type documentType ) @@ -202,7 +203,7 @@ public void Test_name_shorthand__array_data_10( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"wildcard shorthand, object data (11)" )] + [TestMethod( DisplayName = @"wildcard shorthand, object data (11)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_wildcard_shorthand__object_data_11( Type documentType ) @@ -234,7 +235,7 @@ public void Test_wildcard_shorthand__object_data_11( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"wildcard shorthand, array data (12)" )] + [TestMethod( DisplayName = @"wildcard shorthand, array data (12)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_wildcard_shorthand__array_data_12( Type documentType ) @@ -260,7 +261,7 @@ public void Test_wildcard_shorthand__array_data_12( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"wildcard selector, array data (13)" )] + [TestMethod( DisplayName = @"wildcard selector, array data (13)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_wildcard_selector__array_data_13( Type documentType ) @@ -286,7 +287,7 @@ public void Test_wildcard_selector__array_data_13( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"wildcard shorthand, then name shorthand (14)" )] + [TestMethod( DisplayName = @"wildcard shorthand, then name shorthand (14)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_wildcard_shorthand__then_name_shorthand_14( Type documentType ) @@ -324,7 +325,7 @@ public void Test_wildcard_shorthand__then_name_shorthand_14( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors (15)" )] + [TestMethod( DisplayName = @"multiple selectors (15)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors_15( Type documentType ) @@ -358,7 +359,7 @@ public void Test_multiple_selectors_15( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, space instead of comma (16)" )] + [TestMethod( DisplayName = @"multiple selectors, space instead of comma (16)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__space_instead_of_comma_16( Type documentType ) @@ -369,7 +370,7 @@ public void Test_multiple_selectors__space_instead_of_comma_16( Type documentTyp AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"multiple selectors, name and index, array data (17)" )] + [TestMethod( DisplayName = @"multiple selectors, name and index, array data (17)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__name_and_index__array_data_17( Type documentType ) @@ -402,7 +403,7 @@ public void Test_multiple_selectors__name_and_index__array_data_17( Type documen Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, name and index, object data (18)" )] + [TestMethod( DisplayName = @"multiple selectors, name and index, object data (18)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__name_and_index__object_data_18( Type documentType ) @@ -427,7 +428,7 @@ public void Test_multiple_selectors__name_and_index__object_data_18( Type docume Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, index and slice (19)" )] + [TestMethod( DisplayName = @"multiple selectors, index and slice (19)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__index_and_slice_19( Type documentType ) @@ -462,7 +463,7 @@ public void Test_multiple_selectors__index_and_slice_19( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, index and slice, overlapping (20)" )] + [TestMethod( DisplayName = @"multiple selectors, index and slice, overlapping (20)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__index_and_slice__overlapping_20( Type documentType ) @@ -498,7 +499,7 @@ public void Test_multiple_selectors__index_and_slice__overlapping_20( Type docum Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, duplicate index (21)" )] + [TestMethod( DisplayName = @"multiple selectors, duplicate index (21)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__duplicate_index_21( Type documentType ) @@ -532,7 +533,7 @@ public void Test_multiple_selectors__duplicate_index_21( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, wildcard and index (22)" )] + [TestMethod( DisplayName = @"multiple selectors, wildcard and index (22)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__wildcard_and_index_22( Type documentType ) @@ -575,7 +576,7 @@ public void Test_multiple_selectors__wildcard_and_index_22( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, wildcard and name (23)" )] + [TestMethod( DisplayName = @"multiple selectors, wildcard and name (23)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__wildcard_and_name_23( Type documentType ) @@ -609,7 +610,7 @@ public void Test_multiple_selectors__wildcard_and_name_23( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, wildcard and slice (24)" )] + [TestMethod( DisplayName = @"multiple selectors, wildcard and slice (24)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__wildcard_and_slice_24( Type documentType ) @@ -653,7 +654,7 @@ public void Test_multiple_selectors__wildcard_and_slice_24( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, multiple wildcards (25)" )] + [TestMethod( DisplayName = @"multiple selectors, multiple wildcards (25)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__multiple_wildcards_25( Type documentType ) @@ -684,7 +685,7 @@ public void Test_multiple_selectors__multiple_wildcards_25( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"empty segment (26)" )] + [TestMethod( DisplayName = @"empty segment (26)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_empty_segment_26( Type documentType ) @@ -695,7 +696,7 @@ public void Test_empty_segment_26( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"descendant segment, index (27)" )] + [TestMethod( DisplayName = @"descendant segment, index (27)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__index_27( Type documentType ) @@ -727,7 +728,7 @@ public void Test_descendant_segment__index_27( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, name shorthand (28)" )] + [TestMethod( DisplayName = @"descendant segment, name shorthand (28)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__name_shorthand_28( Type documentType ) @@ -759,7 +760,7 @@ public void Test_descendant_segment__name_shorthand_28( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, wildcard shorthand, array data (29)" )] + [TestMethod( DisplayName = @"descendant segment, wildcard shorthand, array data (29)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__wildcard_shorthand__array_data_29( Type documentType ) @@ -785,7 +786,7 @@ public void Test_descendant_segment__wildcard_shorthand__array_data_29( Type doc Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, wildcard selector, array data (30)" )] + [TestMethod( DisplayName = @"descendant segment, wildcard selector, array data (30)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__wildcard_selector__array_data_30( Type documentType ) @@ -811,7 +812,7 @@ public void Test_descendant_segment__wildcard_selector__array_data_30( Type docu Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, wildcard selector, nested arrays (31)" )] + [TestMethod( DisplayName = @"descendant segment, wildcard selector, nested arrays (31)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__wildcard_selector__nested_arrays_31( Type documentType ) @@ -871,7 +872,7 @@ public void Test_descendant_segment__wildcard_selector__nested_arrays_31( Type d Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, wildcard selector, nested objects (32)" )] + [TestMethod( DisplayName = @"descendant segment, wildcard selector, nested objects (32)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__wildcard_selector__nested_objects_32( Type documentType ) @@ -991,7 +992,7 @@ public void Test_descendant_segment__wildcard_selector__nested_objects_32( Type Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, wildcard shorthand, object data (33)" )] + [TestMethod( DisplayName = @"descendant segment, wildcard shorthand, object data (33)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__wildcard_shorthand__object_data_33( Type documentType ) @@ -1015,7 +1016,7 @@ public void Test_descendant_segment__wildcard_shorthand__object_data_33( Type do Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, wildcard shorthand, nested data (34)" )] + [TestMethod( DisplayName = @"descendant segment, wildcard shorthand, nested data (34)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__wildcard_shorthand__nested_data_34( Type documentType ) @@ -1051,7 +1052,7 @@ public void Test_descendant_segment__wildcard_shorthand__nested_data_34( Type do Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, multiple selectors (35)" )] + [TestMethod( DisplayName = @"descendant segment, multiple selectors (35)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__multiple_selectors_35( Type documentType ) @@ -1085,7 +1086,7 @@ public void Test_descendant_segment__multiple_selectors_35( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"descendant segment, object traversal, multiple selectors (36)" )] + [TestMethod( DisplayName = @"descendant segment, object traversal, multiple selectors (36)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_descendant_segment__object_traversal__multiple_selectors_36( Type documentType ) @@ -1127,7 +1128,7 @@ public void Test_descendant_segment__object_traversal__multiple_selectors_36( Ty Assert.IsTrue( match ); } - [TestMethod( @"bald descendant segment (37)" )] + [TestMethod( DisplayName = @"bald descendant segment (37)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_bald_descendant_segment_37( Type documentType ) diff --git a/test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs b/test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs index 4a3a6f06..abcbdf16 100644 --- a/test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs +++ b/test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs @@ -3,13 +3,14 @@ using System.Text.Json; using System.Text.Json.Nodes; using Hyperbee.Json.Cts.TestSupport; +using AssertExtensions = Hyperbee.Json.Cts.TestSupport.AssertExtensions; namespace Hyperbee.Json.Cts.Tests; [TestClass] public class CtsFilterTest { - [TestMethod( @"existence, without segments (1)" )] + [TestMethod( DisplayName = @"existence, without segments (1)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_existence__without_segments_1( Type documentType ) @@ -41,7 +42,7 @@ public void Test_existence__without_segments_1( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"existence (2)" )] + [TestMethod( DisplayName = @"existence (2)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_existence_2( Type documentType ) @@ -75,7 +76,7 @@ public void Test_existence_2( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"existence, present with null (3)" )] + [TestMethod( DisplayName = @"existence, present with null (3)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_existence__present_with_null_3( Type documentType ) @@ -109,7 +110,7 @@ public void Test_existence__present_with_null_3( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals string, single quotes (4)" )] + [TestMethod( DisplayName = @"equals string, single quotes (4)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_string__single_quotes_4( Type documentType ) @@ -143,7 +144,7 @@ public void Test_equals_string__single_quotes_4( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals numeric string, single quotes (5)" )] + [TestMethod( DisplayName = @"equals numeric string, single quotes (5)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_numeric_string__single_quotes_5( Type documentType ) @@ -177,7 +178,7 @@ public void Test_equals_numeric_string__single_quotes_5( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals string, double quotes (6)" )] + [TestMethod( DisplayName = @"equals string, double quotes (6)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_string__double_quotes_6( Type documentType ) @@ -211,7 +212,7 @@ public void Test_equals_string__double_quotes_6( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals numeric string, double quotes (7)" )] + [TestMethod( DisplayName = @"equals numeric string, double quotes (7)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_numeric_string__double_quotes_7( Type documentType ) @@ -245,7 +246,7 @@ public void Test_equals_numeric_string__double_quotes_7( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals number (8)" )] + [TestMethod( DisplayName = @"equals number (8)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number_8( Type documentType ) @@ -287,7 +288,7 @@ public void Test_equals_number_8( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals null (9)" )] + [TestMethod( DisplayName = @"equals null (9)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_null_9( Type documentType ) @@ -321,7 +322,7 @@ public void Test_equals_null_9( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals null, absent from data (10)" )] + [TestMethod( DisplayName = @"equals null, absent from data (10)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_null__absent_from_data_10( Type documentType ) @@ -349,7 +350,7 @@ public void Test_equals_null__absent_from_data_10( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals true (11)" )] + [TestMethod( DisplayName = @"equals true (11)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_true_11( Type documentType ) @@ -383,7 +384,7 @@ public void Test_equals_true_11( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals false (12)" )] + [TestMethod( DisplayName = @"equals false (12)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_false_12( Type documentType ) @@ -417,7 +418,7 @@ public void Test_equals_false_12( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals self (13)" )] + [TestMethod( DisplayName = @"equals self (13)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_self_13( Type documentType ) @@ -457,7 +458,7 @@ public void Test_equals_self_13( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"deep equality, arrays (14)" )] + [TestMethod( DisplayName = @"deep equality, arrays (14)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_deep_equality__arrays_14( Type documentType ) @@ -556,7 +557,7 @@ public void Test_deep_equality__arrays_14( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"deep equality, objects (15)" )] + [TestMethod( DisplayName = @"deep equality, objects (15)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_deep_equality__objects_15( Type documentType ) @@ -668,7 +669,7 @@ public void Test_deep_equality__objects_15( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals string, single quotes (16)" )] + [TestMethod( DisplayName = @"not-equals string, single quotes (16)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_string__single_quotes_16( Type documentType ) @@ -702,7 +703,7 @@ public void Test_not_equals_string__single_quotes_16( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals numeric string, single quotes (17)" )] + [TestMethod( DisplayName = @"not-equals numeric string, single quotes (17)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_numeric_string__single_quotes_17( Type documentType ) @@ -736,7 +737,7 @@ public void Test_not_equals_numeric_string__single_quotes_17( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"not-equals string, single quotes, different type (18)" )] + [TestMethod( DisplayName = @"not-equals string, single quotes, different type (18)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_string__single_quotes__different_type_18( Type documentType ) @@ -770,7 +771,7 @@ public void Test_not_equals_string__single_quotes__different_type_18( Type docum Assert.IsTrue( match ); } - [TestMethod( @"not-equals string, double quotes (19)" )] + [TestMethod( DisplayName = @"not-equals string, double quotes (19)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_string__double_quotes_19( Type documentType ) @@ -804,7 +805,7 @@ public void Test_not_equals_string__double_quotes_19( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals numeric string, double quotes (20)" )] + [TestMethod( DisplayName = @"not-equals numeric string, double quotes (20)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_numeric_string__double_quotes_20( Type documentType ) @@ -838,7 +839,7 @@ public void Test_not_equals_numeric_string__double_quotes_20( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"not-equals string, double quotes, different types (21)" )] + [TestMethod( DisplayName = @"not-equals string, double quotes, different types (21)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_string__double_quotes__different_types_21( Type documentType ) @@ -872,7 +873,7 @@ public void Test_not_equals_string__double_quotes__different_types_21( Type docu Assert.IsTrue( match ); } - [TestMethod( @"not-equals number (22)" )] + [TestMethod( DisplayName = @"not-equals number (22)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_number_22( Type documentType ) @@ -914,7 +915,7 @@ public void Test_not_equals_number_22( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals number, different types (23)" )] + [TestMethod( DisplayName = @"not-equals number, different types (23)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_number__different_types_23( Type documentType ) @@ -948,7 +949,7 @@ public void Test_not_equals_number__different_types_23( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals null (24)" )] + [TestMethod( DisplayName = @"not-equals null (24)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_null_24( Type documentType ) @@ -982,7 +983,7 @@ public void Test_not_equals_null_24( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals null, absent from data (25)" )] + [TestMethod( DisplayName = @"not-equals null, absent from data (25)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_null__absent_from_data_25( Type documentType ) @@ -1018,7 +1019,7 @@ public void Test_not_equals_null__absent_from_data_25( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals true (26)" )] + [TestMethod( DisplayName = @"not-equals true (26)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_true_26( Type documentType ) @@ -1052,7 +1053,7 @@ public void Test_not_equals_true_26( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not-equals false (27)" )] + [TestMethod( DisplayName = @"not-equals false (27)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_equals_false_27( Type documentType ) @@ -1086,7 +1087,7 @@ public void Test_not_equals_false_27( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than string, single quotes (28)" )] + [TestMethod( DisplayName = @"less than string, single quotes (28)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_string__single_quotes_28( Type documentType ) @@ -1120,7 +1121,7 @@ public void Test_less_than_string__single_quotes_28( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than string, double quotes (29)" )] + [TestMethod( DisplayName = @"less than string, double quotes (29)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_string__double_quotes_29( Type documentType ) @@ -1154,7 +1155,7 @@ public void Test_less_than_string__double_quotes_29( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than number (30)" )] + [TestMethod( DisplayName = @"less than number (30)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_number_30( Type documentType ) @@ -1196,7 +1197,7 @@ public void Test_less_than_number_30( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than null (31)" )] + [TestMethod( DisplayName = @"less than null (31)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_null_31( Type documentType ) @@ -1225,7 +1226,7 @@ public void Test_less_than_null_31( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than true (32)" )] + [TestMethod( DisplayName = @"less than true (32)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_true_32( Type documentType ) @@ -1254,7 +1255,7 @@ public void Test_less_than_true_32( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than false (33)" )] + [TestMethod( DisplayName = @"less than false (33)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_false_33( Type documentType ) @@ -1283,7 +1284,7 @@ public void Test_less_than_false_33( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than or equal to string, single quotes (34)" )] + [TestMethod( DisplayName = @"less than or equal to string, single quotes (34)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_or_equal_to_string__single_quotes_34( Type documentType ) @@ -1321,7 +1322,7 @@ public void Test_less_than_or_equal_to_string__single_quotes_34( Type documentTy Assert.IsTrue( match ); } - [TestMethod( @"less than or equal to string, double quotes (35)" )] + [TestMethod( DisplayName = @"less than or equal to string, double quotes (35)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_or_equal_to_string__double_quotes_35( Type documentType ) @@ -1359,7 +1360,7 @@ public void Test_less_than_or_equal_to_string__double_quotes_35( Type documentTy Assert.IsTrue( match ); } - [TestMethod( @"less than or equal to number (36)" )] + [TestMethod( DisplayName = @"less than or equal to number (36)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_or_equal_to_number_36( Type documentType ) @@ -1405,7 +1406,7 @@ public void Test_less_than_or_equal_to_number_36( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than or equal to null (37)" )] + [TestMethod( DisplayName = @"less than or equal to null (37)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_or_equal_to_null_37( Type documentType ) @@ -1439,7 +1440,7 @@ public void Test_less_than_or_equal_to_null_37( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than or equal to true (38)" )] + [TestMethod( DisplayName = @"less than or equal to true (38)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_or_equal_to_true_38( Type documentType ) @@ -1473,7 +1474,7 @@ public void Test_less_than_or_equal_to_true_38( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"less than or equal to false (39)" )] + [TestMethod( DisplayName = @"less than or equal to false (39)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_less_than_or_equal_to_false_39( Type documentType ) @@ -1507,7 +1508,7 @@ public void Test_less_than_or_equal_to_false_39( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than string, single quotes (40)" )] + [TestMethod( DisplayName = @"greater than string, single quotes (40)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_string__single_quotes_40( Type documentType ) @@ -1545,7 +1546,7 @@ public void Test_greater_than_string__single_quotes_40( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than string, double quotes (41)" )] + [TestMethod( DisplayName = @"greater than string, double quotes (41)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_string__double_quotes_41( Type documentType ) @@ -1583,7 +1584,7 @@ public void Test_greater_than_string__double_quotes_41( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than number (42)" )] + [TestMethod( DisplayName = @"greater than number (42)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_number_42( Type documentType ) @@ -1625,7 +1626,7 @@ public void Test_greater_than_number_42( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than null (43)" )] + [TestMethod( DisplayName = @"greater than null (43)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_null_43( Type documentType ) @@ -1654,7 +1655,7 @@ public void Test_greater_than_null_43( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than true (44)" )] + [TestMethod( DisplayName = @"greater than true (44)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_true_44( Type documentType ) @@ -1683,7 +1684,7 @@ public void Test_greater_than_true_44( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than false (45)" )] + [TestMethod( DisplayName = @"greater than false (45)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_false_45( Type documentType ) @@ -1712,7 +1713,7 @@ public void Test_greater_than_false_45( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than or equal to string, single quotes (46)" )] + [TestMethod( DisplayName = @"greater than or equal to string, single quotes (46)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_or_equal_to_string__single_quotes_46( Type documentType ) @@ -1754,7 +1755,7 @@ public void Test_greater_than_or_equal_to_string__single_quotes_46( Type documen Assert.IsTrue( match ); } - [TestMethod( @"greater than or equal to string, double quotes (47)" )] + [TestMethod( DisplayName = @"greater than or equal to string, double quotes (47)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_or_equal_to_string__double_quotes_47( Type documentType ) @@ -1796,7 +1797,7 @@ public void Test_greater_than_or_equal_to_string__double_quotes_47( Type documen Assert.IsTrue( match ); } - [TestMethod( @"greater than or equal to number (48)" )] + [TestMethod( DisplayName = @"greater than or equal to number (48)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_or_equal_to_number_48( Type documentType ) @@ -1842,7 +1843,7 @@ public void Test_greater_than_or_equal_to_number_48( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than or equal to null (49)" )] + [TestMethod( DisplayName = @"greater than or equal to null (49)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_or_equal_to_null_49( Type documentType ) @@ -1876,7 +1877,7 @@ public void Test_greater_than_or_equal_to_null_49( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than or equal to true (50)" )] + [TestMethod( DisplayName = @"greater than or equal to true (50)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_or_equal_to_true_50( Type documentType ) @@ -1910,7 +1911,7 @@ public void Test_greater_than_or_equal_to_true_50( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"greater than or equal to false (51)" )] + [TestMethod( DisplayName = @"greater than or equal to false (51)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_greater_than_or_equal_to_false_51( Type documentType ) @@ -1944,7 +1945,7 @@ public void Test_greater_than_or_equal_to_false_51( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"exists and not-equals null, absent from data (52)" )] + [TestMethod( DisplayName = @"exists and not-equals null, absent from data (52)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_exists_and_not_equals_null__absent_from_data_52( Type documentType ) @@ -1977,7 +1978,7 @@ public void Test_exists_and_not_equals_null__absent_from_data_52( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"exists and exists, data false (53)" )] + [TestMethod( DisplayName = @"exists and exists, data false (53)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_exists_and_exists__data_false_53( Type documentType ) @@ -2013,7 +2014,7 @@ public void Test_exists_and_exists__data_false_53( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"exists or exists, data false (54)" )] + [TestMethod( DisplayName = @"exists or exists, data false (54)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_exists_or_exists__data_false_54( Type documentType ) @@ -2052,7 +2053,7 @@ public void Test_exists_or_exists__data_false_54( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"and (55)" )] + [TestMethod( DisplayName = @"and (55)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_and_55( Type documentType ) @@ -2090,7 +2091,7 @@ public void Test_and_55( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"or (56)" )] + [TestMethod( DisplayName = @"or (56)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_or_56( Type documentType ) @@ -2136,7 +2137,7 @@ public void Test_or_56( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not expression (57)" )] + [TestMethod( DisplayName = @"not expression (57)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_expression_57( Type documentType ) @@ -2178,7 +2179,7 @@ public void Test_not_expression_57( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not exists (58)" )] + [TestMethod( DisplayName = @"not exists (58)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_exists_58( Type documentType ) @@ -2214,7 +2215,7 @@ public void Test_not_exists_58( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"not exists, data null (59)" )] + [TestMethod( DisplayName = @"not exists, data null (59)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_exists__data_null_59( Type documentType ) @@ -2250,7 +2251,7 @@ public void Test_not_exists__data_null_59( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"non-singular existence, wildcard (60)" )] + [TestMethod( DisplayName = @"non-singular existence, wildcard (60)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_existence__wildcard_60( Type documentType ) @@ -2287,7 +2288,7 @@ public void Test_non_singular_existence__wildcard_60( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"non-singular existence, multiple (61)" )] + [TestMethod( DisplayName = @"non-singular existence, multiple (61)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_existence__multiple_61( Type documentType ) @@ -2342,7 +2343,7 @@ public void Test_non_singular_existence__multiple_61( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"non-singular existence, slice (62)" )] + [TestMethod( DisplayName = @"non-singular existence, slice (62)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_existence__slice_62( Type documentType ) @@ -2386,7 +2387,7 @@ public void Test_non_singular_existence__slice_62( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"non-singular existence, negated (63)" )] + [TestMethod( DisplayName = @"non-singular existence, negated (63)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_existence__negated_63( Type documentType ) @@ -2420,7 +2421,7 @@ public void Test_non_singular_existence__negated_63( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"non-singular query in comparison, slice (64)" )] + [TestMethod( DisplayName = @"non-singular query in comparison, slice (64)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_query_in_comparison__slice_64( Type documentType ) @@ -2431,7 +2432,7 @@ public void Test_non_singular_query_in_comparison__slice_64( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"non-singular query in comparison, all children (65)" )] + [TestMethod( DisplayName = @"non-singular query in comparison, all children (65)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_query_in_comparison__all_children_65( Type documentType ) @@ -2442,7 +2443,7 @@ public void Test_non_singular_query_in_comparison__all_children_65( Type documen AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"non-singular query in comparison, descendants (66)" )] + [TestMethod( DisplayName = @"non-singular query in comparison, descendants (66)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_query_in_comparison__descendants_66( Type documentType ) @@ -2453,7 +2454,7 @@ public void Test_non_singular_query_in_comparison__descendants_66( Type document AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"non-singular query in comparison, combined (67)" )] + [TestMethod( DisplayName = @"non-singular query in comparison, combined (67)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_singular_query_in_comparison__combined_67( Type documentType ) @@ -2464,7 +2465,7 @@ public void Test_non_singular_query_in_comparison__combined_67( Type documentTyp AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"nested (68)" )] + [TestMethod( DisplayName = @"nested (68)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_nested_68( Type documentType ) @@ -2509,7 +2510,7 @@ public void Test_nested_68( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"name segment on primitive, selects nothing (69)" )] + [TestMethod( DisplayName = @"name segment on primitive, selects nothing (69)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_segment_on_primitive__selects_nothing_69( Type documentType ) @@ -2531,7 +2532,7 @@ public void Test_name_segment_on_primitive__selects_nothing_69( Type documentTyp Assert.IsTrue( match ); } - [TestMethod( @"name segment on array, selects nothing (70)" )] + [TestMethod( DisplayName = @"name segment on array, selects nothing (70)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_name_segment_on_array__selects_nothing_70( Type documentType ) @@ -2556,7 +2557,7 @@ public void Test_name_segment_on_array__selects_nothing_70( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"index segment on object, selects nothing (71)" )] + [TestMethod( DisplayName = @"index segment on object, selects nothing (71)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_index_segment_on_object__selects_nothing_71( Type documentType ) @@ -2580,7 +2581,7 @@ public void Test_index_segment_on_object__selects_nothing_71( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"relative non-singular query, index, equal (72)" )] + [TestMethod( DisplayName = @"relative non-singular query, index, equal (72)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__index__equal_72( Type documentType ) @@ -2591,7 +2592,7 @@ public void Test_relative_non_singular_query__index__equal_72( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, index, not equal (73)" )] + [TestMethod( DisplayName = @"relative non-singular query, index, not equal (73)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__index__not_equal_73( Type documentType ) @@ -2602,7 +2603,7 @@ public void Test_relative_non_singular_query__index__not_equal_73( Type document AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, index, less-or-equal (74)" )] + [TestMethod( DisplayName = @"relative non-singular query, index, less-or-equal (74)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__index__less_or_equal_74( Type documentType ) @@ -2613,7 +2614,7 @@ public void Test_relative_non_singular_query__index__less_or_equal_74( Type docu AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, name, equal (75)" )] + [TestMethod( DisplayName = @"relative non-singular query, name, equal (75)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__name__equal_75( Type documentType ) @@ -2624,7 +2625,7 @@ public void Test_relative_non_singular_query__name__equal_75( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, name, not equal (76)" )] + [TestMethod( DisplayName = @"relative non-singular query, name, not equal (76)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__name__not_equal_76( Type documentType ) @@ -2635,7 +2636,7 @@ public void Test_relative_non_singular_query__name__not_equal_76( Type documentT AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, name, less-or-equal (77)" )] + [TestMethod( DisplayName = @"relative non-singular query, name, less-or-equal (77)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__name__less_or_equal_77( Type documentType ) @@ -2646,7 +2647,7 @@ public void Test_relative_non_singular_query__name__less_or_equal_77( Type docum AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, combined, equal (78)" )] + [TestMethod( DisplayName = @"relative non-singular query, combined, equal (78)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__combined__equal_78( Type documentType ) @@ -2657,7 +2658,7 @@ public void Test_relative_non_singular_query__combined__equal_78( Type documentT AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, combined, not equal (79)" )] + [TestMethod( DisplayName = @"relative non-singular query, combined, not equal (79)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__combined__not_equal_79( Type documentType ) @@ -2668,7 +2669,7 @@ public void Test_relative_non_singular_query__combined__not_equal_79( Type docum AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, combined, less-or-equal (80)" )] + [TestMethod( DisplayName = @"relative non-singular query, combined, less-or-equal (80)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__combined__less_or_equal_80( Type documentType ) @@ -2679,7 +2680,7 @@ public void Test_relative_non_singular_query__combined__less_or_equal_80( Type d AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, wildcard, equal (81)" )] + [TestMethod( DisplayName = @"relative non-singular query, wildcard, equal (81)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__wildcard__equal_81( Type documentType ) @@ -2690,7 +2691,7 @@ public void Test_relative_non_singular_query__wildcard__equal_81( Type documentT AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, wildcard, not equal (82)" )] + [TestMethod( DisplayName = @"relative non-singular query, wildcard, not equal (82)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__wildcard__not_equal_82( Type documentType ) @@ -2701,7 +2702,7 @@ public void Test_relative_non_singular_query__wildcard__not_equal_82( Type docum AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, wildcard, less-or-equal (83)" )] + [TestMethod( DisplayName = @"relative non-singular query, wildcard, less-or-equal (83)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__wildcard__less_or_equal_83( Type documentType ) @@ -2712,7 +2713,7 @@ public void Test_relative_non_singular_query__wildcard__less_or_equal_83( Type d AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, slice, equal (84)" )] + [TestMethod( DisplayName = @"relative non-singular query, slice, equal (84)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__slice__equal_84( Type documentType ) @@ -2723,7 +2724,7 @@ public void Test_relative_non_singular_query__slice__equal_84( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, slice, not equal (85)" )] + [TestMethod( DisplayName = @"relative non-singular query, slice, not equal (85)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__slice__not_equal_85( Type documentType ) @@ -2734,7 +2735,7 @@ public void Test_relative_non_singular_query__slice__not_equal_85( Type document AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"relative non-singular query, slice, less-or-equal (86)" )] + [TestMethod( DisplayName = @"relative non-singular query, slice, less-or-equal (86)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_relative_non_singular_query__slice__less_or_equal_86( Type documentType ) @@ -2745,7 +2746,7 @@ public void Test_relative_non_singular_query__slice__less_or_equal_86( Type docu AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, index, equal (87)" )] + [TestMethod( DisplayName = @"absolute non-singular query, index, equal (87)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__index__equal_87( Type documentType ) @@ -2756,7 +2757,7 @@ public void Test_absolute_non_singular_query__index__equal_87( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, index, not equal (88)" )] + [TestMethod( DisplayName = @"absolute non-singular query, index, not equal (88)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__index__not_equal_88( Type documentType ) @@ -2767,7 +2768,7 @@ public void Test_absolute_non_singular_query__index__not_equal_88( Type document AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, index, less-or-equal (89)" )] + [TestMethod( DisplayName = @"absolute non-singular query, index, less-or-equal (89)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__index__less_or_equal_89( Type documentType ) @@ -2778,7 +2779,7 @@ public void Test_absolute_non_singular_query__index__less_or_equal_89( Type docu AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, name, equal (90)" )] + [TestMethod( DisplayName = @"absolute non-singular query, name, equal (90)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__name__equal_90( Type documentType ) @@ -2789,7 +2790,7 @@ public void Test_absolute_non_singular_query__name__equal_90( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, name, not equal (91)" )] + [TestMethod( DisplayName = @"absolute non-singular query, name, not equal (91)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__name__not_equal_91( Type documentType ) @@ -2800,7 +2801,7 @@ public void Test_absolute_non_singular_query__name__not_equal_91( Type documentT AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, name, less-or-equal (92)" )] + [TestMethod( DisplayName = @"absolute non-singular query, name, less-or-equal (92)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__name__less_or_equal_92( Type documentType ) @@ -2811,7 +2812,7 @@ public void Test_absolute_non_singular_query__name__less_or_equal_92( Type docum AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, combined, equal (93)" )] + [TestMethod( DisplayName = @"absolute non-singular query, combined, equal (93)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__combined__equal_93( Type documentType ) @@ -2822,7 +2823,7 @@ public void Test_absolute_non_singular_query__combined__equal_93( Type documentT AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, combined, not equal (94)" )] + [TestMethod( DisplayName = @"absolute non-singular query, combined, not equal (94)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__combined__not_equal_94( Type documentType ) @@ -2833,7 +2834,7 @@ public void Test_absolute_non_singular_query__combined__not_equal_94( Type docum AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, combined, less-or-equal (95)" )] + [TestMethod( DisplayName = @"absolute non-singular query, combined, less-or-equal (95)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__combined__less_or_equal_95( Type documentType ) @@ -2844,7 +2845,7 @@ public void Test_absolute_non_singular_query__combined__less_or_equal_95( Type d AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, wildcard, equal (96)" )] + [TestMethod( DisplayName = @"absolute non-singular query, wildcard, equal (96)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__wildcard__equal_96( Type documentType ) @@ -2855,7 +2856,7 @@ public void Test_absolute_non_singular_query__wildcard__equal_96( Type documentT AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, wildcard, not equal (97)" )] + [TestMethod( DisplayName = @"absolute non-singular query, wildcard, not equal (97)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__wildcard__not_equal_97( Type documentType ) @@ -2866,7 +2867,7 @@ public void Test_absolute_non_singular_query__wildcard__not_equal_97( Type docum AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, wildcard, less-or-equal (98)" )] + [TestMethod( DisplayName = @"absolute non-singular query, wildcard, less-or-equal (98)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__wildcard__less_or_equal_98( Type documentType ) @@ -2877,7 +2878,7 @@ public void Test_absolute_non_singular_query__wildcard__less_or_equal_98( Type d AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, slice, equal (99)" )] + [TestMethod( DisplayName = @"absolute non-singular query, slice, equal (99)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__slice__equal_99( Type documentType ) @@ -2888,7 +2889,7 @@ public void Test_absolute_non_singular_query__slice__equal_99( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, slice, not equal (100)" )] + [TestMethod( DisplayName = @"absolute non-singular query, slice, not equal (100)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__slice__not_equal_100( Type documentType ) @@ -2899,7 +2900,7 @@ public void Test_absolute_non_singular_query__slice__not_equal_100( Type documen AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"absolute non-singular query, slice, less-or-equal (101)" )] + [TestMethod( DisplayName = @"absolute non-singular query, slice, less-or-equal (101)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_absolute_non_singular_query__slice__less_or_equal_101( Type documentType ) @@ -2910,7 +2911,7 @@ public void Test_absolute_non_singular_query__slice__less_or_equal_101( Type doc AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"multiple selectors (102)" )] + [TestMethod( DisplayName = @"multiple selectors (102)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors_102( Type documentType ) @@ -2948,7 +2949,7 @@ public void Test_multiple_selectors_102( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, comparison (103)" )] + [TestMethod( DisplayName = @"multiple selectors, comparison (103)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__comparison_103( Type documentType ) @@ -2982,7 +2983,7 @@ public void Test_multiple_selectors__comparison_103( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, overlapping (104)" )] + [TestMethod( DisplayName = @"multiple selectors, overlapping (104)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__overlapping_104( Type documentType ) @@ -3024,7 +3025,7 @@ public void Test_multiple_selectors__overlapping_104( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, filter and index (105)" )] + [TestMethod( DisplayName = @"multiple selectors, filter and index (105)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__filter_and_index_105( Type documentType ) @@ -3062,7 +3063,7 @@ public void Test_multiple_selectors__filter_and_index_105( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, filter and wildcard (106)" )] + [TestMethod( DisplayName = @"multiple selectors, filter and wildcard (106)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__filter_and_wildcard_106( Type documentType ) @@ -3104,7 +3105,7 @@ public void Test_multiple_selectors__filter_and_wildcard_106( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, filter and slice (107)" )] + [TestMethod( DisplayName = @"multiple selectors, filter and slice (107)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__filter_and_slice_107( Type documentType ) @@ -3148,7 +3149,7 @@ public void Test_multiple_selectors__filter_and_slice_107( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"multiple selectors, comparison filter, index and slice (108)" )] + [TestMethod( DisplayName = @"multiple selectors, comparison filter, index and slice (108)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_multiple_selectors__comparison_filter__index_and_slice_108( Type documentType ) @@ -3190,7 +3191,7 @@ public void Test_multiple_selectors__comparison_filter__index_and_slice_108( Typ Assert.IsTrue( match ); } - [TestMethod( @"equals number, zero and negative zero (109)" )] + [TestMethod( DisplayName = @"equals number, zero and negative zero (109)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__zero_and_negative_zero_109( Type documentType ) @@ -3228,7 +3229,7 @@ public void Test_equals_number__zero_and_negative_zero_109( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals number, with and without decimal fraction (110)" )] + [TestMethod( DisplayName = @"equals number, with and without decimal fraction (110)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__with_and_without_decimal_fraction_110( Type documentType ) @@ -3266,7 +3267,7 @@ public void Test_equals_number__with_and_without_decimal_fraction_110( Type docu Assert.IsTrue( match ); } - [TestMethod( @"equals number, exponent (111)" )] + [TestMethod( DisplayName = @"equals number, exponent (111)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__exponent_111( Type documentType ) @@ -3304,7 +3305,7 @@ public void Test_equals_number__exponent_111( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals number, positive exponent (112)" )] + [TestMethod( DisplayName = @"equals number, positive exponent (112)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__positive_exponent_112( Type documentType ) @@ -3342,7 +3343,7 @@ public void Test_equals_number__positive_exponent_112( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals number, negative exponent (113)" )] + [TestMethod( DisplayName = @"equals number, negative exponent (113)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__negative_exponent_113( Type documentType ) @@ -3380,7 +3381,7 @@ public void Test_equals_number__negative_exponent_113( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals number, decimal fraction (114)" )] + [TestMethod( DisplayName = @"equals number, decimal fraction (114)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__decimal_fraction_114( Type documentType ) @@ -3418,7 +3419,7 @@ public void Test_equals_number__decimal_fraction_114( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals number, decimal fraction, no fractional digit (115)" )] + [TestMethod( DisplayName = @"equals number, decimal fraction, no fractional digit (115)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__decimal_fraction__no_fractional_digit_115( Type documentType ) @@ -3429,7 +3430,7 @@ public void Test_equals_number__decimal_fraction__no_fractional_digit_115( Type AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"equals number, decimal fraction, exponent (116)" )] + [TestMethod( DisplayName = @"equals number, decimal fraction, exponent (116)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__decimal_fraction__exponent_116( Type documentType ) @@ -3467,7 +3468,7 @@ public void Test_equals_number__decimal_fraction__exponent_116( Type documentTyp Assert.IsTrue( match ); } - [TestMethod( @"equals number, decimal fraction, positive exponent (117)" )] + [TestMethod( DisplayName = @"equals number, decimal fraction, positive exponent (117)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__decimal_fraction__positive_exponent_117( Type documentType ) @@ -3505,7 +3506,7 @@ public void Test_equals_number__decimal_fraction__positive_exponent_117( Type do Assert.IsTrue( match ); } - [TestMethod( @"equals number, decimal fraction, negative exponent (118)" )] + [TestMethod( DisplayName = @"equals number, decimal fraction, negative exponent (118)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals_number__decimal_fraction__negative_exponent_118( Type documentType ) @@ -3543,7 +3544,7 @@ public void Test_equals_number__decimal_fraction__negative_exponent_118( Type do Assert.IsTrue( match ); } - [TestMethod( @"equals, special nothing (119)" )] + [TestMethod( DisplayName = @"equals, special nothing (119)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals__special_nothing_119( Type documentType ) @@ -3583,7 +3584,7 @@ public void Test_equals__special_nothing_119( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"equals, empty node list and empty node list (120)" )] + [TestMethod( DisplayName = @"equals, empty node list and empty node list (120)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals__empty_node_list_and_empty_node_list_120( Type documentType ) @@ -3617,7 +3618,7 @@ public void Test_equals__empty_node_list_and_empty_node_list_120( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"equals, empty node list and special nothing (121)" )] + [TestMethod( DisplayName = @"equals, empty node list and special nothing (121)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_equals__empty_node_list_and_special_nothing_121( Type documentType ) @@ -3654,7 +3655,7 @@ public void Test_equals__empty_node_list_and_special_nothing_121( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"object data (122)" )] + [TestMethod( DisplayName = @"object data (122)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_object_data_122( Type documentType ) @@ -3687,7 +3688,7 @@ public void Test_object_data_122( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"and binds more tightly than or (123)" )] + [TestMethod( DisplayName = @"and binds more tightly than or (123)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_and_binds_more_tightly_than_or_123( Type documentType ) @@ -3739,7 +3740,7 @@ public void Test_and_binds_more_tightly_than_or_123( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"left to right evaluation (124)" )] + [TestMethod( DisplayName = @"left to right evaluation (124)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_left_to_right_evaluation_124( Type documentType ) @@ -3807,7 +3808,7 @@ public void Test_left_to_right_evaluation_124( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"group terms, left (125)" )] + [TestMethod( DisplayName = @"group terms, left (125)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_group_terms__left_125( Type documentType ) @@ -3868,7 +3869,7 @@ public void Test_group_terms__left_125( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"group terms, right (126)" )] + [TestMethod( DisplayName = @"group terms, right (126)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_group_terms__right_126( Type documentType ) @@ -3925,7 +3926,7 @@ public void Test_group_terms__right_126( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"string literal, single quote in double quotes (127)" )] + [TestMethod( DisplayName = @"string literal, single quote in double quotes (127)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_string_literal__single_quote_in_double_quotes_127( Type documentType ) @@ -3951,7 +3952,7 @@ public void Test_string_literal__single_quote_in_double_quotes_127( Type documen Assert.IsTrue( match ); } - [TestMethod( @"string literal, double quote in single quotes (128)" )] + [TestMethod( DisplayName = @"string literal, double quote in single quotes (128)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_string_literal__double_quote_in_single_quotes_128( Type documentType ) @@ -3978,7 +3979,7 @@ public void Test_string_literal__double_quote_in_single_quotes_128( Type documen Assert.IsTrue( match ); } - [TestMethod( @"string literal, escaped single quote in single quotes (129)" )] + [TestMethod( DisplayName = @"string literal, escaped single quote in single quotes (129)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_string_literal__escaped_single_quote_in_single_quotes_129( Type documentType ) @@ -4005,7 +4006,7 @@ public void Test_string_literal__escaped_single_quote_in_single_quotes_129( Type Assert.IsTrue( match ); } - [TestMethod( @"string literal, escaped double quote in double quotes (130)" )] + [TestMethod( DisplayName = @"string literal, escaped double quote in double quotes (130)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_string_literal__escaped_double_quote_in_double_quotes_130( Type documentType ) @@ -4032,7 +4033,7 @@ public void Test_string_literal__escaped_double_quote_in_double_quotes_130( Type Assert.IsTrue( match ); } - [TestMethod( @"literal true must be compared (131)" )] + [TestMethod( DisplayName = @"literal true must be compared (131)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_literal_true_must_be_compared_131( Type documentType ) @@ -4043,7 +4044,7 @@ public void Test_literal_true_must_be_compared_131( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"literal false must be compared (132)" )] + [TestMethod( DisplayName = @"literal false must be compared (132)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_literal_false_must_be_compared_132( Type documentType ) @@ -4054,7 +4055,7 @@ public void Test_literal_false_must_be_compared_132( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"literal string must be compared (133)" )] + [TestMethod( DisplayName = @"literal string must be compared (133)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_literal_string_must_be_compared_133( Type documentType ) @@ -4065,7 +4066,7 @@ public void Test_literal_string_must_be_compared_133( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"literal int must be compared (134)" )] + [TestMethod( DisplayName = @"literal int must be compared (134)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_literal_int_must_be_compared_134( Type documentType ) @@ -4076,7 +4077,7 @@ public void Test_literal_int_must_be_compared_134( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"literal float must be compared (135)" )] + [TestMethod( DisplayName = @"literal float must be compared (135)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_literal_float_must_be_compared_135( Type documentType ) @@ -4087,7 +4088,7 @@ public void Test_literal_float_must_be_compared_135( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"literal null must be compared (136)" )] + [TestMethod( DisplayName = @"literal null must be compared (136)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_literal_null_must_be_compared_136( Type documentType ) @@ -4098,7 +4099,7 @@ public void Test_literal_null_must_be_compared_136( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"and, literals must be compared (137)" )] + [TestMethod( DisplayName = @"and, literals must be compared (137)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_and__literals_must_be_compared_137( Type documentType ) @@ -4109,7 +4110,7 @@ public void Test_and__literals_must_be_compared_137( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"or, literals must be compared (138)" )] + [TestMethod( DisplayName = @"or, literals must be compared (138)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_or__literals_must_be_compared_138( Type documentType ) @@ -4120,7 +4121,7 @@ public void Test_or__literals_must_be_compared_138( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"and, right hand literal must be compared (139)" )] + [TestMethod( DisplayName = @"and, right hand literal must be compared (139)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_and__right_hand_literal_must_be_compared_139( Type documentType ) @@ -4131,7 +4132,7 @@ public void Test_and__right_hand_literal_must_be_compared_139( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"or, right hand literal must be compared (140)" )] + [TestMethod( DisplayName = @"or, right hand literal must be compared (140)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_or__right_hand_literal_must_be_compared_140( Type documentType ) @@ -4142,7 +4143,7 @@ public void Test_or__right_hand_literal_must_be_compared_140( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"and, left hand literal must be compared (141)" )] + [TestMethod( DisplayName = @"and, left hand literal must be compared (141)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_and__left_hand_literal_must_be_compared_141( Type documentType ) @@ -4153,7 +4154,7 @@ public void Test_and__left_hand_literal_must_be_compared_141( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"or, left hand literal must be compared (142)" )] + [TestMethod( DisplayName = @"or, left hand literal must be compared (142)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_or__left_hand_literal_must_be_compared_142( Type documentType ) diff --git a/test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs b/test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs index 0b4cba4f..97377a64 100644 --- a/test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs +++ b/test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs @@ -3,13 +3,14 @@ using System.Text.Json; using System.Text.Json.Nodes; using Hyperbee.Json.Cts.TestSupport; +using AssertExtensions = Hyperbee.Json.Cts.TestSupport.AssertExtensions; namespace Hyperbee.Json.Cts.Tests; [TestClass] public class CtsFunctionsTest { - [TestMethod( @"count, count function (1)" )] + [TestMethod( DisplayName = @"count, count function (1)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__count_function_1( Type documentType ) @@ -61,7 +62,7 @@ public void Test_count__count_function_1( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"count, single-node arg (2)" )] + [TestMethod( DisplayName = @"count, single-node arg (2)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__single_node_arg_2( Type documentType ) @@ -99,7 +100,7 @@ public void Test_count__single_node_arg_2( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"count, multiple-selector arg (3)" )] + [TestMethod( DisplayName = @"count, multiple-selector arg (3)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__multiple_selector_arg_3( Type documentType ) @@ -148,7 +149,7 @@ public void Test_count__multiple_selector_arg_3( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"count, non-query arg, number (4)" )] + [TestMethod( DisplayName = @"count, non-query arg, number (4)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__non_query_arg__number_4( Type documentType ) @@ -159,7 +160,7 @@ public void Test_count__non_query_arg__number_4( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"count, non-query arg, string (5)" )] + [TestMethod( DisplayName = @"count, non-query arg, string (5)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__non_query_arg__string_5( Type documentType ) @@ -170,7 +171,7 @@ public void Test_count__non_query_arg__string_5( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"count, non-query arg, true (6)" )] + [TestMethod( DisplayName = @"count, non-query arg, true (6)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__non_query_arg__true_6( Type documentType ) @@ -181,7 +182,7 @@ public void Test_count__non_query_arg__true_6( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"count, non-query arg, false (7)" )] + [TestMethod( DisplayName = @"count, non-query arg, false (7)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__non_query_arg__false_7( Type documentType ) @@ -192,7 +193,7 @@ public void Test_count__non_query_arg__false_7( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"count, non-query arg, null (8)" )] + [TestMethod( DisplayName = @"count, non-query arg, null (8)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__non_query_arg__null_8( Type documentType ) @@ -203,7 +204,7 @@ public void Test_count__non_query_arg__null_8( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"count, result must be compared (9)" )] + [TestMethod( DisplayName = @"count, result must be compared (9)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__result_must_be_compared_9( Type documentType ) @@ -214,7 +215,7 @@ public void Test_count__result_must_be_compared_9( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"count, no params (10)" )] + [TestMethod( DisplayName = @"count, no params (10)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__no_params_10( Type documentType ) @@ -225,7 +226,7 @@ public void Test_count__no_params_10( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"count, too many params (11)" )] + [TestMethod( DisplayName = @"count, too many params (11)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_count__too_many_params_11( Type documentType ) @@ -236,7 +237,7 @@ public void Test_count__too_many_params_11( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"length, string data (12)" )] + [TestMethod( DisplayName = @"length, string data (12)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__string_data_12( Type documentType ) @@ -267,7 +268,7 @@ public void Test_length__string_data_12( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, string data, unicode (13)" )] + [TestMethod( DisplayName = @"length, string data, unicode (13)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__string_data__unicode_13( Type documentType ) @@ -301,7 +302,7 @@ public void Test_length__string_data__unicode_13( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, array data (14)" )] + [TestMethod( DisplayName = @"length, array data (14)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__array_data_14( Type documentType ) @@ -342,7 +343,7 @@ public void Test_length__array_data_14( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, missing data (15)" )] + [TestMethod( DisplayName = @"length, missing data (15)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__missing_data_15( Type documentType ) @@ -366,7 +367,7 @@ public void Test_length__missing_data_15( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, number arg (16)" )] + [TestMethod( DisplayName = @"length, number arg (16)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__number_arg_16( Type documentType ) @@ -390,7 +391,7 @@ public void Test_length__number_arg_16( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, true arg (17)" )] + [TestMethod( DisplayName = @"length, true arg (17)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__true_arg_17( Type documentType ) @@ -414,7 +415,7 @@ public void Test_length__true_arg_17( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, false arg (18)" )] + [TestMethod( DisplayName = @"length, false arg (18)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__false_arg_18( Type documentType ) @@ -438,7 +439,7 @@ public void Test_length__false_arg_18( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, null arg (19)" )] + [TestMethod( DisplayName = @"length, null arg (19)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__null_arg_19( Type documentType ) @@ -462,7 +463,7 @@ public void Test_length__null_arg_19( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, result must be compared (20)" )] + [TestMethod( DisplayName = @"length, result must be compared (20)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__result_must_be_compared_20( Type documentType ) @@ -473,7 +474,7 @@ public void Test_length__result_must_be_compared_20( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"length, no params (21)" )] + [TestMethod( DisplayName = @"length, no params (21)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__no_params_21( Type documentType ) @@ -484,7 +485,7 @@ public void Test_length__no_params_21( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"length, too many params (22)" )] + [TestMethod( DisplayName = @"length, too many params (22)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__too_many_params_22( Type documentType ) @@ -495,7 +496,7 @@ public void Test_length__too_many_params_22( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"length, non-singular query arg (23)" )] + [TestMethod( DisplayName = @"length, non-singular query arg (23)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__non_singular_query_arg_23( Type documentType ) @@ -506,7 +507,7 @@ public void Test_length__non_singular_query_arg_23( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"length, arg is a function expression (24)" )] + [TestMethod( DisplayName = @"length, arg is a function expression (24)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__arg_is_a_function_expression_24( Type documentType ) @@ -540,7 +541,7 @@ public void Test_length__arg_is_a_function_expression_24( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"length, arg is special nothing (25)" )] + [TestMethod( DisplayName = @"length, arg is special nothing (25)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_length__arg_is_special_nothing_25( Type documentType ) @@ -574,7 +575,7 @@ public void Test_length__arg_is_special_nothing_25( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, found match (26)" )] + [TestMethod( DisplayName = @"match, found match (26)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__found_match_26( Type documentType ) @@ -602,7 +603,7 @@ public void Test_match__found_match_26( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, double quotes (27)" )] + [TestMethod( DisplayName = @"match, double quotes (27)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__double_quotes_27( Type documentType ) @@ -630,7 +631,7 @@ public void Test_match__double_quotes_27( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, regex from the document (28)" )] + [TestMethod( DisplayName = @"match, regex from the document (28)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__regex_from_the_document_28( Type documentType ) @@ -665,7 +666,7 @@ public void Test_match__regex_from_the_document_28( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, don't select match (29)" )] + [TestMethod( DisplayName = @"match, don't select match (29)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__don_t_select_match_29( Type documentType ) @@ -689,7 +690,7 @@ public void Test_match__don_t_select_match_29( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, not a match (30)" )] + [TestMethod( DisplayName = @"match, not a match (30)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__not_a_match_30( Type documentType ) @@ -713,7 +714,7 @@ public void Test_match__not_a_match_30( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, select non-match (31)" )] + [TestMethod( DisplayName = @"match, select non-match (31)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__select_non_match_31( Type documentType ) @@ -741,7 +742,7 @@ public void Test_match__select_non_match_31( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, non-string first arg (32)" )] + [TestMethod( DisplayName = @"match, non-string first arg (32)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__non_string_first_arg_32( Type documentType ) @@ -765,7 +766,7 @@ public void Test_match__non_string_first_arg_32( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, non-string second arg (33)" )] + [TestMethod( DisplayName = @"match, non-string second arg (33)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__non_string_second_arg_33( Type documentType ) @@ -789,7 +790,7 @@ public void Test_match__non_string_second_arg_33( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, filter, match function, unicode char class, uppercase (34)" )] + [TestMethod( DisplayName = @"match, filter, match function, unicode char class, uppercase (34)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__filter__match_function__unicode_char_class__uppercase_34( Type documentType ) @@ -819,7 +820,7 @@ public void Test_match__filter__match_function__unicode_char_class__uppercase_34 Assert.IsTrue( match ); } - [TestMethod( @"match, filter, match function, unicode char class negated, uppercase (35)" )] + [TestMethod( DisplayName = @"match, filter, match function, unicode char class negated, uppercase (35)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__filter__match_function__unicode_char_class_negated__uppercase_35( Type documentType ) @@ -849,7 +850,7 @@ public void Test_match__filter__match_function__unicode_char_class_negated__uppe Assert.IsTrue( match ); } - [TestMethod( @"match, filter, match function, unicode, surrogate pair (36)" )] + [TestMethod( DisplayName = @"match, filter, match function, unicode, surrogate pair (36)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__filter__match_function__unicode__surrogate_pair_36( Type documentType ) @@ -878,7 +879,7 @@ public void Test_match__filter__match_function__unicode__surrogate_pair_36( Type Assert.IsTrue( match ); } - [TestMethod( @"match, dot matcher on \u2028 (37)" )] + [TestMethod( DisplayName = @"match, dot matcher on \u2028 (37)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__dot_matcher_on__u2028_37( Type documentType ) @@ -907,7 +908,7 @@ public void Test_match__dot_matcher_on__u2028_37( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, dot matcher on \u2029 (38)" )] + [TestMethod( DisplayName = @"match, dot matcher on \u2029 (38)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__dot_matcher_on__u2029_38( Type documentType ) @@ -936,7 +937,7 @@ public void Test_match__dot_matcher_on__u2029_38( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, result cannot be compared (39)" )] + [TestMethod( DisplayName = @"match, result cannot be compared (39)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__result_cannot_be_compared_39( Type documentType ) @@ -947,7 +948,7 @@ public void Test_match__result_cannot_be_compared_39( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"match, too few params (40)" )] + [TestMethod( DisplayName = @"match, too few params (40)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__too_few_params_40( Type documentType ) @@ -958,7 +959,7 @@ public void Test_match__too_few_params_40( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"match, too many params (41)" )] + [TestMethod( DisplayName = @"match, too many params (41)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__too_many_params_41( Type documentType ) @@ -969,7 +970,7 @@ public void Test_match__too_many_params_41( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"match, arg is a function expression (42)" )] + [TestMethod( DisplayName = @"match, arg is a function expression (42)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__arg_is_a_function_expression_42( Type documentType ) @@ -1003,7 +1004,7 @@ public void Test_match__arg_is_a_function_expression_42( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, dot in character class (43)" )] + [TestMethod( DisplayName = @"match, dot in character class (43)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__dot_in_character_class_43( Type documentType ) @@ -1030,7 +1031,7 @@ public void Test_match__dot_in_character_class_43( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, escaped dot (44)" )] + [TestMethod( DisplayName = @"match, escaped dot (44)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__escaped_dot_44( Type documentType ) @@ -1056,7 +1057,7 @@ public void Test_match__escaped_dot_44( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, escaped backslash before dot (45)" )] + [TestMethod( DisplayName = @"match, escaped backslash before dot (45)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__escaped_backslash_before_dot_45( Type documentType ) @@ -1083,7 +1084,7 @@ public void Test_match__escaped_backslash_before_dot_45( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, escaped left square bracket (46)" )] + [TestMethod( DisplayName = @"match, escaped left square bracket (46)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__escaped_left_square_bracket_46( Type documentType ) @@ -1109,7 +1110,7 @@ public void Test_match__escaped_left_square_bracket_46( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, escaped right square bracket (47)" )] + [TestMethod( DisplayName = @"match, escaped right square bracket (47)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__escaped_right_square_bracket_47( Type documentType ) @@ -1137,7 +1138,7 @@ public void Test_match__escaped_right_square_bracket_47( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, explicit caret (48)" )] + [TestMethod( DisplayName = @"match, explicit caret (48)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__explicit_caret_48( Type documentType ) @@ -1165,7 +1166,7 @@ public void Test_match__explicit_caret_48( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"match, explicit dollar (49)" )] + [TestMethod( DisplayName = @"match, explicit dollar (49)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_match__explicit_dollar_49( Type documentType ) @@ -1192,7 +1193,7 @@ public void Test_match__explicit_dollar_49( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, at the end (50)" )] + [TestMethod( DisplayName = @"search, at the end (50)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__at_the_end_50( Type documentType ) @@ -1220,7 +1221,7 @@ public void Test_search__at_the_end_50( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, double quotes (51)" )] + [TestMethod( DisplayName = @"search, double quotes (51)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__double_quotes_51( Type documentType ) @@ -1248,7 +1249,7 @@ public void Test_search__double_quotes_51( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, at the start (52)" )] + [TestMethod( DisplayName = @"search, at the start (52)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__at_the_start_52( Type documentType ) @@ -1276,7 +1277,7 @@ public void Test_search__at_the_start_52( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, in the middle (53)" )] + [TestMethod( DisplayName = @"search, in the middle (53)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__in_the_middle_53( Type documentType ) @@ -1304,7 +1305,7 @@ public void Test_search__in_the_middle_53( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, regex from the document (54)" )] + [TestMethod( DisplayName = @"search, regex from the document (54)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__regex_from_the_document_54( Type documentType ) @@ -1341,7 +1342,7 @@ public void Test_search__regex_from_the_document_54( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, don't select match (55)" )] + [TestMethod( DisplayName = @"search, don't select match (55)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__don_t_select_match_55( Type documentType ) @@ -1365,7 +1366,7 @@ public void Test_search__don_t_select_match_55( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, not a match (56)" )] + [TestMethod( DisplayName = @"search, not a match (56)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__not_a_match_56( Type documentType ) @@ -1389,7 +1390,7 @@ public void Test_search__not_a_match_56( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, select non-match (57)" )] + [TestMethod( DisplayName = @"search, select non-match (57)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__select_non_match_57( Type documentType ) @@ -1417,7 +1418,7 @@ public void Test_search__select_non_match_57( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, non-string first arg (58)" )] + [TestMethod( DisplayName = @"search, non-string first arg (58)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__non_string_first_arg_58( Type documentType ) @@ -1441,7 +1442,7 @@ public void Test_search__non_string_first_arg_58( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, non-string second arg (59)" )] + [TestMethod( DisplayName = @"search, non-string second arg (59)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__non_string_second_arg_59( Type documentType ) @@ -1465,7 +1466,7 @@ public void Test_search__non_string_second_arg_59( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, filter, search function, unicode char class, uppercase (60)" )] + [TestMethod( DisplayName = @"search, filter, search function, unicode char class, uppercase (60)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__filter__search_function__unicode_char_class__uppercase_60( Type documentType ) @@ -1496,7 +1497,7 @@ public void Test_search__filter__search_function__unicode_char_class__uppercase_ Assert.IsTrue( match ); } - [TestMethod( @"search, filter, search function, unicode char class negated, uppercase (61)" )] + [TestMethod( DisplayName = @"search, filter, search function, unicode char class negated, uppercase (61)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__filter__search_function__unicode_char_class_negated__uppercase_61( Type documentType ) @@ -1526,7 +1527,7 @@ public void Test_search__filter__search_function__unicode_char_class_negated__up Assert.IsTrue( match ); } - [TestMethod( @"search, filter, search function, unicode, surrogate pair (62)" )] + [TestMethod( DisplayName = @"search, filter, search function, unicode, surrogate pair (62)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__filter__search_function__unicode__surrogate_pair_62( Type documentType ) @@ -1555,7 +1556,7 @@ public void Test_search__filter__search_function__unicode__surrogate_pair_62( Ty Assert.IsTrue( match ); } - [TestMethod( @"search, dot matcher on \u2028 (63)" )] + [TestMethod( DisplayName = @"search, dot matcher on \u2028 (63)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__dot_matcher_on__u2028_63( Type documentType ) @@ -1586,7 +1587,7 @@ public void Test_search__dot_matcher_on__u2028_63( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, dot matcher on \u2029 (64)" )] + [TestMethod( DisplayName = @"search, dot matcher on \u2029 (64)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__dot_matcher_on__u2029_64( Type documentType ) @@ -1617,7 +1618,7 @@ public void Test_search__dot_matcher_on__u2029_64( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, result cannot be compared (65)" )] + [TestMethod( DisplayName = @"search, result cannot be compared (65)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__result_cannot_be_compared_65( Type documentType ) @@ -1628,7 +1629,7 @@ public void Test_search__result_cannot_be_compared_65( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"search, too few params (66)" )] + [TestMethod( DisplayName = @"search, too few params (66)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__too_few_params_66( Type documentType ) @@ -1639,7 +1640,7 @@ public void Test_search__too_few_params_66( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"search, too many params (67)" )] + [TestMethod( DisplayName = @"search, too many params (67)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__too_many_params_67( Type documentType ) @@ -1650,7 +1651,7 @@ public void Test_search__too_many_params_67( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"search, arg is a function expression (68)" )] + [TestMethod( DisplayName = @"search, arg is a function expression (68)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__arg_is_a_function_expression_68( Type documentType ) @@ -1687,7 +1688,7 @@ public void Test_search__arg_is_a_function_expression_68( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, dot in character class (69)" )] + [TestMethod( DisplayName = @"search, dot in character class (69)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__dot_in_character_class_69( Type documentType ) @@ -1714,7 +1715,7 @@ public void Test_search__dot_in_character_class_69( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, escaped dot (70)" )] + [TestMethod( DisplayName = @"search, escaped dot (70)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__escaped_dot_70( Type documentType ) @@ -1740,7 +1741,7 @@ public void Test_search__escaped_dot_70( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, escaped backslash before dot (71)" )] + [TestMethod( DisplayName = @"search, escaped backslash before dot (71)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__escaped_backslash_before_dot_71( Type documentType ) @@ -1767,7 +1768,7 @@ public void Test_search__escaped_backslash_before_dot_71( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, escaped left square bracket (72)" )] + [TestMethod( DisplayName = @"search, escaped left square bracket (72)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__escaped_left_square_bracket_72( Type documentType ) @@ -1793,7 +1794,7 @@ public void Test_search__escaped_left_square_bracket_72( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"search, escaped right square bracket (73)" )] + [TestMethod( DisplayName = @"search, escaped right square bracket (73)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_search__escaped_right_square_bracket_73( Type documentType ) @@ -1821,7 +1822,7 @@ public void Test_search__escaped_right_square_bracket_73( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"value, single-value nodelist (74)" )] + [TestMethod( DisplayName = @"value, single-value nodelist (74)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_value__single_value_nodelist_74( Type documentType ) @@ -1862,7 +1863,7 @@ public void Test_value__single_value_nodelist_74( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"value, multi-value nodelist (75)" )] + [TestMethod( DisplayName = @"value, multi-value nodelist (75)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_value__multi_value_nodelist_75( Type documentType ) @@ -1891,7 +1892,7 @@ public void Test_value__multi_value_nodelist_75( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"value, too few params (76)" )] + [TestMethod( DisplayName = @"value, too few params (76)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_value__too_few_params_76( Type documentType ) @@ -1902,7 +1903,7 @@ public void Test_value__too_few_params_76( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"value, too many params (77)" )] + [TestMethod( DisplayName = @"value, too many params (77)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_value__too_many_params_77( Type documentType ) @@ -1913,7 +1914,7 @@ public void Test_value__too_many_params_77( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"value, result must be compared (78)" )] + [TestMethod( DisplayName = @"value, result must be compared (78)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_value__result_must_be_compared_78( Type documentType ) diff --git a/test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs b/test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs index 3a5846da..03ad57a9 100644 --- a/test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs +++ b/test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs @@ -3,13 +3,14 @@ using System.Text.Json; using System.Text.Json.Nodes; using Hyperbee.Json.Cts.TestSupport; +using AssertExtensions = Hyperbee.Json.Cts.TestSupport.AssertExtensions; namespace Hyperbee.Json.Cts.Tests; [TestClass] public class CtsIndexSelectorTest { - [TestMethod( @"first element (1)" )] + [TestMethod( DisplayName = @"first element (1)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_first_element_1( Type documentType ) @@ -34,7 +35,7 @@ public void Test_first_element_1( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"second element (2)" )] + [TestMethod( DisplayName = @"second element (2)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_second_element_2( Type documentType ) @@ -59,7 +60,7 @@ public void Test_second_element_2( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"out of bound (3)" )] + [TestMethod( DisplayName = @"out of bound (3)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_out_of_bound_3( Type documentType ) @@ -82,7 +83,7 @@ public void Test_out_of_bound_3( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"overflowing index (4)" )] + [TestMethod( DisplayName = @"overflowing index (4)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_overflowing_index_4( Type documentType ) @@ -93,7 +94,7 @@ public void Test_overflowing_index_4( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"not actually an index, overflowing index leads into general text (5)" )] + [TestMethod( DisplayName = @"not actually an index, overflowing index leads into general text (5)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_not_actually_an_index__overflowing_index_leads_into_general_text_5( Type documentType ) @@ -104,7 +105,7 @@ public void Test_not_actually_an_index__overflowing_index_leads_into_general_tex AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"negative (6)" )] + [TestMethod( DisplayName = @"negative (6)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_6( Type documentType ) @@ -129,7 +130,7 @@ public void Test_negative_6( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"more negative (7)" )] + [TestMethod( DisplayName = @"more negative (7)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_more_negative_7( Type documentType ) @@ -154,7 +155,7 @@ public void Test_more_negative_7( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative out of bound (8)" )] + [TestMethod( DisplayName = @"negative out of bound (8)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_out_of_bound_8( Type documentType ) @@ -177,7 +178,7 @@ public void Test_negative_out_of_bound_8( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"on object (9)" )] + [TestMethod( DisplayName = @"on object (9)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_on_object_9( Type documentType ) @@ -199,7 +200,7 @@ public void Test_on_object_9( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"leading 0 (10)" )] + [TestMethod( DisplayName = @"leading 0 (10)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_leading_0_10( Type documentType ) @@ -210,7 +211,7 @@ public void Test_leading_0_10( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"leading -0 (11)" )] + [TestMethod( DisplayName = @"leading -0 (11)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_leading__0_11( Type documentType ) diff --git a/test/Hyperbee.Json.Cts/Tests/cts-name-selector-tests.cs b/test/Hyperbee.Json.Cts/Tests/cts-name-selector-tests.cs index 227c5c01..b2b4d472 100644 --- a/test/Hyperbee.Json.Cts/Tests/cts-name-selector-tests.cs +++ b/test/Hyperbee.Json.Cts/Tests/cts-name-selector-tests.cs @@ -3,13 +3,14 @@ using System.Text.Json; using System.Text.Json.Nodes; using Hyperbee.Json.Cts.TestSupport; +using AssertExtensions = Hyperbee.Json.Cts.TestSupport.AssertExtensions; namespace Hyperbee.Json.Cts.Tests; [TestClass] public class CtsNameSelectorTest { - [TestMethod( @"double quotes (1)" )] + [TestMethod( DisplayName = @"double quotes (1)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes_1( Type documentType ) @@ -34,7 +35,7 @@ public void Test_double_quotes_1( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, absent data (2)" )] + [TestMethod( DisplayName = @"double quotes, absent data (2)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__absent_data_2( Type documentType ) @@ -57,7 +58,7 @@ public void Test_double_quotes__absent_data_2( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, array data (3)" )] + [TestMethod( DisplayName = @"double quotes, array data (3)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__array_data_3( Type documentType ) @@ -80,7 +81,7 @@ public void Test_double_quotes__array_data_3( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, embedded U+0000 (4)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0000 (4)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0000_4( Type documentType ) @@ -91,7 +92,7 @@ public void Test_double_quotes__embedded_U_0000_4( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0001 (5)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0001 (5)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0001_5( Type documentType ) @@ -102,7 +103,7 @@ public void Test_double_quotes__embedded_U_0001_5( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0002 (6)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0002 (6)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0002_6( Type documentType ) @@ -113,7 +114,7 @@ public void Test_double_quotes__embedded_U_0002_6( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0003 (7)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0003 (7)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0003_7( Type documentType ) @@ -124,7 +125,7 @@ public void Test_double_quotes__embedded_U_0003_7( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0004 (8)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0004 (8)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0004_8( Type documentType ) @@ -135,7 +136,7 @@ public void Test_double_quotes__embedded_U_0004_8( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0005 (9)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0005 (9)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0005_9( Type documentType ) @@ -146,7 +147,7 @@ public void Test_double_quotes__embedded_U_0005_9( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0006 (10)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0006 (10)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0006_10( Type documentType ) @@ -157,7 +158,7 @@ public void Test_double_quotes__embedded_U_0006_10( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0007 (11)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0007 (11)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0007_11( Type documentType ) @@ -168,7 +169,7 @@ public void Test_double_quotes__embedded_U_0007_11( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0008 (12)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0008 (12)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0008_12( Type documentType ) @@ -179,7 +180,7 @@ public void Test_double_quotes__embedded_U_0008_12( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0009 (13)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0009 (13)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0009_13( Type documentType ) @@ -190,7 +191,7 @@ public void Test_double_quotes__embedded_U_0009_13( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+000A (14)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+000A (14)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_000A_14( Type documentType ) @@ -201,7 +202,7 @@ public void Test_double_quotes__embedded_U_000A_14( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+000B (15)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+000B (15)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_000B_15( Type documentType ) @@ -212,7 +213,7 @@ public void Test_double_quotes__embedded_U_000B_15( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+000C (16)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+000C (16)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_000C_16( Type documentType ) @@ -223,7 +224,7 @@ public void Test_double_quotes__embedded_U_000C_16( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+000D (17)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+000D (17)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_000D_17( Type documentType ) @@ -234,7 +235,7 @@ public void Test_double_quotes__embedded_U_000D_17( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+000E (18)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+000E (18)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_000E_18( Type documentType ) @@ -245,7 +246,7 @@ public void Test_double_quotes__embedded_U_000E_18( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+000F (19)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+000F (19)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_000F_19( Type documentType ) @@ -256,7 +257,7 @@ public void Test_double_quotes__embedded_U_000F_19( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0010 (20)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0010 (20)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0010_20( Type documentType ) @@ -267,7 +268,7 @@ public void Test_double_quotes__embedded_U_0010_20( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0011 (21)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0011 (21)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0011_21( Type documentType ) @@ -278,7 +279,7 @@ public void Test_double_quotes__embedded_U_0011_21( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0012 (22)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0012 (22)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0012_22( Type documentType ) @@ -289,7 +290,7 @@ public void Test_double_quotes__embedded_U_0012_22( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0013 (23)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0013 (23)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0013_23( Type documentType ) @@ -300,7 +301,7 @@ public void Test_double_quotes__embedded_U_0013_23( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0014 (24)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0014 (24)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0014_24( Type documentType ) @@ -311,7 +312,7 @@ public void Test_double_quotes__embedded_U_0014_24( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0015 (25)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0015 (25)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0015_25( Type documentType ) @@ -322,7 +323,7 @@ public void Test_double_quotes__embedded_U_0015_25( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0016 (26)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0016 (26)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0016_26( Type documentType ) @@ -333,7 +334,7 @@ public void Test_double_quotes__embedded_U_0016_26( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0017 (27)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0017 (27)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0017_27( Type documentType ) @@ -344,7 +345,7 @@ public void Test_double_quotes__embedded_U_0017_27( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0018 (28)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0018 (28)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0018_28( Type documentType ) @@ -355,7 +356,7 @@ public void Test_double_quotes__embedded_U_0018_28( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0019 (29)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0019 (29)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0019_29( Type documentType ) @@ -366,7 +367,7 @@ public void Test_double_quotes__embedded_U_0019_29( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+001A (30)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+001A (30)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_001A_30( Type documentType ) @@ -377,7 +378,7 @@ public void Test_double_quotes__embedded_U_001A_30( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+001B (31)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+001B (31)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_001B_31( Type documentType ) @@ -388,7 +389,7 @@ public void Test_double_quotes__embedded_U_001B_31( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+001C (32)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+001C (32)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_001C_32( Type documentType ) @@ -399,7 +400,7 @@ public void Test_double_quotes__embedded_U_001C_32( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+001D (33)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+001D (33)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_001D_33( Type documentType ) @@ -410,7 +411,7 @@ public void Test_double_quotes__embedded_U_001D_33( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+001E (34)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+001E (34)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_001E_34( Type documentType ) @@ -421,7 +422,7 @@ public void Test_double_quotes__embedded_U_001E_34( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+001F (35)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+001F (35)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_001F_35( Type documentType ) @@ -432,7 +433,7 @@ public void Test_double_quotes__embedded_U_001F_35( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded U+0020 (36)" )] + [TestMethod( DisplayName = @"double quotes, embedded U+0020 (36)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_U_0020_36( Type documentType ) @@ -456,7 +457,7 @@ public void Test_double_quotes__embedded_U_0020_36( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped double quote (37)" )] + [TestMethod( DisplayName = @"double quotes, escaped double quote (37)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_double_quote_37( Type documentType ) @@ -480,7 +481,7 @@ public void Test_double_quotes__escaped_double_quote_37( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped reverse solidus (38)" )] + [TestMethod( DisplayName = @"double quotes, escaped reverse solidus (38)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_reverse_solidus_38( Type documentType ) @@ -504,7 +505,7 @@ public void Test_double_quotes__escaped_reverse_solidus_38( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped solidus (39)" )] + [TestMethod( DisplayName = @"double quotes, escaped solidus (39)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_solidus_39( Type documentType ) @@ -528,7 +529,7 @@ public void Test_double_quotes__escaped_solidus_39( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped backspace (40)" )] + [TestMethod( DisplayName = @"double quotes, escaped backspace (40)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_backspace_40( Type documentType ) @@ -552,7 +553,7 @@ public void Test_double_quotes__escaped_backspace_40( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped form feed (41)" )] + [TestMethod( DisplayName = @"double quotes, escaped form feed (41)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_form_feed_41( Type documentType ) @@ -576,7 +577,7 @@ public void Test_double_quotes__escaped_form_feed_41( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped line feed (42)" )] + [TestMethod( DisplayName = @"double quotes, escaped line feed (42)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_line_feed_42( Type documentType ) @@ -600,7 +601,7 @@ public void Test_double_quotes__escaped_line_feed_42( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped carriage return (43)" )] + [TestMethod( DisplayName = @"double quotes, escaped carriage return (43)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_carriage_return_43( Type documentType ) @@ -624,7 +625,7 @@ public void Test_double_quotes__escaped_carriage_return_43( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped tab (44)" )] + [TestMethod( DisplayName = @"double quotes, escaped tab (44)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped_tab_44( Type documentType ) @@ -648,7 +649,7 @@ public void Test_double_quotes__escaped_tab_44( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped ☺, upper case hex (45)" )] + [TestMethod( DisplayName = @"double quotes, escaped ☺, upper case hex (45)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped____upper_case_hex_45( Type documentType ) @@ -672,7 +673,7 @@ public void Test_double_quotes__escaped____upper_case_hex_45( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"double quotes, escaped ☺, lower case hex (46)" )] + [TestMethod( DisplayName = @"double quotes, escaped ☺, lower case hex (46)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__escaped____lower_case_hex_46( Type documentType ) @@ -696,7 +697,7 @@ public void Test_double_quotes__escaped____lower_case_hex_46( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"double quotes, surrogate pair 𝄞 (47)" )] + [TestMethod( DisplayName = @"double quotes, surrogate pair 𝄞 (47)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__surrogate_pair____47( Type documentType ) @@ -720,7 +721,7 @@ public void Test_double_quotes__surrogate_pair____47( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, surrogate pair 😀 (48)" )] + [TestMethod( DisplayName = @"double quotes, surrogate pair 😀 (48)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__surrogate_pair____48( Type documentType ) @@ -744,7 +745,7 @@ public void Test_double_quotes__surrogate_pair____48( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"double quotes, invalid escaped single quote (49)" )] + [TestMethod( DisplayName = @"double quotes, invalid escaped single quote (49)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__invalid_escaped_single_quote_49( Type documentType ) @@ -755,7 +756,7 @@ public void Test_double_quotes__invalid_escaped_single_quote_49( Type documentTy AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, embedded double quote (50)" )] + [TestMethod( DisplayName = @"double quotes, embedded double quote (50)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__embedded_double_quote_50( Type documentType ) @@ -766,7 +767,7 @@ public void Test_double_quotes__embedded_double_quote_50( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, incomplete escape (51)" )] + [TestMethod( DisplayName = @"double quotes, incomplete escape (51)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__incomplete_escape_51( Type documentType ) @@ -777,7 +778,7 @@ public void Test_double_quotes__incomplete_escape_51( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes (52)" )] + [TestMethod( DisplayName = @"single quotes (52)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes_52( Type documentType ) @@ -802,7 +803,7 @@ public void Test_single_quotes_52( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, absent data (53)" )] + [TestMethod( DisplayName = @"single quotes, absent data (53)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__absent_data_53( Type documentType ) @@ -825,7 +826,7 @@ public void Test_single_quotes__absent_data_53( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, array data (54)" )] + [TestMethod( DisplayName = @"single quotes, array data (54)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__array_data_54( Type documentType ) @@ -848,7 +849,7 @@ public void Test_single_quotes__array_data_54( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, embedded U+0000 (55)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0000 (55)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0000_55( Type documentType ) @@ -859,7 +860,7 @@ public void Test_single_quotes__embedded_U_0000_55( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0001 (56)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0001 (56)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0001_56( Type documentType ) @@ -870,7 +871,7 @@ public void Test_single_quotes__embedded_U_0001_56( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0002 (57)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0002 (57)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0002_57( Type documentType ) @@ -881,7 +882,7 @@ public void Test_single_quotes__embedded_U_0002_57( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0003 (58)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0003 (58)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0003_58( Type documentType ) @@ -892,7 +893,7 @@ public void Test_single_quotes__embedded_U_0003_58( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0004 (59)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0004 (59)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0004_59( Type documentType ) @@ -903,7 +904,7 @@ public void Test_single_quotes__embedded_U_0004_59( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0005 (60)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0005 (60)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0005_60( Type documentType ) @@ -914,7 +915,7 @@ public void Test_single_quotes__embedded_U_0005_60( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0006 (61)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0006 (61)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0006_61( Type documentType ) @@ -925,7 +926,7 @@ public void Test_single_quotes__embedded_U_0006_61( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0007 (62)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0007 (62)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0007_62( Type documentType ) @@ -936,7 +937,7 @@ public void Test_single_quotes__embedded_U_0007_62( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0008 (63)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0008 (63)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0008_63( Type documentType ) @@ -947,7 +948,7 @@ public void Test_single_quotes__embedded_U_0008_63( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0009 (64)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0009 (64)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0009_64( Type documentType ) @@ -958,7 +959,7 @@ public void Test_single_quotes__embedded_U_0009_64( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+000A (65)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+000A (65)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_000A_65( Type documentType ) @@ -969,7 +970,7 @@ public void Test_single_quotes__embedded_U_000A_65( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+000B (66)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+000B (66)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_000B_66( Type documentType ) @@ -980,7 +981,7 @@ public void Test_single_quotes__embedded_U_000B_66( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+000C (67)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+000C (67)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_000C_67( Type documentType ) @@ -991,7 +992,7 @@ public void Test_single_quotes__embedded_U_000C_67( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+000D (68)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+000D (68)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_000D_68( Type documentType ) @@ -1002,7 +1003,7 @@ public void Test_single_quotes__embedded_U_000D_68( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+000E (69)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+000E (69)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_000E_69( Type documentType ) @@ -1013,7 +1014,7 @@ public void Test_single_quotes__embedded_U_000E_69( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+000F (70)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+000F (70)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_000F_70( Type documentType ) @@ -1024,7 +1025,7 @@ public void Test_single_quotes__embedded_U_000F_70( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0010 (71)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0010 (71)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0010_71( Type documentType ) @@ -1035,7 +1036,7 @@ public void Test_single_quotes__embedded_U_0010_71( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0011 (72)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0011 (72)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0011_72( Type documentType ) @@ -1046,7 +1047,7 @@ public void Test_single_quotes__embedded_U_0011_72( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0012 (73)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0012 (73)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0012_73( Type documentType ) @@ -1057,7 +1058,7 @@ public void Test_single_quotes__embedded_U_0012_73( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0013 (74)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0013 (74)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0013_74( Type documentType ) @@ -1068,7 +1069,7 @@ public void Test_single_quotes__embedded_U_0013_74( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0014 (75)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0014 (75)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0014_75( Type documentType ) @@ -1079,7 +1080,7 @@ public void Test_single_quotes__embedded_U_0014_75( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0015 (76)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0015 (76)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0015_76( Type documentType ) @@ -1090,7 +1091,7 @@ public void Test_single_quotes__embedded_U_0015_76( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0016 (77)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0016 (77)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0016_77( Type documentType ) @@ -1101,7 +1102,7 @@ public void Test_single_quotes__embedded_U_0016_77( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0017 (78)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0017 (78)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0017_78( Type documentType ) @@ -1112,7 +1113,7 @@ public void Test_single_quotes__embedded_U_0017_78( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0018 (79)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0018 (79)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0018_79( Type documentType ) @@ -1123,7 +1124,7 @@ public void Test_single_quotes__embedded_U_0018_79( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0019 (80)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0019 (80)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0019_80( Type documentType ) @@ -1134,7 +1135,7 @@ public void Test_single_quotes__embedded_U_0019_80( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+001A (81)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+001A (81)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_001A_81( Type documentType ) @@ -1145,7 +1146,7 @@ public void Test_single_quotes__embedded_U_001A_81( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+001B (82)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+001B (82)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_001B_82( Type documentType ) @@ -1156,7 +1157,7 @@ public void Test_single_quotes__embedded_U_001B_82( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+001C (83)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+001C (83)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_001C_83( Type documentType ) @@ -1167,7 +1168,7 @@ public void Test_single_quotes__embedded_U_001C_83( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+001D (84)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+001D (84)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_001D_84( Type documentType ) @@ -1178,7 +1179,7 @@ public void Test_single_quotes__embedded_U_001D_84( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+001E (85)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+001E (85)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_001E_85( Type documentType ) @@ -1189,7 +1190,7 @@ public void Test_single_quotes__embedded_U_001E_85( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+001F (86)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+001F (86)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_001F_86( Type documentType ) @@ -1200,7 +1201,7 @@ public void Test_single_quotes__embedded_U_001F_86( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded U+0020 (87)" )] + [TestMethod( DisplayName = @"single quotes, embedded U+0020 (87)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_U_0020_87( Type documentType ) @@ -1224,7 +1225,7 @@ public void Test_single_quotes__embedded_U_0020_87( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped single quote (88)" )] + [TestMethod( DisplayName = @"single quotes, escaped single quote (88)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_single_quote_88( Type documentType ) @@ -1248,7 +1249,7 @@ public void Test_single_quotes__escaped_single_quote_88( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped reverse solidus (89)" )] + [TestMethod( DisplayName = @"single quotes, escaped reverse solidus (89)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_reverse_solidus_89( Type documentType ) @@ -1272,7 +1273,7 @@ public void Test_single_quotes__escaped_reverse_solidus_89( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped solidus (90)" )] + [TestMethod( DisplayName = @"single quotes, escaped solidus (90)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_solidus_90( Type documentType ) @@ -1296,7 +1297,7 @@ public void Test_single_quotes__escaped_solidus_90( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped backspace (91)" )] + [TestMethod( DisplayName = @"single quotes, escaped backspace (91)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_backspace_91( Type documentType ) @@ -1320,7 +1321,7 @@ public void Test_single_quotes__escaped_backspace_91( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped form feed (92)" )] + [TestMethod( DisplayName = @"single quotes, escaped form feed (92)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_form_feed_92( Type documentType ) @@ -1344,7 +1345,7 @@ public void Test_single_quotes__escaped_form_feed_92( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped line feed (93)" )] + [TestMethod( DisplayName = @"single quotes, escaped line feed (93)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_line_feed_93( Type documentType ) @@ -1368,7 +1369,7 @@ public void Test_single_quotes__escaped_line_feed_93( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped carriage return (94)" )] + [TestMethod( DisplayName = @"single quotes, escaped carriage return (94)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_carriage_return_94( Type documentType ) @@ -1392,7 +1393,7 @@ public void Test_single_quotes__escaped_carriage_return_94( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped tab (95)" )] + [TestMethod( DisplayName = @"single quotes, escaped tab (95)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped_tab_95( Type documentType ) @@ -1416,7 +1417,7 @@ public void Test_single_quotes__escaped_tab_95( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped ☺, upper case hex (96)" )] + [TestMethod( DisplayName = @"single quotes, escaped ☺, upper case hex (96)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped____upper_case_hex_96( Type documentType ) @@ -1440,7 +1441,7 @@ public void Test_single_quotes__escaped____upper_case_hex_96( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"single quotes, escaped ☺, lower case hex (97)" )] + [TestMethod( DisplayName = @"single quotes, escaped ☺, lower case hex (97)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__escaped____lower_case_hex_97( Type documentType ) @@ -1464,7 +1465,7 @@ public void Test_single_quotes__escaped____lower_case_hex_97( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"single quotes, surrogate pair 𝄞 (98)" )] + [TestMethod( DisplayName = @"single quotes, surrogate pair 𝄞 (98)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__surrogate_pair____98( Type documentType ) @@ -1488,7 +1489,7 @@ public void Test_single_quotes__surrogate_pair____98( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, surrogate pair 😀 (99)" )] + [TestMethod( DisplayName = @"single quotes, surrogate pair 😀 (99)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__surrogate_pair____99( Type documentType ) @@ -1512,7 +1513,7 @@ public void Test_single_quotes__surrogate_pair____99( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, invalid escaped double quote (100)" )] + [TestMethod( DisplayName = @"single quotes, invalid escaped double quote (100)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__invalid_escaped_double_quote_100( Type documentType ) @@ -1523,7 +1524,7 @@ public void Test_single_quotes__invalid_escaped_double_quote_100( Type documentT AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, embedded single quote (101)" )] + [TestMethod( DisplayName = @"single quotes, embedded single quote (101)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__embedded_single_quote_101( Type documentType ) @@ -1534,7 +1535,7 @@ public void Test_single_quotes__embedded_single_quote_101( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"single quotes, incomplete escape (102)" )] + [TestMethod( DisplayName = @"single quotes, incomplete escape (102)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__incomplete_escape_102( Type documentType ) @@ -1545,7 +1546,7 @@ public void Test_single_quotes__incomplete_escape_102( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"double quotes, empty (103)" )] + [TestMethod( DisplayName = @"double quotes, empty (103)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_double_quotes__empty_103( Type documentType ) @@ -1571,7 +1572,7 @@ public void Test_double_quotes__empty_103( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"single quotes, empty (104)" )] + [TestMethod( DisplayName = @"single quotes, empty (104)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_single_quotes__empty_104( Type documentType ) diff --git a/test/Hyperbee.Json.Cts/Tests/cts-slice-selector-tests.cs b/test/Hyperbee.Json.Cts/Tests/cts-slice-selector-tests.cs index d4f84b9f..75ff04d3 100644 --- a/test/Hyperbee.Json.Cts/Tests/cts-slice-selector-tests.cs +++ b/test/Hyperbee.Json.Cts/Tests/cts-slice-selector-tests.cs @@ -3,13 +3,14 @@ using System.Text.Json; using System.Text.Json.Nodes; using Hyperbee.Json.Cts.TestSupport; +using AssertExtensions = Hyperbee.Json.Cts.TestSupport.AssertExtensions; namespace Hyperbee.Json.Cts.Tests; [TestClass] public class CtsSliceSelectorTest { - [TestMethod( @"slice selector (1)" )] + [TestMethod( DisplayName = @"slice selector (1)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice_selector_1( Type documentType ) @@ -43,7 +44,7 @@ public void Test_slice_selector_1( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice selector with step (2)" )] + [TestMethod( DisplayName = @"slice selector with step (2)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice_selector_with_step_2( Type documentType ) @@ -78,7 +79,7 @@ public void Test_slice_selector_with_step_2( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice selector with everything omitted, short form (3)" )] + [TestMethod( DisplayName = @"slice selector with everything omitted, short form (3)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice_selector_with_everything_omitted__short_form_3( Type documentType ) @@ -108,7 +109,7 @@ public void Test_slice_selector_with_everything_omitted__short_form_3( Type docu Assert.IsTrue( match ); } - [TestMethod( @"slice selector with everything omitted, long form (4)" )] + [TestMethod( DisplayName = @"slice selector with everything omitted, long form (4)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice_selector_with_everything_omitted__long_form_4( Type documentType ) @@ -138,7 +139,7 @@ public void Test_slice_selector_with_everything_omitted__long_form_4( Type docum Assert.IsTrue( match ); } - [TestMethod( @"slice selector with start omitted (5)" )] + [TestMethod( DisplayName = @"slice selector with start omitted (5)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice_selector_with_start_omitted_5( Type documentType ) @@ -172,7 +173,7 @@ public void Test_slice_selector_with_start_omitted_5( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice selector with start and end omitted (6)" )] + [TestMethod( DisplayName = @"slice selector with start and end omitted (6)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice_selector_with_start_and_end_omitted_6( Type documentType ) @@ -209,7 +210,7 @@ public void Test_slice_selector_with_start_and_end_omitted_6( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"negative step with default start and end (7)" )] + [TestMethod( DisplayName = @"negative step with default start and end (7)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_step_with_default_start_and_end_7( Type documentType ) @@ -239,7 +240,7 @@ public void Test_negative_step_with_default_start_and_end_7( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative step with default start (8)" )] + [TestMethod( DisplayName = @"negative step with default start (8)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_step_with_default_start_8( Type documentType ) @@ -268,7 +269,7 @@ public void Test_negative_step_with_default_start_8( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative step with default end (9)" )] + [TestMethod( DisplayName = @"negative step with default end (9)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_step_with_default_end_9( Type documentType ) @@ -297,7 +298,7 @@ public void Test_negative_step_with_default_end_9( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"larger negative step (10)" )] + [TestMethod( DisplayName = @"larger negative step (10)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_larger_negative_step_10( Type documentType ) @@ -325,7 +326,7 @@ public void Test_larger_negative_step_10( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative range with default step (11)" )] + [TestMethod( DisplayName = @"negative range with default step (11)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_range_with_default_step_11( Type documentType ) @@ -356,7 +357,7 @@ public void Test_negative_range_with_default_step_11( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative range with negative step (12)" )] + [TestMethod( DisplayName = @"negative range with negative step (12)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_range_with_negative_step_12( Type documentType ) @@ -390,7 +391,7 @@ public void Test_negative_range_with_negative_step_12( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative range with larger negative step (13)" )] + [TestMethod( DisplayName = @"negative range with larger negative step (13)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_range_with_larger_negative_step_13( Type documentType ) @@ -425,7 +426,7 @@ public void Test_negative_range_with_larger_negative_step_13( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"larger negative range with larger negative step (14)" )] + [TestMethod( DisplayName = @"larger negative range with larger negative step (14)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_larger_negative_range_with_larger_negative_step_14( Type documentType ) @@ -460,7 +461,7 @@ public void Test_larger_negative_range_with_larger_negative_step_14( Type docume Assert.IsTrue( match ); } - [TestMethod( @"negative from, positive to (15)" )] + [TestMethod( DisplayName = @"negative from, positive to (15)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_from__positive_to_15( Type documentType ) @@ -494,7 +495,7 @@ public void Test_negative_from__positive_to_15( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative from (16)" )] + [TestMethod( DisplayName = @"negative from (16)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_from_16( Type documentType ) @@ -528,7 +529,7 @@ public void Test_negative_from_16( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"positive from, negative to (17)" )] + [TestMethod( DisplayName = @"positive from, negative to (17)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_positive_from__negative_to_17( Type documentType ) @@ -568,7 +569,7 @@ public void Test_positive_from__negative_to_17( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"negative from, positive to, negative step (18)" )] + [TestMethod( DisplayName = @"negative from, positive to, negative step (18)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_from__positive_to__negative_step_18( Type documentType ) @@ -608,7 +609,7 @@ public void Test_negative_from__positive_to__negative_step_18( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"positive from, negative to, negative step (19)" )] + [TestMethod( DisplayName = @"positive from, negative to, negative step (19)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_positive_from__negative_to__negative_step_19( Type documentType ) @@ -642,7 +643,7 @@ public void Test_positive_from__negative_to__negative_step_19( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"too many colons (20)" )] + [TestMethod( DisplayName = @"too many colons (20)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_too_many_colons_20( Type documentType ) @@ -653,7 +654,7 @@ public void Test_too_many_colons_20( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"non-integer array index (21)" )] + [TestMethod( DisplayName = @"non-integer array index (21)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_non_integer_array_index_21( Type documentType ) @@ -664,7 +665,7 @@ public void Test_non_integer_array_index_21( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"zero step (22)" )] + [TestMethod( DisplayName = @"zero step (22)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_zero_step_22( Type documentType ) @@ -695,7 +696,7 @@ public void Test_zero_step_22( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"empty range (23)" )] + [TestMethod( DisplayName = @"empty range (23)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_empty_range_23( Type documentType ) @@ -726,7 +727,7 @@ public void Test_empty_range_23( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice selector with everything omitted with empty array (24)" )] + [TestMethod( DisplayName = @"slice selector with everything omitted with empty array (24)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice_selector_with_everything_omitted_with_empty_array_24( Type documentType ) @@ -746,7 +747,7 @@ public void Test_slice_selector_with_everything_omitted_with_empty_array_24( Typ Assert.IsTrue( match ); } - [TestMethod( @"negative step with empty array (25)" )] + [TestMethod( DisplayName = @"negative step with empty array (25)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_negative_step_with_empty_array_25( Type documentType ) @@ -766,7 +767,7 @@ public void Test_negative_step_with_empty_array_25( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"maximal range with positive step (26)" )] + [TestMethod( DisplayName = @"maximal range with positive step (26)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_maximal_range_with_positive_step_26( Type documentType ) @@ -808,7 +809,7 @@ public void Test_maximal_range_with_positive_step_26( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"maximal range with negative step (27)" )] + [TestMethod( DisplayName = @"maximal range with negative step (27)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_maximal_range_with_negative_step_27( Type documentType ) @@ -849,7 +850,7 @@ public void Test_maximal_range_with_negative_step_27( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"excessively large to value (28)" )] + [TestMethod( DisplayName = @"excessively large to value (28)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_excessively_large_to_value_28( Type documentType ) @@ -889,7 +890,7 @@ public void Test_excessively_large_to_value_28( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"excessively small from value (29)" )] + [TestMethod( DisplayName = @"excessively small from value (29)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_excessively_small_from_value_29( Type documentType ) @@ -922,7 +923,7 @@ public void Test_excessively_small_from_value_29( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"excessively large from value with negative step (30)" )] + [TestMethod( DisplayName = @"excessively large from value with negative step (30)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_excessively_large_from_value_with_negative_step_30( Type documentType ) @@ -963,7 +964,7 @@ public void Test_excessively_large_from_value_with_negative_step_30( Type docume Assert.IsTrue( match ); } - [TestMethod( @"excessively small to value with negative step (31)" )] + [TestMethod( DisplayName = @"excessively small to value with negative step (31)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_excessively_small_to_value_with_negative_step_31( Type documentType ) @@ -999,7 +1000,7 @@ public void Test_excessively_small_to_value_with_negative_step_31( Type document Assert.IsTrue( match ); } - [TestMethod( @"excessively large step (32)" )] + [TestMethod( DisplayName = @"excessively large step (32)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_excessively_large_step_32( Type documentType ) @@ -1032,7 +1033,7 @@ public void Test_excessively_large_step_32( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"excessively small step (33)" )] + [TestMethod( DisplayName = @"excessively small step (33)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_excessively_small_step_33( Type documentType ) @@ -1065,7 +1066,7 @@ public void Test_excessively_small_step_33( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"overflowing to value (34)" )] + [TestMethod( DisplayName = @"overflowing to value (34)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_overflowing_to_value_34( Type documentType ) @@ -1076,7 +1077,7 @@ public void Test_overflowing_to_value_34( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"underflowing from value (35)" )] + [TestMethod( DisplayName = @"underflowing from value (35)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_underflowing_from_value_35( Type documentType ) @@ -1087,7 +1088,7 @@ public void Test_underflowing_from_value_35( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"overflowing from value with negative step (36)" )] + [TestMethod( DisplayName = @"overflowing from value with negative step (36)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_overflowing_from_value_with_negative_step_36( Type documentType ) @@ -1098,7 +1099,7 @@ public void Test_overflowing_from_value_with_negative_step_36( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"underflowing to value with negative step (37)" )] + [TestMethod( DisplayName = @"underflowing to value with negative step (37)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_underflowing_to_value_with_negative_step_37( Type documentType ) @@ -1109,7 +1110,7 @@ public void Test_underflowing_to_value_with_negative_step_37( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"overflowing step (38)" )] + [TestMethod( DisplayName = @"overflowing step (38)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_overflowing_step_38( Type documentType ) @@ -1120,7 +1121,7 @@ public void Test_overflowing_step_38( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"underflowing step (39)" )] + [TestMethod( DisplayName = @"underflowing step (39)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_underflowing_step_39( Type documentType ) diff --git a/test/Hyperbee.Json.Cts/Tests/cts-whitespace-tests.cs b/test/Hyperbee.Json.Cts/Tests/cts-whitespace-tests.cs index cfc6d26b..a12c4e9a 100644 --- a/test/Hyperbee.Json.Cts/Tests/cts-whitespace-tests.cs +++ b/test/Hyperbee.Json.Cts/Tests/cts-whitespace-tests.cs @@ -3,13 +3,14 @@ using System.Text.Json; using System.Text.Json.Nodes; using Hyperbee.Json.Cts.TestSupport; +using AssertExtensions = Hyperbee.Json.Cts.TestSupport.AssertExtensions; namespace Hyperbee.Json.Cts.Tests; [TestClass] public class CtsWhitespaceTest { - [TestMethod( @"filter, space between question mark and expression (1)" )] + [TestMethod( DisplayName = @"filter, space between question mark and expression (1)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__space_between_question_mark_and_expression_1( Type documentType ) @@ -43,7 +44,7 @@ public void Test_filter__space_between_question_mark_and_expression_1( Type docu Assert.IsTrue( match ); } - [TestMethod( @"filter, newline between question mark and expression (2)" )] + [TestMethod( DisplayName = @"filter, newline between question mark and expression (2)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__newline_between_question_mark_and_expression_2( Type documentType ) @@ -77,7 +78,7 @@ public void Test_filter__newline_between_question_mark_and_expression_2( Type do Assert.IsTrue( match ); } - [TestMethod( @"filter, tab between question mark and expression (3)" )] + [TestMethod( DisplayName = @"filter, tab between question mark and expression (3)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__tab_between_question_mark_and_expression_3( Type documentType ) @@ -111,7 +112,7 @@ public void Test_filter__tab_between_question_mark_and_expression_3( Type docume Assert.IsTrue( match ); } - [TestMethod( @"filter, return between question mark and expression (4)" )] + [TestMethod( DisplayName = @"filter, return between question mark and expression (4)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__return_between_question_mark_and_expression_4( Type documentType ) @@ -145,7 +146,7 @@ public void Test_filter__return_between_question_mark_and_expression_4( Type doc Assert.IsTrue( match ); } - [TestMethod( @"filter, space between question mark and parenthesized expression (5)" )] + [TestMethod( DisplayName = @"filter, space between question mark and parenthesized expression (5)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__space_between_question_mark_and_parenthesized_expression_5( Type documentType ) @@ -179,7 +180,7 @@ public void Test_filter__space_between_question_mark_and_parenthesized_expressio Assert.IsTrue( match ); } - [TestMethod( @"filter, newline between question mark and parenthesized expression (6)" )] + [TestMethod( DisplayName = @"filter, newline between question mark and parenthesized expression (6)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__newline_between_question_mark_and_parenthesized_expression_6( Type documentType ) @@ -213,7 +214,7 @@ public void Test_filter__newline_between_question_mark_and_parenthesized_express Assert.IsTrue( match ); } - [TestMethod( @"filter, tab between question mark and parenthesized expression (7)" )] + [TestMethod( DisplayName = @"filter, tab between question mark and parenthesized expression (7)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__tab_between_question_mark_and_parenthesized_expression_7( Type documentType ) @@ -247,7 +248,7 @@ public void Test_filter__tab_between_question_mark_and_parenthesized_expression_ Assert.IsTrue( match ); } - [TestMethod( @"filter, return between question mark and parenthesized expression (8)" )] + [TestMethod( DisplayName = @"filter, return between question mark and parenthesized expression (8)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__return_between_question_mark_and_parenthesized_expression_8( Type documentType ) @@ -281,7 +282,7 @@ public void Test_filter__return_between_question_mark_and_parenthesized_expressi Assert.IsTrue( match ); } - [TestMethod( @"filter, space between parenthesized expression and bracket (9)" )] + [TestMethod( DisplayName = @"filter, space between parenthesized expression and bracket (9)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__space_between_parenthesized_expression_and_bracket_9( Type documentType ) @@ -315,7 +316,7 @@ public void Test_filter__space_between_parenthesized_expression_and_bracket_9( T Assert.IsTrue( match ); } - [TestMethod( @"filter, newline between parenthesized expression and bracket (10)" )] + [TestMethod( DisplayName = @"filter, newline between parenthesized expression and bracket (10)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__newline_between_parenthesized_expression_and_bracket_10( Type documentType ) @@ -349,7 +350,7 @@ public void Test_filter__newline_between_parenthesized_expression_and_bracket_10 Assert.IsTrue( match ); } - [TestMethod( @"filter, tab between parenthesized expression and bracket (11)" )] + [TestMethod( DisplayName = @"filter, tab between parenthesized expression and bracket (11)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__tab_between_parenthesized_expression_and_bracket_11( Type documentType ) @@ -383,7 +384,7 @@ public void Test_filter__tab_between_parenthesized_expression_and_bracket_11( Ty Assert.IsTrue( match ); } - [TestMethod( @"filter, return between parenthesized expression and bracket (12)" )] + [TestMethod( DisplayName = @"filter, return between parenthesized expression and bracket (12)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__return_between_parenthesized_expression_and_bracket_12( Type documentType ) @@ -417,7 +418,7 @@ public void Test_filter__return_between_parenthesized_expression_and_bracket_12( Assert.IsTrue( match ); } - [TestMethod( @"filter, space between bracket and question mark (13)" )] + [TestMethod( DisplayName = @"filter, space between bracket and question mark (13)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__space_between_bracket_and_question_mark_13( Type documentType ) @@ -451,7 +452,7 @@ public void Test_filter__space_between_bracket_and_question_mark_13( Type docume Assert.IsTrue( match ); } - [TestMethod( @"filter, newline between bracket and question mark (14)" )] + [TestMethod( DisplayName = @"filter, newline between bracket and question mark (14)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__newline_between_bracket_and_question_mark_14( Type documentType ) @@ -485,7 +486,7 @@ public void Test_filter__newline_between_bracket_and_question_mark_14( Type docu Assert.IsTrue( match ); } - [TestMethod( @"filter, tab between bracket and question mark (15)" )] + [TestMethod( DisplayName = @"filter, tab between bracket and question mark (15)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__tab_between_bracket_and_question_mark_15( Type documentType ) @@ -519,7 +520,7 @@ public void Test_filter__tab_between_bracket_and_question_mark_15( Type document Assert.IsTrue( match ); } - [TestMethod( @"filter, return between bracket and question mark (16)" )] + [TestMethod( DisplayName = @"filter, return between bracket and question mark (16)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_filter__return_between_bracket_and_question_mark_16( Type documentType ) @@ -553,7 +554,7 @@ public void Test_filter__return_between_bracket_and_question_mark_16( Type docum Assert.IsTrue( match ); } - [TestMethod( @"functions, space between function name and parenthesis (17)" )] + [TestMethod( DisplayName = @"functions, space between function name and parenthesis (17)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__space_between_function_name_and_parenthesis_17( Type documentType ) @@ -564,7 +565,7 @@ public void Test_functions__space_between_function_name_and_parenthesis_17( Type AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"functions, newline between function name and parenthesis (18)" )] + [TestMethod( DisplayName = @"functions, newline between function name and parenthesis (18)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__newline_between_function_name_and_parenthesis_18( Type documentType ) @@ -575,7 +576,7 @@ public void Test_functions__newline_between_function_name_and_parenthesis_18( Ty AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"functions, tab between function name and parenthesis (19)" )] + [TestMethod( DisplayName = @"functions, tab between function name and parenthesis (19)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__tab_between_function_name_and_parenthesis_19( Type documentType ) @@ -586,7 +587,7 @@ public void Test_functions__tab_between_function_name_and_parenthesis_19( Type d AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"functions, return between function name and parenthesis (20)" )] + [TestMethod( DisplayName = @"functions, return between function name and parenthesis (20)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__return_between_function_name_and_parenthesis_20( Type documentType ) @@ -597,7 +598,7 @@ public void Test_functions__return_between_function_name_and_parenthesis_20( Typ AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"functions, space between parenthesis and arg (21)" )] + [TestMethod( DisplayName = @"functions, space between parenthesis and arg (21)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__space_between_parenthesis_and_arg_21( Type documentType ) @@ -635,7 +636,7 @@ public void Test_functions__space_between_parenthesis_and_arg_21( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"functions, newline between parenthesis and arg (22)" )] + [TestMethod( DisplayName = @"functions, newline between parenthesis and arg (22)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__newline_between_parenthesis_and_arg_22( Type documentType ) @@ -673,7 +674,7 @@ public void Test_functions__newline_between_parenthesis_and_arg_22( Type documen Assert.IsTrue( match ); } - [TestMethod( @"functions, tab between parenthesis and arg (23)" )] + [TestMethod( DisplayName = @"functions, tab between parenthesis and arg (23)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__tab_between_parenthesis_and_arg_23( Type documentType ) @@ -711,7 +712,7 @@ public void Test_functions__tab_between_parenthesis_and_arg_23( Type documentTyp Assert.IsTrue( match ); } - [TestMethod( @"functions, return between parenthesis and arg (24)" )] + [TestMethod( DisplayName = @"functions, return between parenthesis and arg (24)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__return_between_parenthesis_and_arg_24( Type documentType ) @@ -749,7 +750,7 @@ public void Test_functions__return_between_parenthesis_and_arg_24( Type document Assert.IsTrue( match ); } - [TestMethod( @"functions, space between arg and comma (25)" )] + [TestMethod( DisplayName = @"functions, space between arg and comma (25)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__space_between_arg_and_comma_25( Type documentType ) @@ -774,7 +775,7 @@ public void Test_functions__space_between_arg_and_comma_25( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"functions, newline between arg and comma (26)" )] + [TestMethod( DisplayName = @"functions, newline between arg and comma (26)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__newline_between_arg_and_comma_26( Type documentType ) @@ -799,7 +800,7 @@ public void Test_functions__newline_between_arg_and_comma_26( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"functions, tab between arg and comma (27)" )] + [TestMethod( DisplayName = @"functions, tab between arg and comma (27)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__tab_between_arg_and_comma_27( Type documentType ) @@ -824,7 +825,7 @@ public void Test_functions__tab_between_arg_and_comma_27( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"functions, return between arg and comma (28)" )] + [TestMethod( DisplayName = @"functions, return between arg and comma (28)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__return_between_arg_and_comma_28( Type documentType ) @@ -849,7 +850,7 @@ public void Test_functions__return_between_arg_and_comma_28( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"functions, space between comma and arg (29)" )] + [TestMethod( DisplayName = @"functions, space between comma and arg (29)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__space_between_comma_and_arg_29( Type documentType ) @@ -874,7 +875,7 @@ public void Test_functions__space_between_comma_and_arg_29( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"functions, newline between comma and arg (30)" )] + [TestMethod( DisplayName = @"functions, newline between comma and arg (30)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__newline_between_comma_and_arg_30( Type documentType ) @@ -899,7 +900,7 @@ public void Test_functions__newline_between_comma_and_arg_30( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"functions, tab between comma and arg (31)" )] + [TestMethod( DisplayName = @"functions, tab between comma and arg (31)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__tab_between_comma_and_arg_31( Type documentType ) @@ -924,7 +925,7 @@ public void Test_functions__tab_between_comma_and_arg_31( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"functions, return between comma and arg (32)" )] + [TestMethod( DisplayName = @"functions, return between comma and arg (32)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__return_between_comma_and_arg_32( Type documentType ) @@ -949,7 +950,7 @@ public void Test_functions__return_between_comma_and_arg_32( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"functions, space between arg and parenthesis (33)" )] + [TestMethod( DisplayName = @"functions, space between arg and parenthesis (33)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__space_between_arg_and_parenthesis_33( Type documentType ) @@ -987,7 +988,7 @@ public void Test_functions__space_between_arg_and_parenthesis_33( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"functions, newline between arg and parenthesis (34)" )] + [TestMethod( DisplayName = @"functions, newline between arg and parenthesis (34)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__newline_between_arg_and_parenthesis_34( Type documentType ) @@ -1025,7 +1026,7 @@ public void Test_functions__newline_between_arg_and_parenthesis_34( Type documen Assert.IsTrue( match ); } - [TestMethod( @"functions, tab between arg and parenthesis (35)" )] + [TestMethod( DisplayName = @"functions, tab between arg and parenthesis (35)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__tab_between_arg_and_parenthesis_35( Type documentType ) @@ -1063,7 +1064,7 @@ public void Test_functions__tab_between_arg_and_parenthesis_35( Type documentTyp Assert.IsTrue( match ); } - [TestMethod( @"functions, return between arg and parenthesis (36)" )] + [TestMethod( DisplayName = @"functions, return between arg and parenthesis (36)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__return_between_arg_and_parenthesis_36( Type documentType ) @@ -1101,7 +1102,7 @@ public void Test_functions__return_between_arg_and_parenthesis_36( Type document Assert.IsTrue( match ); } - [TestMethod( @"functions, spaces in a relative singular selector (37)" )] + [TestMethod( DisplayName = @"functions, spaces in a relative singular selector (37)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__spaces_in_a_relative_singular_selector_37( Type documentType ) @@ -1134,7 +1135,7 @@ public void Test_functions__spaces_in_a_relative_singular_selector_37( Type docu Assert.IsTrue( match ); } - [TestMethod( @"functions, newlines in a relative singular selector (38)" )] + [TestMethod( DisplayName = @"functions, newlines in a relative singular selector (38)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__newlines_in_a_relative_singular_selector_38( Type documentType ) @@ -1167,7 +1168,7 @@ public void Test_functions__newlines_in_a_relative_singular_selector_38( Type do Assert.IsTrue( match ); } - [TestMethod( @"functions, tabs in a relative singular selector (39)" )] + [TestMethod( DisplayName = @"functions, tabs in a relative singular selector (39)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__tabs_in_a_relative_singular_selector_39( Type documentType ) @@ -1200,7 +1201,7 @@ public void Test_functions__tabs_in_a_relative_singular_selector_39( Type docume Assert.IsTrue( match ); } - [TestMethod( @"functions, returns in a relative singular selector (40)" )] + [TestMethod( DisplayName = @"functions, returns in a relative singular selector (40)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__returns_in_a_relative_singular_selector_40( Type documentType ) @@ -1233,7 +1234,7 @@ public void Test_functions__returns_in_a_relative_singular_selector_40( Type doc Assert.IsTrue( match ); } - [TestMethod( @"functions, spaces in an absolute singular selector (41)" )] + [TestMethod( DisplayName = @"functions, spaces in an absolute singular selector (41)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__spaces_in_an_absolute_singular_selector_41( Type documentType ) @@ -1260,7 +1261,7 @@ public void Test_functions__spaces_in_an_absolute_singular_selector_41( Type doc Assert.IsTrue( match ); } - [TestMethod( @"functions, newlines in an absolute singular selector (42)" )] + [TestMethod( DisplayName = @"functions, newlines in an absolute singular selector (42)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__newlines_in_an_absolute_singular_selector_42( Type documentType ) @@ -1287,7 +1288,7 @@ public void Test_functions__newlines_in_an_absolute_singular_selector_42( Type d Assert.IsTrue( match ); } - [TestMethod( @"functions, tabs in an absolute singular selector (43)" )] + [TestMethod( DisplayName = @"functions, tabs in an absolute singular selector (43)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__tabs_in_an_absolute_singular_selector_43( Type documentType ) @@ -1314,7 +1315,7 @@ public void Test_functions__tabs_in_an_absolute_singular_selector_43( Type docum Assert.IsTrue( match ); } - [TestMethod( @"functions, returns in an absolute singular selector (44)" )] + [TestMethod( DisplayName = @"functions, returns in an absolute singular selector (44)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_functions__returns_in_an_absolute_singular_selector_44( Type documentType ) @@ -1341,7 +1342,7 @@ public void Test_functions__returns_in_an_absolute_singular_selector_44( Type do Assert.IsTrue( match ); } - [TestMethod( @"operators, space before || (45)" )] + [TestMethod( DisplayName = @"operators, space before || (45)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before____45( Type documentType ) @@ -1378,7 +1379,7 @@ public void Test_operators__space_before____45( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before || (46)" )] + [TestMethod( DisplayName = @"operators, newline before || (46)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before____46( Type documentType ) @@ -1415,7 +1416,7 @@ public void Test_operators__newline_before____46( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before || (47)" )] + [TestMethod( DisplayName = @"operators, tab before || (47)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before____47( Type documentType ) @@ -1452,7 +1453,7 @@ public void Test_operators__tab_before____47( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before || (48)" )] + [TestMethod( DisplayName = @"operators, return before || (48)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before____48( Type documentType ) @@ -1489,7 +1490,7 @@ public void Test_operators__return_before____48( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after || (49)" )] + [TestMethod( DisplayName = @"operators, space after || (49)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after____49( Type documentType ) @@ -1526,7 +1527,7 @@ public void Test_operators__space_after____49( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after || (50)" )] + [TestMethod( DisplayName = @"operators, newline after || (50)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after____50( Type documentType ) @@ -1563,7 +1564,7 @@ public void Test_operators__newline_after____50( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after || (51)" )] + [TestMethod( DisplayName = @"operators, tab after || (51)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after____51( Type documentType ) @@ -1600,7 +1601,7 @@ public void Test_operators__tab_after____51( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after || (52)" )] + [TestMethod( DisplayName = @"operators, return after || (52)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after____52( Type documentType ) @@ -1637,7 +1638,7 @@ public void Test_operators__return_after____52( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space before && (53)" )] + [TestMethod( DisplayName = @"operators, space before && (53)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before____53( Type documentType ) @@ -1673,7 +1674,7 @@ public void Test_operators__space_before____53( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before && (54)" )] + [TestMethod( DisplayName = @"operators, newline before && (54)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before____54( Type documentType ) @@ -1709,7 +1710,7 @@ public void Test_operators__newline_before____54( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before && (55)" )] + [TestMethod( DisplayName = @"operators, tab before && (55)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before____55( Type documentType ) @@ -1745,7 +1746,7 @@ public void Test_operators__tab_before____55( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before && (56)" )] + [TestMethod( DisplayName = @"operators, return before && (56)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before____56( Type documentType ) @@ -1781,7 +1782,7 @@ public void Test_operators__return_before____56( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after && (57)" )] + [TestMethod( DisplayName = @"operators, space after && (57)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after____57( Type documentType ) @@ -1817,7 +1818,7 @@ public void Test_operators__space_after____57( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after && (58)" )] + [TestMethod( DisplayName = @"operators, newline after && (58)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after____58( Type documentType ) @@ -1853,7 +1854,7 @@ public void Test_operators__newline_after____58( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after && (59)" )] + [TestMethod( DisplayName = @"operators, tab after && (59)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after____59( Type documentType ) @@ -1889,7 +1890,7 @@ public void Test_operators__tab_after____59( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after && (60)" )] + [TestMethod( DisplayName = @"operators, return after && (60)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after____60( Type documentType ) @@ -1925,7 +1926,7 @@ public void Test_operators__return_after____60( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space before == (61)" )] + [TestMethod( DisplayName = @"operators, space before == (61)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before____61( Type documentType ) @@ -1959,7 +1960,7 @@ public void Test_operators__space_before____61( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before == (62)" )] + [TestMethod( DisplayName = @"operators, newline before == (62)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before____62( Type documentType ) @@ -1993,7 +1994,7 @@ public void Test_operators__newline_before____62( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before == (63)" )] + [TestMethod( DisplayName = @"operators, tab before == (63)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before____63( Type documentType ) @@ -2027,7 +2028,7 @@ public void Test_operators__tab_before____63( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before == (64)" )] + [TestMethod( DisplayName = @"operators, return before == (64)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before____64( Type documentType ) @@ -2061,7 +2062,7 @@ public void Test_operators__return_before____64( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after == (65)" )] + [TestMethod( DisplayName = @"operators, space after == (65)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after____65( Type documentType ) @@ -2095,7 +2096,7 @@ public void Test_operators__space_after____65( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after == (66)" )] + [TestMethod( DisplayName = @"operators, newline after == (66)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after____66( Type documentType ) @@ -2129,7 +2130,7 @@ public void Test_operators__newline_after____66( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after == (67)" )] + [TestMethod( DisplayName = @"operators, tab after == (67)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after____67( Type documentType ) @@ -2163,7 +2164,7 @@ public void Test_operators__tab_after____67( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after == (68)" )] + [TestMethod( DisplayName = @"operators, return after == (68)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after____68( Type documentType ) @@ -2197,7 +2198,7 @@ public void Test_operators__return_after____68( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space before != (69)" )] + [TestMethod( DisplayName = @"operators, space before != (69)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before____69( Type documentType ) @@ -2231,7 +2232,7 @@ public void Test_operators__space_before____69( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before != (70)" )] + [TestMethod( DisplayName = @"operators, newline before != (70)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before____70( Type documentType ) @@ -2265,7 +2266,7 @@ public void Test_operators__newline_before____70( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before != (71)" )] + [TestMethod( DisplayName = @"operators, tab before != (71)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before____71( Type documentType ) @@ -2299,7 +2300,7 @@ public void Test_operators__tab_before____71( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before != (72)" )] + [TestMethod( DisplayName = @"operators, return before != (72)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before____72( Type documentType ) @@ -2333,7 +2334,7 @@ public void Test_operators__return_before____72( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after != (73)" )] + [TestMethod( DisplayName = @"operators, space after != (73)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after____73( Type documentType ) @@ -2367,7 +2368,7 @@ public void Test_operators__space_after____73( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after != (74)" )] + [TestMethod( DisplayName = @"operators, newline after != (74)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after____74( Type documentType ) @@ -2401,7 +2402,7 @@ public void Test_operators__newline_after____74( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after != (75)" )] + [TestMethod( DisplayName = @"operators, tab after != (75)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after____75( Type documentType ) @@ -2435,7 +2436,7 @@ public void Test_operators__tab_after____75( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after != (76)" )] + [TestMethod( DisplayName = @"operators, return after != (76)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after____76( Type documentType ) @@ -2469,7 +2470,7 @@ public void Test_operators__return_after____76( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space before < (77)" )] + [TestMethod( DisplayName = @"operators, space before < (77)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before___77( Type documentType ) @@ -2503,7 +2504,7 @@ public void Test_operators__space_before___77( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before < (78)" )] + [TestMethod( DisplayName = @"operators, newline before < (78)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before___78( Type documentType ) @@ -2537,7 +2538,7 @@ public void Test_operators__newline_before___78( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before < (79)" )] + [TestMethod( DisplayName = @"operators, tab before < (79)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before___79( Type documentType ) @@ -2571,7 +2572,7 @@ public void Test_operators__tab_before___79( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before < (80)" )] + [TestMethod( DisplayName = @"operators, return before < (80)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before___80( Type documentType ) @@ -2605,7 +2606,7 @@ public void Test_operators__return_before___80( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after < (81)" )] + [TestMethod( DisplayName = @"operators, space after < (81)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after___81( Type documentType ) @@ -2639,7 +2640,7 @@ public void Test_operators__space_after___81( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after < (82)" )] + [TestMethod( DisplayName = @"operators, newline after < (82)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after___82( Type documentType ) @@ -2673,7 +2674,7 @@ public void Test_operators__newline_after___82( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after < (83)" )] + [TestMethod( DisplayName = @"operators, tab after < (83)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after___83( Type documentType ) @@ -2707,7 +2708,7 @@ public void Test_operators__tab_after___83( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after < (84)" )] + [TestMethod( DisplayName = @"operators, return after < (84)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after___84( Type documentType ) @@ -2741,7 +2742,7 @@ public void Test_operators__return_after___84( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space before > (85)" )] + [TestMethod( DisplayName = @"operators, space before > (85)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before___85( Type documentType ) @@ -2775,7 +2776,7 @@ public void Test_operators__space_before___85( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before > (86)" )] + [TestMethod( DisplayName = @"operators, newline before > (86)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before___86( Type documentType ) @@ -2809,7 +2810,7 @@ public void Test_operators__newline_before___86( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before > (87)" )] + [TestMethod( DisplayName = @"operators, tab before > (87)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before___87( Type documentType ) @@ -2843,7 +2844,7 @@ public void Test_operators__tab_before___87( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before > (88)" )] + [TestMethod( DisplayName = @"operators, return before > (88)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before___88( Type documentType ) @@ -2877,7 +2878,7 @@ public void Test_operators__return_before___88( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after > (89)" )] + [TestMethod( DisplayName = @"operators, space after > (89)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after___89( Type documentType ) @@ -2911,7 +2912,7 @@ public void Test_operators__space_after___89( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after > (90)" )] + [TestMethod( DisplayName = @"operators, newline after > (90)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after___90( Type documentType ) @@ -2945,7 +2946,7 @@ public void Test_operators__newline_after___90( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after > (91)" )] + [TestMethod( DisplayName = @"operators, tab after > (91)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after___91( Type documentType ) @@ -2979,7 +2980,7 @@ public void Test_operators__tab_after___91( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after > (92)" )] + [TestMethod( DisplayName = @"operators, return after > (92)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after___92( Type documentType ) @@ -3013,7 +3014,7 @@ public void Test_operators__return_after___92( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space before <= (93)" )] + [TestMethod( DisplayName = @"operators, space before <= (93)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before____93( Type documentType ) @@ -3055,7 +3056,7 @@ public void Test_operators__space_before____93( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before <= (94)" )] + [TestMethod( DisplayName = @"operators, newline before <= (94)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before____94( Type documentType ) @@ -3097,7 +3098,7 @@ public void Test_operators__newline_before____94( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before <= (95)" )] + [TestMethod( DisplayName = @"operators, tab before <= (95)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before____95( Type documentType ) @@ -3139,7 +3140,7 @@ public void Test_operators__tab_before____95( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before <= (96)" )] + [TestMethod( DisplayName = @"operators, return before <= (96)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before____96( Type documentType ) @@ -3181,7 +3182,7 @@ public void Test_operators__return_before____96( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after <= (97)" )] + [TestMethod( DisplayName = @"operators, space after <= (97)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after____97( Type documentType ) @@ -3223,7 +3224,7 @@ public void Test_operators__space_after____97( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after <= (98)" )] + [TestMethod( DisplayName = @"operators, newline after <= (98)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after____98( Type documentType ) @@ -3265,7 +3266,7 @@ public void Test_operators__newline_after____98( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after <= (99)" )] + [TestMethod( DisplayName = @"operators, tab after <= (99)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after____99( Type documentType ) @@ -3307,7 +3308,7 @@ public void Test_operators__tab_after____99( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after <= (100)" )] + [TestMethod( DisplayName = @"operators, return after <= (100)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after____100( Type documentType ) @@ -3349,7 +3350,7 @@ public void Test_operators__return_after____100( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space before >= (101)" )] + [TestMethod( DisplayName = @"operators, space before >= (101)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_before____101( Type documentType ) @@ -3391,7 +3392,7 @@ public void Test_operators__space_before____101( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline before >= (102)" )] + [TestMethod( DisplayName = @"operators, newline before >= (102)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_before____102( Type documentType ) @@ -3433,7 +3434,7 @@ public void Test_operators__newline_before____102( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab before >= (103)" )] + [TestMethod( DisplayName = @"operators, tab before >= (103)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_before____103( Type documentType ) @@ -3475,7 +3476,7 @@ public void Test_operators__tab_before____103( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return before >= (104)" )] + [TestMethod( DisplayName = @"operators, return before >= (104)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_before____104( Type documentType ) @@ -3517,7 +3518,7 @@ public void Test_operators__return_before____104( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space after >= (105)" )] + [TestMethod( DisplayName = @"operators, space after >= (105)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_after____105( Type documentType ) @@ -3559,7 +3560,7 @@ public void Test_operators__space_after____105( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, newline after >= (106)" )] + [TestMethod( DisplayName = @"operators, newline after >= (106)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_after____106( Type documentType ) @@ -3601,7 +3602,7 @@ public void Test_operators__newline_after____106( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, tab after >= (107)" )] + [TestMethod( DisplayName = @"operators, tab after >= (107)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_after____107( Type documentType ) @@ -3643,7 +3644,7 @@ public void Test_operators__tab_after____107( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, return after >= (108)" )] + [TestMethod( DisplayName = @"operators, return after >= (108)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_after____108( Type documentType ) @@ -3685,7 +3686,7 @@ public void Test_operators__return_after____108( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"operators, space between logical not and test expression (109)" )] + [TestMethod( DisplayName = @"operators, space between logical not and test expression (109)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_between_logical_not_and_test_expression_109( Type documentType ) @@ -3721,7 +3722,7 @@ public void Test_operators__space_between_logical_not_and_test_expression_109( T Assert.IsTrue( match ); } - [TestMethod( @"operators, newline between logical not and test expression (110)" )] + [TestMethod( DisplayName = @"operators, newline between logical not and test expression (110)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_between_logical_not_and_test_expression_110( Type documentType ) @@ -3757,7 +3758,7 @@ public void Test_operators__newline_between_logical_not_and_test_expression_110( Assert.IsTrue( match ); } - [TestMethod( @"operators, tab between logical not and test expression (111)" )] + [TestMethod( DisplayName = @"operators, tab between logical not and test expression (111)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_between_logical_not_and_test_expression_111( Type documentType ) @@ -3793,7 +3794,7 @@ public void Test_operators__tab_between_logical_not_and_test_expression_111( Typ Assert.IsTrue( match ); } - [TestMethod( @"operators, return between logical not and test expression (112)" )] + [TestMethod( DisplayName = @"operators, return between logical not and test expression (112)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_between_logical_not_and_test_expression_112( Type documentType ) @@ -3829,7 +3830,7 @@ public void Test_operators__return_between_logical_not_and_test_expression_112( Assert.IsTrue( match ); } - [TestMethod( @"operators, space between logical not and parenthesized expression (113)" )] + [TestMethod( DisplayName = @"operators, space between logical not and parenthesized expression (113)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__space_between_logical_not_and_parenthesized_expression_113( Type documentType ) @@ -3871,7 +3872,7 @@ public void Test_operators__space_between_logical_not_and_parenthesized_expressi Assert.IsTrue( match ); } - [TestMethod( @"operators, newline between logical not and parenthesized expression (114)" )] + [TestMethod( DisplayName = @"operators, newline between logical not and parenthesized expression (114)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__newline_between_logical_not_and_parenthesized_expression_114( Type documentType ) @@ -3913,7 +3914,7 @@ public void Test_operators__newline_between_logical_not_and_parenthesized_expres Assert.IsTrue( match ); } - [TestMethod( @"operators, tab between logical not and parenthesized expression (115)" )] + [TestMethod( DisplayName = @"operators, tab between logical not and parenthesized expression (115)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__tab_between_logical_not_and_parenthesized_expression_115( Type documentType ) @@ -3955,7 +3956,7 @@ public void Test_operators__tab_between_logical_not_and_parenthesized_expression Assert.IsTrue( match ); } - [TestMethod( @"operators, return between logical not and parenthesized expression (116)" )] + [TestMethod( DisplayName = @"operators, return between logical not and parenthesized expression (116)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_operators__return_between_logical_not_and_parenthesized_expression_116( Type documentType ) @@ -3997,7 +3998,7 @@ public void Test_operators__return_between_logical_not_and_parenthesized_express Assert.IsTrue( match ); } - [TestMethod( @"selectors, space between root and bracket (117)" )] + [TestMethod( DisplayName = @"selectors, space between root and bracket (117)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_root_and_bracket_117( Type documentType ) @@ -4021,7 +4022,7 @@ public void Test_selectors__space_between_root_and_bracket_117( Type documentTyp Assert.IsTrue( match ); } - [TestMethod( @"selectors, newline between root and bracket (118)" )] + [TestMethod( DisplayName = @"selectors, newline between root and bracket (118)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_root_and_bracket_118( Type documentType ) @@ -4045,7 +4046,7 @@ public void Test_selectors__newline_between_root_and_bracket_118( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"selectors, tab between root and bracket (119)" )] + [TestMethod( DisplayName = @"selectors, tab between root and bracket (119)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_root_and_bracket_119( Type documentType ) @@ -4069,7 +4070,7 @@ public void Test_selectors__tab_between_root_and_bracket_119( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"selectors, return between root and bracket (120)" )] + [TestMethod( DisplayName = @"selectors, return between root and bracket (120)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_root_and_bracket_120( Type documentType ) @@ -4093,7 +4094,7 @@ public void Test_selectors__return_between_root_and_bracket_120( Type documentTy Assert.IsTrue( match ); } - [TestMethod( @"selectors, space between bracket and bracket (121)" )] + [TestMethod( DisplayName = @"selectors, space between bracket and bracket (121)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_bracket_and_bracket_121( Type documentType ) @@ -4119,7 +4120,7 @@ public void Test_selectors__space_between_bracket_and_bracket_121( Type document Assert.IsTrue( match ); } - [TestMethod( @"selectors, newline between root and bracket (122)" )] + [TestMethod( DisplayName = @"selectors, newline between root and bracket (122)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_root_and_bracket_122( Type documentType ) @@ -4145,7 +4146,7 @@ public void Test_selectors__newline_between_root_and_bracket_122( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"selectors, tab between root and bracket (123)" )] + [TestMethod( DisplayName = @"selectors, tab between root and bracket (123)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_root_and_bracket_123( Type documentType ) @@ -4171,7 +4172,7 @@ public void Test_selectors__tab_between_root_and_bracket_123( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"selectors, return between root and bracket (124)" )] + [TestMethod( DisplayName = @"selectors, return between root and bracket (124)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_root_and_bracket_124( Type documentType ) @@ -4197,7 +4198,7 @@ public void Test_selectors__return_between_root_and_bracket_124( Type documentTy Assert.IsTrue( match ); } - [TestMethod( @"selectors, space between root and dot (125)" )] + [TestMethod( DisplayName = @"selectors, space between root and dot (125)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_root_and_dot_125( Type documentType ) @@ -4221,7 +4222,7 @@ public void Test_selectors__space_between_root_and_dot_125( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"selectors, newline between root and dot (126)" )] + [TestMethod( DisplayName = @"selectors, newline between root and dot (126)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_root_and_dot_126( Type documentType ) @@ -4245,7 +4246,7 @@ public void Test_selectors__newline_between_root_and_dot_126( Type documentType Assert.IsTrue( match ); } - [TestMethod( @"selectors, tab between root and dot (127)" )] + [TestMethod( DisplayName = @"selectors, tab between root and dot (127)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_root_and_dot_127( Type documentType ) @@ -4269,7 +4270,7 @@ public void Test_selectors__tab_between_root_and_dot_127( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"selectors, return between root and dot (128)" )] + [TestMethod( DisplayName = @"selectors, return between root and dot (128)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_root_and_dot_128( Type documentType ) @@ -4293,7 +4294,7 @@ public void Test_selectors__return_between_root_and_dot_128( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"selectors, space between dot and name (129)" )] + [TestMethod( DisplayName = @"selectors, space between dot and name (129)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_dot_and_name_129( Type documentType ) @@ -4304,7 +4305,7 @@ public void Test_selectors__space_between_dot_and_name_129( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, newline between dot and name (130)" )] + [TestMethod( DisplayName = @"selectors, newline between dot and name (130)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_dot_and_name_130( Type documentType ) @@ -4315,7 +4316,7 @@ public void Test_selectors__newline_between_dot_and_name_130( Type documentType AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, tab between dot and name (131)" )] + [TestMethod( DisplayName = @"selectors, tab between dot and name (131)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_dot_and_name_131( Type documentType ) @@ -4326,7 +4327,7 @@ public void Test_selectors__tab_between_dot_and_name_131( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, return between dot and name (132)" )] + [TestMethod( DisplayName = @"selectors, return between dot and name (132)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_dot_and_name_132( Type documentType ) @@ -4337,7 +4338,7 @@ public void Test_selectors__return_between_dot_and_name_132( Type documentType ) AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, space between recursive descent and name (133)" )] + [TestMethod( DisplayName = @"selectors, space between recursive descent and name (133)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_recursive_descent_and_name_133( Type documentType ) @@ -4348,7 +4349,7 @@ public void Test_selectors__space_between_recursive_descent_and_name_133( Type d AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, newline between recursive descent and name (134)" )] + [TestMethod( DisplayName = @"selectors, newline between recursive descent and name (134)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_recursive_descent_and_name_134( Type documentType ) @@ -4359,7 +4360,7 @@ public void Test_selectors__newline_between_recursive_descent_and_name_134( Type AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, tab between recursive descent and name (135)" )] + [TestMethod( DisplayName = @"selectors, tab between recursive descent and name (135)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_recursive_descent_and_name_135( Type documentType ) @@ -4370,7 +4371,7 @@ public void Test_selectors__tab_between_recursive_descent_and_name_135( Type doc AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, return between recursive descent and name (136)" )] + [TestMethod( DisplayName = @"selectors, return between recursive descent and name (136)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_recursive_descent_and_name_136( Type documentType ) @@ -4381,7 +4382,7 @@ public void Test_selectors__return_between_recursive_descent_and_name_136( Type AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } ); } - [TestMethod( @"selectors, space between bracket and selector (137)" )] + [TestMethod( DisplayName = @"selectors, space between bracket and selector (137)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_bracket_and_selector_137( Type documentType ) @@ -4405,7 +4406,7 @@ public void Test_selectors__space_between_bracket_and_selector_137( Type documen Assert.IsTrue( match ); } - [TestMethod( @"selectors, newline between bracket and selector (138)" )] + [TestMethod( DisplayName = @"selectors, newline between bracket and selector (138)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_bracket_and_selector_138( Type documentType ) @@ -4429,7 +4430,7 @@ public void Test_selectors__newline_between_bracket_and_selector_138( Type docum Assert.IsTrue( match ); } - [TestMethod( @"selectors, tab between bracket and selector (139)" )] + [TestMethod( DisplayName = @"selectors, tab between bracket and selector (139)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_bracket_and_selector_139( Type documentType ) @@ -4453,7 +4454,7 @@ public void Test_selectors__tab_between_bracket_and_selector_139( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"selectors, return between bracket and selector (140)" )] + [TestMethod( DisplayName = @"selectors, return between bracket and selector (140)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_bracket_and_selector_140( Type documentType ) @@ -4477,7 +4478,7 @@ public void Test_selectors__return_between_bracket_and_selector_140( Type docume Assert.IsTrue( match ); } - [TestMethod( @"selectors, space between selector and bracket (141)" )] + [TestMethod( DisplayName = @"selectors, space between selector and bracket (141)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_selector_and_bracket_141( Type documentType ) @@ -4501,7 +4502,7 @@ public void Test_selectors__space_between_selector_and_bracket_141( Type documen Assert.IsTrue( match ); } - [TestMethod( @"selectors, newline between selector and bracket (142)" )] + [TestMethod( DisplayName = @"selectors, newline between selector and bracket (142)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_selector_and_bracket_142( Type documentType ) @@ -4525,7 +4526,7 @@ public void Test_selectors__newline_between_selector_and_bracket_142( Type docum Assert.IsTrue( match ); } - [TestMethod( @"selectors, tab between selector and bracket (143)" )] + [TestMethod( DisplayName = @"selectors, tab between selector and bracket (143)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_selector_and_bracket_143( Type documentType ) @@ -4549,7 +4550,7 @@ public void Test_selectors__tab_between_selector_and_bracket_143( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"selectors, return between selector and bracket (144)" )] + [TestMethod( DisplayName = @"selectors, return between selector and bracket (144)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_selector_and_bracket_144( Type documentType ) @@ -4573,7 +4574,7 @@ public void Test_selectors__return_between_selector_and_bracket_144( Type docume Assert.IsTrue( match ); } - [TestMethod( @"selectors, space between selector and comma (145)" )] + [TestMethod( DisplayName = @"selectors, space between selector and comma (145)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_selector_and_comma_145( Type documentType ) @@ -4599,7 +4600,7 @@ public void Test_selectors__space_between_selector_and_comma_145( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"selectors, newline between selector and comma (146)" )] + [TestMethod( DisplayName = @"selectors, newline between selector and comma (146)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_selector_and_comma_146( Type documentType ) @@ -4625,7 +4626,7 @@ public void Test_selectors__newline_between_selector_and_comma_146( Type documen Assert.IsTrue( match ); } - [TestMethod( @"selectors, tab between selector and comma (147)" )] + [TestMethod( DisplayName = @"selectors, tab between selector and comma (147)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_selector_and_comma_147( Type documentType ) @@ -4651,7 +4652,7 @@ public void Test_selectors__tab_between_selector_and_comma_147( Type documentTyp Assert.IsTrue( match ); } - [TestMethod( @"selectors, return between selector and comma (148)" )] + [TestMethod( DisplayName = @"selectors, return between selector and comma (148)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_selector_and_comma_148( Type documentType ) @@ -4677,7 +4678,7 @@ public void Test_selectors__return_between_selector_and_comma_148( Type document Assert.IsTrue( match ); } - [TestMethod( @"selectors, space between comma and selector (149)" )] + [TestMethod( DisplayName = @"selectors, space between comma and selector (149)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__space_between_comma_and_selector_149( Type documentType ) @@ -4703,7 +4704,7 @@ public void Test_selectors__space_between_comma_and_selector_149( Type documentT Assert.IsTrue( match ); } - [TestMethod( @"selectors, newline between comma and selector (150)" )] + [TestMethod( DisplayName = @"selectors, newline between comma and selector (150)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__newline_between_comma_and_selector_150( Type documentType ) @@ -4729,7 +4730,7 @@ public void Test_selectors__newline_between_comma_and_selector_150( Type documen Assert.IsTrue( match ); } - [TestMethod( @"selectors, tab between comma and selector (151)" )] + [TestMethod( DisplayName = @"selectors, tab between comma and selector (151)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__tab_between_comma_and_selector_151( Type documentType ) @@ -4755,7 +4756,7 @@ public void Test_selectors__tab_between_comma_and_selector_151( Type documentTyp Assert.IsTrue( match ); } - [TestMethod( @"selectors, return between comma and selector (152)" )] + [TestMethod( DisplayName = @"selectors, return between comma and selector (152)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_selectors__return_between_comma_and_selector_152( Type documentType ) @@ -4781,7 +4782,7 @@ public void Test_selectors__return_between_comma_and_selector_152( Type document Assert.IsTrue( match ); } - [TestMethod( @"slice, space between start and colon (153)" )] + [TestMethod( DisplayName = @"slice, space between start and colon (153)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__space_between_start_and_colon_153( Type documentType ) @@ -4811,7 +4812,7 @@ public void Test_slice__space_between_start_and_colon_153( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, newline between start and colon (154)" )] + [TestMethod( DisplayName = @"slice, newline between start and colon (154)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__newline_between_start_and_colon_154( Type documentType ) @@ -4841,7 +4842,7 @@ public void Test_slice__newline_between_start_and_colon_154( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, tab between start and colon (155)" )] + [TestMethod( DisplayName = @"slice, tab between start and colon (155)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__tab_between_start_and_colon_155( Type documentType ) @@ -4871,7 +4872,7 @@ public void Test_slice__tab_between_start_and_colon_155( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, return between start and colon (156)" )] + [TestMethod( DisplayName = @"slice, return between start and colon (156)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__return_between_start_and_colon_156( Type documentType ) @@ -4901,7 +4902,7 @@ public void Test_slice__return_between_start_and_colon_156( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, space between colon and end (157)" )] + [TestMethod( DisplayName = @"slice, space between colon and end (157)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__space_between_colon_and_end_157( Type documentType ) @@ -4931,7 +4932,7 @@ public void Test_slice__space_between_colon_and_end_157( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, newline between colon and end (158)" )] + [TestMethod( DisplayName = @"slice, newline between colon and end (158)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__newline_between_colon_and_end_158( Type documentType ) @@ -4961,7 +4962,7 @@ public void Test_slice__newline_between_colon_and_end_158( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, tab between colon and end (159)" )] + [TestMethod( DisplayName = @"slice, tab between colon and end (159)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__tab_between_colon_and_end_159( Type documentType ) @@ -4991,7 +4992,7 @@ public void Test_slice__tab_between_colon_and_end_159( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, return between colon and end (160)" )] + [TestMethod( DisplayName = @"slice, return between colon and end (160)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__return_between_colon_and_end_160( Type documentType ) @@ -5021,7 +5022,7 @@ public void Test_slice__return_between_colon_and_end_160( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, space between end and colon (161)" )] + [TestMethod( DisplayName = @"slice, space between end and colon (161)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__space_between_end_and_colon_161( Type documentType ) @@ -5051,7 +5052,7 @@ public void Test_slice__space_between_end_and_colon_161( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, newline between end and colon (162)" )] + [TestMethod( DisplayName = @"slice, newline between end and colon (162)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__newline_between_end_and_colon_162( Type documentType ) @@ -5081,7 +5082,7 @@ public void Test_slice__newline_between_end_and_colon_162( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, tab between end and colon (163)" )] + [TestMethod( DisplayName = @"slice, tab between end and colon (163)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__tab_between_end_and_colon_163( Type documentType ) @@ -5111,7 +5112,7 @@ public void Test_slice__tab_between_end_and_colon_163( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, return between end and colon (164)" )] + [TestMethod( DisplayName = @"slice, return between end and colon (164)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__return_between_end_and_colon_164( Type documentType ) @@ -5141,7 +5142,7 @@ public void Test_slice__return_between_end_and_colon_164( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, space between colon and step (165)" )] + [TestMethod( DisplayName = @"slice, space between colon and step (165)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__space_between_colon_and_step_165( Type documentType ) @@ -5171,7 +5172,7 @@ public void Test_slice__space_between_colon_and_step_165( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, newline between colon and step (166)" )] + [TestMethod( DisplayName = @"slice, newline between colon and step (166)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__newline_between_colon_and_step_166( Type documentType ) @@ -5201,7 +5202,7 @@ public void Test_slice__newline_between_colon_and_step_166( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, tab between colon and step (167)" )] + [TestMethod( DisplayName = @"slice, tab between colon and step (167)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__tab_between_colon_and_step_167( Type documentType ) @@ -5231,7 +5232,7 @@ public void Test_slice__tab_between_colon_and_step_167( Type documentType ) Assert.IsTrue( match ); } - [TestMethod( @"slice, return between colon and step (168)" )] + [TestMethod( DisplayName = @"slice, return between colon and step (168)" )] [DataRow( typeof( JsonNode ) )] [DataRow( typeof( JsonElement ) )] public void Test_slice__return_between_colon_and_step_168( Type documentType ) diff --git a/test/Hyperbee.Json.Tests/Core/JsonPathBuilderTests.cs b/test/Hyperbee.Json.Tests/Core/JsonPathBuilderTests.cs index 2d190657..62a9954d 100644 --- a/test/Hyperbee.Json.Tests/Core/JsonPathBuilderTests.cs +++ b/test/Hyperbee.Json.Tests/Core/JsonPathBuilderTests.cs @@ -27,6 +27,6 @@ public void GetPath( string pointer, string expected ) var builder = new JsonPathBuilder( source ); var result = builder.GetPath( target ); - Assert.AreEqual( result, expected ); + Assert.AreEqual( expected, result ); } } diff --git a/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs b/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs index 5a66a718..50f506d8 100644 --- a/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs +++ b/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs @@ -46,7 +46,7 @@ public void DynamicSerializerConverter() Assert.IsTrue( jobject.store.bicycle.color == "red" ); Assert.IsTrue( jobject.store.thing == Thing.ThatThing ); Assert.IsNotNull( output ); - Assert.IsTrue( output.Contains( "ThatThing" ) ); + Assert.Contains( "ThatThing", output ); } [TestMethod] diff --git a/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj b/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj index c4fa88d2..3f2ae694 100644 --- a/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj +++ b/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj @@ -1,6 +1,6 @@ - + - net8.0;net9.0 + net8.0;net10.0 false Hyperbee.Json.Tests @@ -8,19 +8,21 @@ - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive + \ No newline at end of file diff --git a/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs b/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs index 347d2651..c3cde1fd 100644 --- a/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs +++ b/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs @@ -33,7 +33,7 @@ public void Add_WhenTargetHasAdditionalProperty( Type sourceType ) var results = Diff( sourceType, source, target ); - Assert.IsTrue( results.Length == 1 ); + Assert.HasCount( 1, results ); Assert.AreEqual( PatchOperationType.Add, results[0].Operation ); Assert.AreEqual( "/last", results[0].Path ); Assert.AreEqual( "Doe", Unwrap( results[0].Value ) ); @@ -60,7 +60,7 @@ public void Add_WhenTargetArrayHasMoreItems( Type sourceType ) var results = Diff( sourceType, source, target ); - Assert.IsTrue( results.Length == 1 ); + Assert.HasCount( 1, results ); Assert.AreEqual( PatchOperationType.Add, results[0].Operation ); Assert.AreEqual( "/categories/1", results[0].Path ); Assert.AreEqual( "B", Unwrap( results[0].Value ) ); @@ -88,7 +88,7 @@ public void Remove_WhenTargetIsMissingProperty( Type sourceType ) var results = Diff( sourceType, source, target ); - Assert.IsTrue( results.Length == 1 ); + Assert.HasCount( 1, results ); Assert.AreEqual( PatchOperationType.Remove, results[0].Operation ); Assert.AreEqual( "/last", results[0].Path ); Assert.IsNull( results[0].Value ); @@ -115,7 +115,7 @@ public void Remove_WhenTargetArrayHasLessItems( Type sourceType ) var results = Diff( sourceType, source, target ); - Assert.IsTrue( results.Length == 1 ); + Assert.HasCount( 1, results ); Assert.AreEqual( PatchOperationType.Remove, results[0].Operation ); Assert.AreEqual( "/categories/1", results[0].Path ); Assert.IsNull( results[0].Value ); @@ -142,7 +142,7 @@ public void Replace_WhenTargetPropertyUpdated( Type sourceType ) var results = Diff( sourceType, source, target ); - Assert.IsTrue( results.Length == 1 ); + Assert.HasCount( 1, results ); Assert.AreEqual( PatchOperationType.Replace, results[0].Operation ); Assert.AreEqual( "/first", results[0].Path ); Assert.AreEqual( "Mark", Unwrap( results[0].Value ) ); @@ -169,7 +169,7 @@ public void Replace_WhenTargetArrayItemsAreDifferent( Type sourceType ) var results = Diff( sourceType, source, target ); - Assert.IsTrue( results.Length == 1 ); + Assert.HasCount( 1, results ); Assert.AreEqual( PatchOperationType.Replace, results[0].Operation ); Assert.AreEqual( "/categories/1", results[0].Path ); Assert.AreEqual( "C", Unwrap( results[0].Value ) ); @@ -212,7 +212,7 @@ public void Replace_WhenComplexTargetArrayHasDifferentValues( Type sourceType ) var results = Diff( sourceType, source, target ); - Assert.IsTrue( results.Length == 2 ); + Assert.HasCount( 2, results ); Assert.AreEqual( PatchOperationType.Add, results[0].Operation ); Assert.AreEqual( "/categories/2", results[0].Path ); @@ -260,7 +260,7 @@ public void MultipleOperations_WhenTargetHasMultipleUpdates( Type sourceType ) var results = Diff( sourceType, source, target ).ToArray(); - Assert.IsTrue( results.Length == 8 ); + Assert.HasCount( 8, results ); } [TestMethod] @@ -292,7 +292,7 @@ public void EscapePath_WhenJsonHasPropertyNames( Type sourceType ) var results = Diff( sourceType, source, target ).ToArray(); - Assert.IsTrue( results.Length == 10 ); + Assert.HasCount( 10, results ); Assert.AreEqual( "/foo", results[0].Path ); Assert.AreEqual( "/", results[1].Path ); @@ -329,7 +329,7 @@ public void MultipleOperations_WhenSourceAndTargetAreObjects() var results = JsonDiff.Diff( source, target ).ToArray(); - Assert.IsTrue( results.Length == 8 ); + Assert.HasCount( 8, results ); } [TestMethod] diff --git a/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs b/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs index 16a4c836..d0bdab20 100644 --- a/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs +++ b/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs @@ -885,7 +885,7 @@ public void Replace_WhenValueProperty_WithNull() patch.Apply( source ); - Assert.AreEqual( null, source!["first"] ); + Assert.IsNull( source!["first"] ); } [TestMethod] diff --git a/test/Hyperbee.Json.Tests/Path/Parser/ExtensionFunctionTests.cs b/test/Hyperbee.Json.Tests/Path/Parser/ExtensionFunctionTests.cs index c87a9e8b..bf05455c 100644 --- a/test/Hyperbee.Json.Tests/Path/Parser/ExtensionFunctionTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Parser/ExtensionFunctionTests.cs @@ -29,7 +29,7 @@ public void CallCustomFunction() var results = source.Select( "$..[?path(@) == '$.store.book[2].title']" ).ToList(); // assert - Assert.IsTrue( results.Count == 1 ); + Assert.HasCount( 1, results ); Assert.AreEqual( "$.store.book[2].title", results[0].GetPath() ); } diff --git a/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs b/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs index 4d25bb6c..5b0c4ba3 100644 --- a/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs @@ -184,7 +184,7 @@ public void Fail_WhenHasInvalidWhitespace( string filter, Type sourceType ) [DataRow( "badMethod(1)", typeof( JsonElement ) )] public void FailToParse_WhenUsingInvalidFilters( string filter, Type sourceType ) { - AssertExtensions.ThrowsAny( () => GetExpression( filter, sourceType ) ); + TestSupport.AssertExtensions.ThrowsAny( () => GetExpression( filter, sourceType ) ); } // Helper methods diff --git a/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs b/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs index 6b830465..2879cb20 100644 --- a/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs @@ -124,14 +124,14 @@ public void Compare_WithEmpty() var a = new NodeList( [], true ); var b = new ScalarValue( 1F ); - Assert.IsFalse( comparer.Compare( a, b, Operator.LessThan ) < 0 ); - Assert.IsFalse( comparer.Compare( a, b, Operator.LessThanOrEqual ) <= 0 ); + Assert.IsGreaterThanOrEqualTo( 0, comparer.Compare( a, b, Operator.LessThan ) ); + Assert.IsGreaterThan( 0, comparer.Compare( a, b, Operator.LessThanOrEqual ) ); - Assert.IsFalse( comparer.Compare( a, b, Operator.GreaterThan ) > 0 ); - Assert.IsFalse( comparer.Compare( a, b, Operator.GreaterThanOrEqual ) >= 0 ); + Assert.IsLessThanOrEqualTo( 0, comparer.Compare( a, b, Operator.GreaterThan ) ); + Assert.IsLessThan( 0, comparer.Compare( a, b, Operator.GreaterThanOrEqual ) ); - Assert.IsFalse( comparer.Compare( a, b, Operator.Equals ) == 0 ); - Assert.IsTrue( comparer.Compare( a, b, Operator.NotEquals ) != 0 ); + Assert.AreNotEqual( 0, comparer.Compare( a, b, Operator.Equals ) ); + Assert.AreNotEqual( 0, comparer.Compare( a, b, Operator.NotEquals ) ); } // Helper methods diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs index d1105c8d..239db48b 100644 --- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs @@ -93,7 +93,7 @@ public void TheThirdBook( string query ) var expected = PathNodePair( source, "$.store.book[2]" ); - Assert.IsTrue( match.Count == 1 ); + Assert.HasCount( 1, match ); Assert.AreEqual( expected.Node, match[0].Node ); Assert.AreEqual( expected.Path, match[0].Path ); } diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs index 8e03d6c0..c3e143cb 100644 --- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs @@ -105,7 +105,7 @@ public void TheThirdBook( string query, Type sourceType ) var match = source.Select( query ).ToList(); var expected = source.FromJsonPathPointer( "$.store.book[2]" ); - Assert.IsTrue( match.Count == 1 ); + Assert.HasCount( 1, match ); Assert.AreEqual( expected, match[0] ); } diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs index 3f9eecb0..520c6fa4 100644 --- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs @@ -143,7 +143,7 @@ public void BracketNotationWithDot( string query, Type sourceType ) var source = GetDocumentAdapter( sourceType, json ); var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "42" ); } @@ -162,7 +162,7 @@ public void BracketNotationWithDoubleQuotes( string query, Type sourceType ) var source = GetDocumentAdapter( sourceType, json ); var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" ); } @@ -205,7 +205,7 @@ public void BracketNotationWithEmptyString( string query, Type sourceType ) var source = GetDocumentAdapter( sourceType, json ); var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 ); } @@ -226,7 +226,7 @@ public void BracketNotationWithEmptyStringDoubleQuoted( string query, Type sourc var source = GetDocumentAdapter( sourceType, json ); var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 ); } @@ -246,7 +246,7 @@ public void BracketNotationWithNegativeNumberOnShortArray( string query, Type so var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 0 ); + Assert.IsEmpty( matches ); } [TestMethod] @@ -269,7 +269,7 @@ public void BracketNotationWithNumber( string query, Type sourceType ) var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "third" ); } @@ -291,7 +291,7 @@ public void BracketNotationWithNumberNegative1( string query, Type sourceType ) var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "third" ); } @@ -331,7 +331,7 @@ public void BracketNotationWithNumber0( string query, Type sourceType ) var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "first" ); } @@ -416,7 +416,7 @@ public void BracketNotationWithQuotedArraySliceLiteral( string query, Type sourc var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" ); } @@ -436,7 +436,7 @@ public void BracketNotationWithQuotedClosingBracketLiteral( string query, Type s var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 ); } @@ -457,7 +457,7 @@ public void BracketNotationWithQuotedCurrentObjectLiteral( string query, Type so var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" ); } @@ -551,7 +551,7 @@ public void BracketNotationWithQuotedEscapedSingleQuote( string query, Type sour var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" ); } @@ -619,7 +619,7 @@ public void BracketNotationWithQuotedSpecialCharactersCombined( string query, Ty var matches = source.Select( query ).ToList(); - Assert.IsTrue( matches.Count == 1 ); + Assert.HasCount( 1, matches ); Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 ); } diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs index 9c02a0b7..a8c88328 100644 --- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs @@ -35,7 +35,7 @@ public void InOperation_SingleValue( string query, string expect, Type sourceTyp }; var matches = source.Select( query ).ToList(); - Assert.AreEqual( expected.Length, matches.Count ); + Assert.HasCount( expected.Length, matches ); Assert.IsTrue( expected.SequenceEqual( matches ) ); } @@ -60,7 +60,7 @@ public void InOperation_ArrayValueIsNotAnArrayElement( string query, Type source var source = GetDocumentAdapter( sourceType, json ); var matches = source.Select( query ).ToList(); - Assert.AreEqual( 0, matches.Count ); + Assert.IsEmpty( matches ); } [TestMethod] @@ -85,7 +85,7 @@ public void InOperation_ArrayValueIsAnArrayElement( string query, string expect, var expected = new[] { source.FromJsonPathPointer( expect ) }; var matches = source.Select( query ).ToList(); - Assert.AreEqual( expected.Length, matches.Count ); + Assert.HasCount( expected.Length, matches ); Assert.IsTrue( expected.SequenceEqual( matches ) ); } @@ -115,7 +115,7 @@ public void InOperation_MultipleConditions( string query, Type sourceType ) }; var matches = source.Select( query ).ToList(); - Assert.AreEqual( expected.Length, matches.Count ); + Assert.HasCount( expected.Length, matches ); Assert.IsTrue( expected.SequenceEqual( matches ) ); } @@ -138,7 +138,7 @@ public void InOperation_ArrayNotAnArrayElement( string query, Type sourceType ) var source = GetDocumentAdapter( sourceType, json ); var matches = source.Select( query ).ToList(); - Assert.AreEqual( 0, matches.Count ); + Assert.IsEmpty( matches ); } [TestMethod] @@ -161,7 +161,7 @@ public void InOperation_ArrayIsArrayElement( string query, Type sourceType ) var expected = new[] { source.FromJsonPathPointer( "$[0]" ) }; var matches = source.Select( query ).ToList(); - Assert.AreEqual( expected.Length, matches.Count ); + Assert.HasCount( expected.Length, matches ); Assert.IsTrue( expected.SequenceEqual( matches ) ); } } diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs index 0500d91b..1863815c 100644 --- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs +++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs @@ -38,7 +38,7 @@ public void MathOperations( string query, Type sourceType ) }; var matches = source.Select( query ).ToList(); - Assert.AreEqual( 1, matches.Count ); + Assert.HasCount( 1, matches ); Assert.IsTrue( expected.SequenceEqual( matches ) ); } @@ -69,7 +69,7 @@ public void MathOperationsWithMultipleKeys( string query, Type sourceType ) }; var matches = source.Select( query ).ToList(); - Assert.AreEqual( 1, matches.Count ); + Assert.HasCount( 1, matches ); Assert.IsTrue( expected.SequenceEqual( matches ) ); } @@ -99,7 +99,7 @@ public void MathOperationsInArray( string query, Type sourceType ) }; var matches = source.Select( query ).ToList(); - Assert.AreEqual( 1, matches.Count ); + Assert.HasCount( 1, matches ); Assert.IsTrue( expected.SequenceEqual( matches ) ); } } From 6e7ff5f849a923f79ac605288e3eabc414812fe5 Mon Sep 17 00:00:00 2001 From: varndellwagglebee Date: Fri, 12 Dec 2025 17:05:12 +0000 Subject: [PATCH 3/3] chore(nbgv): set version via CI: 3.0.7 --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index 3f1a36ec..ede6b9ff 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "3.0.6", + "version": "3.0.7", "publicReleaseRefSpec": [ "^refs/heads/main$", "^refs/heads/hotfix$",