Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.10.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.10.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.9.3" />
</ItemGroup>

Expand Down
74 changes: 37 additions & 37 deletions test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs

Large diffs are not rendered by default.

284 changes: 142 additions & 142 deletions test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs

Large diffs are not rendered by default.

156 changes: 78 additions & 78 deletions test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
[TestClass]
public class CtsIndexSelectorTest
{
[DataTestMethod( @"first element (1)" )]
[TestMethod( @"first element (1)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_first_element_1( Type documentType )
Expand All @@ -34,7 +34,7 @@ public void Test_first_element_1( Type documentType )
Assert.IsTrue( match );
}

[DataTestMethod( @"second element (2)" )]
[TestMethod( @"second element (2)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_second_element_2( Type documentType )
Expand All @@ -59,7 +59,7 @@ public void Test_second_element_2( Type documentType )
Assert.IsTrue( match );
}

[DataTestMethod( @"out of bound (3)" )]
[TestMethod( @"out of bound (3)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_out_of_bound_3( Type documentType )
Expand All @@ -82,7 +82,7 @@ public void Test_out_of_bound_3( Type documentType )
Assert.IsTrue( match );
}

[DataTestMethod( @"overflowing index (4)" )]
[TestMethod( @"overflowing index (4)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_overflowing_index_4( Type documentType )
Expand All @@ -93,7 +93,7 @@ public void Test_overflowing_index_4( Type documentType )
AssertExtensions.ThrowsAny<NotSupportedException, ArgumentException>( () => { _ = document.Select( selector ).ToArray(); } );
}

[DataTestMethod( @"not actually an index, overflowing index leads into general text (5)" )]
[TestMethod( @"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 )
Expand All @@ -104,7 +104,7 @@ public void Test_not_actually_an_index__overflowing_index_leads_into_general_tex
AssertExtensions.ThrowsAny<NotSupportedException, ArgumentException>( () => { _ = document.Select( selector ).ToArray(); } );
}

[DataTestMethod( @"negative (6)" )]
[TestMethod( @"negative (6)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_negative_6( Type documentType )
Expand All @@ -129,7 +129,7 @@ public void Test_negative_6( Type documentType )
Assert.IsTrue( match );
}

[DataTestMethod( @"more negative (7)" )]
[TestMethod( @"more negative (7)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_more_negative_7( Type documentType )
Expand All @@ -154,7 +154,7 @@ public void Test_more_negative_7( Type documentType )
Assert.IsTrue( match );
}

[DataTestMethod( @"negative out of bound (8)" )]
[TestMethod( @"negative out of bound (8)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_negative_out_of_bound_8( Type documentType )
Expand All @@ -177,7 +177,7 @@ public void Test_negative_out_of_bound_8( Type documentType )
Assert.IsTrue( match );
}

[DataTestMethod( @"on object (9)" )]
[TestMethod( @"on object (9)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_on_object_9( Type documentType )
Expand All @@ -199,7 +199,7 @@ public void Test_on_object_9( Type documentType )
Assert.IsTrue( match );
}

[DataTestMethod( @"leading 0 (10)" )]
[TestMethod( @"leading 0 (10)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_leading_0_10( Type documentType )
Expand All @@ -210,7 +210,7 @@ public void Test_leading_0_10( Type documentType )
AssertExtensions.ThrowsAny<NotSupportedException, ArgumentException>( () => { _ = document.Select( selector ).ToArray(); } );
}

[DataTestMethod( @"leading -0 (11)" )]
[TestMethod( @"leading -0 (11)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_leading__0_11( Type documentType )
Expand Down
Loading
Loading