Skip to content

Commit c331e91

Browse files
Merge pull request #132 from Stillpoint-Software/dependabot/nuget/test/Hyperbee.Json.Cts/multi-c65343aa09
Dependabot/nuget/test/hyperbee.json.cts/multi c65343aa09
2 parents 71af5d2 + e6ea5c8 commit c331e91

32 files changed

+801
-831
lines changed

test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
1717
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
18-
<PackageReference Include="MSTest.TestAdapter" Version="3.10.1" />
18+
<PackageReference Include="MSTest.TestFramework" Version="3.10.1" />
1919
<PackageReference Include="MSTest.TestFramework" Version="3.9.3" />
2020
</ItemGroup>
2121

test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs

Lines changed: 37 additions & 37 deletions
Large diffs are not rendered by default.

test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs

Lines changed: 142 additions & 142 deletions
Large diffs are not rendered by default.

test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs

Lines changed: 78 additions & 78 deletions
Large diffs are not rendered by default.

test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
99
[TestClass]
1010
public class CtsIndexSelectorTest
1111
{
12-
[DataTestMethod( @"first element (1)" )]
12+
[TestMethod( @"first element (1)" )]
1313
[DataRow( typeof( JsonNode ) )]
1414
[DataRow( typeof( JsonElement ) )]
1515
public void Test_first_element_1( Type documentType )
@@ -34,7 +34,7 @@ public void Test_first_element_1( Type documentType )
3434
Assert.IsTrue( match );
3535
}
3636

37-
[DataTestMethod( @"second element (2)" )]
37+
[TestMethod( @"second element (2)" )]
3838
[DataRow( typeof( JsonNode ) )]
3939
[DataRow( typeof( JsonElement ) )]
4040
public void Test_second_element_2( Type documentType )
@@ -59,7 +59,7 @@ public void Test_second_element_2( Type documentType )
5959
Assert.IsTrue( match );
6060
}
6161

62-
[DataTestMethod( @"out of bound (3)" )]
62+
[TestMethod( @"out of bound (3)" )]
6363
[DataRow( typeof( JsonNode ) )]
6464
[DataRow( typeof( JsonElement ) )]
6565
public void Test_out_of_bound_3( Type documentType )
@@ -82,7 +82,7 @@ public void Test_out_of_bound_3( Type documentType )
8282
Assert.IsTrue( match );
8383
}
8484

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

96-
[DataTestMethod( @"not actually an index, overflowing index leads into general text (5)" )]
96+
[TestMethod( @"not actually an index, overflowing index leads into general text (5)" )]
9797
[DataRow( typeof( JsonNode ) )]
9898
[DataRow( typeof( JsonElement ) )]
9999
public void Test_not_actually_an_index__overflowing_index_leads_into_general_text_5( Type documentType )
@@ -104,7 +104,7 @@ public void Test_not_actually_an_index__overflowing_index_leads_into_general_tex
104104
AssertExtensions.ThrowsAny<NotSupportedException, ArgumentException>( () => { _ = document.Select( selector ).ToArray(); } );
105105
}
106106

107-
[DataTestMethod( @"negative (6)" )]
107+
[TestMethod( @"negative (6)" )]
108108
[DataRow( typeof( JsonNode ) )]
109109
[DataRow( typeof( JsonElement ) )]
110110
public void Test_negative_6( Type documentType )
@@ -129,7 +129,7 @@ public void Test_negative_6( Type documentType )
129129
Assert.IsTrue( match );
130130
}
131131

132-
[DataTestMethod( @"more negative (7)" )]
132+
[TestMethod( @"more negative (7)" )]
133133
[DataRow( typeof( JsonNode ) )]
134134
[DataRow( typeof( JsonElement ) )]
135135
public void Test_more_negative_7( Type documentType )
@@ -154,7 +154,7 @@ public void Test_more_negative_7( Type documentType )
154154
Assert.IsTrue( match );
155155
}
156156

157-
[DataTestMethod( @"negative out of bound (8)" )]
157+
[TestMethod( @"negative out of bound (8)" )]
158158
[DataRow( typeof( JsonNode ) )]
159159
[DataRow( typeof( JsonElement ) )]
160160
public void Test_negative_out_of_bound_8( Type documentType )
@@ -177,7 +177,7 @@ public void Test_negative_out_of_bound_8( Type documentType )
177177
Assert.IsTrue( match );
178178
}
179179

180-
[DataTestMethod( @"on object (9)" )]
180+
[TestMethod( @"on object (9)" )]
181181
[DataRow( typeof( JsonNode ) )]
182182
[DataRow( typeof( JsonElement ) )]
183183
public void Test_on_object_9( Type documentType )
@@ -199,7 +199,7 @@ public void Test_on_object_9( Type documentType )
199199
Assert.IsTrue( match );
200200
}
201201

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

213-
[DataTestMethod( @"leading -0 (11)" )]
213+
[TestMethod( @"leading -0 (11)" )]
214214
[DataRow( typeof( JsonNode ) )]
215215
[DataRow( typeof( JsonElement ) )]
216216
public void Test_leading__0_11( Type documentType )

0 commit comments

Comments
 (0)