@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
99[ TestClass ]
1010public 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