diff --git a/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj b/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj
index 7edb5cf9..3d8adc81 100644
--- a/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj
+++ b/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj
@@ -15,7 +15,7 @@
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 b6fe9489..3558aa77 100644
--- a/test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs
+++ b/test/Hyperbee.Json.Cts/Tests/cts-basic-tests.cs
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
[TestClass]
public class CtsBasicTest
{
- [DataTestMethod( @"root (1)" )]
+ [TestMethod( @"root (1)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_root_1( Type documentType )
@@ -37,7 +37,7 @@ public void Test_root_1( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"no leading whitespace (2)" )]
+ [TestMethod( @"no leading whitespace (2)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_no_leading_whitespace_2( Type documentType )
@@ -48,7 +48,7 @@ public void Test_no_leading_whitespace_2( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"no trailing whitespace (3)" )]
+ [TestMethod( @"no trailing whitespace (3)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_no_trailing_whitespace_3( Type documentType )
@@ -59,7 +59,7 @@ public void Test_no_trailing_whitespace_3( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"name shorthand (4)" )]
+ [TestMethod( @"name shorthand (4)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_name_shorthand_4( Type documentType )
@@ -84,7 +84,7 @@ public void Test_name_shorthand_4( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"name shorthand, extended unicode ☺ (5)" )]
+ [TestMethod( @"name shorthand, extended unicode ☺ (5)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_name_shorthand__extended_unicode___5( Type documentType )
@@ -109,7 +109,7 @@ public void Test_name_shorthand__extended_unicode___5( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"name shorthand, underscore (6)" )]
+ [TestMethod( @"name shorthand, underscore (6)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_name_shorthand__underscore_6( Type documentType )
@@ -134,7 +134,7 @@ public void Test_name_shorthand__underscore_6( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"name shorthand, symbol (7)" )]
+ [TestMethod( @"name shorthand, symbol (7)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_name_shorthand__symbol_7( Type documentType )
@@ -145,7 +145,7 @@ public void Test_name_shorthand__symbol_7( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"name shorthand, number (8)" )]
+ [TestMethod( @"name shorthand, number (8)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_name_shorthand__number_8( Type documentType )
@@ -156,7 +156,7 @@ public void Test_name_shorthand__number_8( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"name shorthand, absent data (9)" )]
+ [TestMethod( @"name shorthand, absent data (9)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_name_shorthand__absent_data_9( Type documentType )
@@ -179,7 +179,7 @@ public void Test_name_shorthand__absent_data_9( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"name shorthand, array data (10)" )]
+ [TestMethod( @"name shorthand, array data (10)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_name_shorthand__array_data_10( Type documentType )
@@ -202,7 +202,7 @@ public void Test_name_shorthand__array_data_10( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"wildcard shorthand, object data (11)" )]
+ [TestMethod( @"wildcard shorthand, object data (11)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_wildcard_shorthand__object_data_11( Type documentType )
@@ -234,7 +234,7 @@ public void Test_wildcard_shorthand__object_data_11( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"wildcard shorthand, array data (12)" )]
+ [TestMethod( @"wildcard shorthand, array data (12)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_wildcard_shorthand__array_data_12( Type documentType )
@@ -260,7 +260,7 @@ public void Test_wildcard_shorthand__array_data_12( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"wildcard selector, array data (13)" )]
+ [TestMethod( @"wildcard selector, array data (13)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_wildcard_selector__array_data_13( Type documentType )
@@ -286,7 +286,7 @@ public void Test_wildcard_selector__array_data_13( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"wildcard shorthand, then name shorthand (14)" )]
+ [TestMethod( @"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 +324,7 @@ public void Test_wildcard_shorthand__then_name_shorthand_14( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors (15)" )]
+ [TestMethod( @"multiple selectors (15)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_multiple_selectors_15( Type documentType )
@@ -358,7 +358,7 @@ public void Test_multiple_selectors_15( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, space instead of comma (16)" )]
+ [TestMethod( @"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 +369,7 @@ public void Test_multiple_selectors__space_instead_of_comma_16( Type documentTyp
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"multiple selectors, name and index, array data (17)" )]
+ [TestMethod( @"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 +402,7 @@ public void Test_multiple_selectors__name_and_index__array_data_17( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, name and index, object data (18)" )]
+ [TestMethod( @"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 +427,7 @@ public void Test_multiple_selectors__name_and_index__object_data_18( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, index and slice (19)" )]
+ [TestMethod( @"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 +462,7 @@ public void Test_multiple_selectors__index_and_slice_19( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, index and slice, overlapping (20)" )]
+ [TestMethod( @"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 +498,7 @@ public void Test_multiple_selectors__index_and_slice__overlapping_20( Type docum
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, duplicate index (21)" )]
+ [TestMethod( @"multiple selectors, duplicate index (21)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_multiple_selectors__duplicate_index_21( Type documentType )
@@ -532,7 +532,7 @@ public void Test_multiple_selectors__duplicate_index_21( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, wildcard and index (22)" )]
+ [TestMethod( @"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 +575,7 @@ public void Test_multiple_selectors__wildcard_and_index_22( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, wildcard and name (23)" )]
+ [TestMethod( @"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 +609,7 @@ public void Test_multiple_selectors__wildcard_and_name_23( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, wildcard and slice (24)" )]
+ [TestMethod( @"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 +653,7 @@ public void Test_multiple_selectors__wildcard_and_slice_24( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, multiple wildcards (25)" )]
+ [TestMethod( @"multiple selectors, multiple wildcards (25)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_multiple_selectors__multiple_wildcards_25( Type documentType )
@@ -684,7 +684,7 @@ public void Test_multiple_selectors__multiple_wildcards_25( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"empty segment (26)" )]
+ [TestMethod( @"empty segment (26)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_empty_segment_26( Type documentType )
@@ -695,7 +695,7 @@ public void Test_empty_segment_26( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"descendant segment, index (27)" )]
+ [TestMethod( @"descendant segment, index (27)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_descendant_segment__index_27( Type documentType )
@@ -727,7 +727,7 @@ public void Test_descendant_segment__index_27( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, name shorthand (28)" )]
+ [TestMethod( @"descendant segment, name shorthand (28)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_descendant_segment__name_shorthand_28( Type documentType )
@@ -759,7 +759,7 @@ public void Test_descendant_segment__name_shorthand_28( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, wildcard shorthand, array data (29)" )]
+ [TestMethod( @"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 +785,7 @@ public void Test_descendant_segment__wildcard_shorthand__array_data_29( Type doc
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, wildcard selector, array data (30)" )]
+ [TestMethod( @"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 +811,7 @@ public void Test_descendant_segment__wildcard_selector__array_data_30( Type docu
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, wildcard selector, nested arrays (31)" )]
+ [TestMethod( @"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 +871,7 @@ public void Test_descendant_segment__wildcard_selector__nested_arrays_31( Type d
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, wildcard selector, nested objects (32)" )]
+ [TestMethod( @"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 +991,7 @@ public void Test_descendant_segment__wildcard_selector__nested_objects_32( Type
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, wildcard shorthand, object data (33)" )]
+ [TestMethod( @"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 +1015,7 @@ public void Test_descendant_segment__wildcard_shorthand__object_data_33( Type do
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, wildcard shorthand, nested data (34)" )]
+ [TestMethod( @"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 +1051,7 @@ public void Test_descendant_segment__wildcard_shorthand__nested_data_34( Type do
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, multiple selectors (35)" )]
+ [TestMethod( @"descendant segment, multiple selectors (35)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_descendant_segment__multiple_selectors_35( Type documentType )
@@ -1085,7 +1085,7 @@ public void Test_descendant_segment__multiple_selectors_35( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"descendant segment, object traversal, multiple selectors (36)" )]
+ [TestMethod( @"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 +1127,7 @@ public void Test_descendant_segment__object_traversal__multiple_selectors_36( Ty
Assert.IsTrue( match );
}
- [DataTestMethod( @"bald descendant segment (37)" )]
+ [TestMethod( @"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 4bb1d1ca..4a3a6f06 100644
--- a/test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs
+++ b/test/Hyperbee.Json.Cts/Tests/cts-filter-tests.cs
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
[TestClass]
public class CtsFilterTest
{
- [DataTestMethod( @"existence, without segments (1)" )]
+ [TestMethod( @"existence, without segments (1)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_existence__without_segments_1( Type documentType )
@@ -41,7 +41,7 @@ public void Test_existence__without_segments_1( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"existence (2)" )]
+ [TestMethod( @"existence (2)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_existence_2( Type documentType )
@@ -75,7 +75,7 @@ public void Test_existence_2( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"existence, present with null (3)" )]
+ [TestMethod( @"existence, present with null (3)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_existence__present_with_null_3( Type documentType )
@@ -109,7 +109,7 @@ public void Test_existence__present_with_null_3( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals string, single quotes (4)" )]
+ [TestMethod( @"equals string, single quotes (4)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_string__single_quotes_4( Type documentType )
@@ -143,7 +143,7 @@ public void Test_equals_string__single_quotes_4( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals numeric string, single quotes (5)" )]
+ [TestMethod( @"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 +177,7 @@ public void Test_equals_numeric_string__single_quotes_5( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals string, double quotes (6)" )]
+ [TestMethod( @"equals string, double quotes (6)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_string__double_quotes_6( Type documentType )
@@ -211,7 +211,7 @@ public void Test_equals_string__double_quotes_6( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals numeric string, double quotes (7)" )]
+ [TestMethod( @"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 +245,7 @@ public void Test_equals_numeric_string__double_quotes_7( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number (8)" )]
+ [TestMethod( @"equals number (8)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_number_8( Type documentType )
@@ -287,7 +287,7 @@ public void Test_equals_number_8( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals null (9)" )]
+ [TestMethod( @"equals null (9)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_null_9( Type documentType )
@@ -321,7 +321,7 @@ public void Test_equals_null_9( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals null, absent from data (10)" )]
+ [TestMethod( @"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 +349,7 @@ public void Test_equals_null__absent_from_data_10( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals true (11)" )]
+ [TestMethod( @"equals true (11)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_true_11( Type documentType )
@@ -383,7 +383,7 @@ public void Test_equals_true_11( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals false (12)" )]
+ [TestMethod( @"equals false (12)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_false_12( Type documentType )
@@ -417,7 +417,7 @@ public void Test_equals_false_12( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals self (13)" )]
+ [TestMethod( @"equals self (13)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_self_13( Type documentType )
@@ -457,7 +457,7 @@ public void Test_equals_self_13( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"deep equality, arrays (14)" )]
+ [TestMethod( @"deep equality, arrays (14)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_deep_equality__arrays_14( Type documentType )
@@ -556,7 +556,7 @@ public void Test_deep_equality__arrays_14( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"deep equality, objects (15)" )]
+ [TestMethod( @"deep equality, objects (15)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_deep_equality__objects_15( Type documentType )
@@ -668,7 +668,7 @@ public void Test_deep_equality__objects_15( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals string, single quotes (16)" )]
+ [TestMethod( @"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 +702,7 @@ public void Test_not_equals_string__single_quotes_16( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals numeric string, single quotes (17)" )]
+ [TestMethod( @"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 +736,7 @@ public void Test_not_equals_numeric_string__single_quotes_17( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals string, single quotes, different type (18)" )]
+ [TestMethod( @"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 +770,7 @@ public void Test_not_equals_string__single_quotes__different_type_18( Type docum
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals string, double quotes (19)" )]
+ [TestMethod( @"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 +804,7 @@ public void Test_not_equals_string__double_quotes_19( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals numeric string, double quotes (20)" )]
+ [TestMethod( @"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 +838,7 @@ public void Test_not_equals_numeric_string__double_quotes_20( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals string, double quotes, different types (21)" )]
+ [TestMethod( @"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 +872,7 @@ public void Test_not_equals_string__double_quotes__different_types_21( Type docu
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals number (22)" )]
+ [TestMethod( @"not-equals number (22)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_not_equals_number_22( Type documentType )
@@ -914,7 +914,7 @@ public void Test_not_equals_number_22( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals number, different types (23)" )]
+ [TestMethod( @"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 +948,7 @@ public void Test_not_equals_number__different_types_23( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals null (24)" )]
+ [TestMethod( @"not-equals null (24)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_not_equals_null_24( Type documentType )
@@ -982,7 +982,7 @@ public void Test_not_equals_null_24( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals null, absent from data (25)" )]
+ [TestMethod( @"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 +1018,7 @@ public void Test_not_equals_null__absent_from_data_25( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals true (26)" )]
+ [TestMethod( @"not-equals true (26)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_not_equals_true_26( Type documentType )
@@ -1052,7 +1052,7 @@ public void Test_not_equals_true_26( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not-equals false (27)" )]
+ [TestMethod( @"not-equals false (27)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_not_equals_false_27( Type documentType )
@@ -1086,7 +1086,7 @@ public void Test_not_equals_false_27( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than string, single quotes (28)" )]
+ [TestMethod( @"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 +1120,7 @@ public void Test_less_than_string__single_quotes_28( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than string, double quotes (29)" )]
+ [TestMethod( @"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 +1154,7 @@ public void Test_less_than_string__double_quotes_29( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than number (30)" )]
+ [TestMethod( @"less than number (30)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_less_than_number_30( Type documentType )
@@ -1196,7 +1196,7 @@ public void Test_less_than_number_30( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than null (31)" )]
+ [TestMethod( @"less than null (31)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_less_than_null_31( Type documentType )
@@ -1225,7 +1225,7 @@ public void Test_less_than_null_31( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than true (32)" )]
+ [TestMethod( @"less than true (32)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_less_than_true_32( Type documentType )
@@ -1254,7 +1254,7 @@ public void Test_less_than_true_32( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than false (33)" )]
+ [TestMethod( @"less than false (33)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_less_than_false_33( Type documentType )
@@ -1283,7 +1283,7 @@ public void Test_less_than_false_33( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than or equal to string, single quotes (34)" )]
+ [TestMethod( @"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 +1321,7 @@ public void Test_less_than_or_equal_to_string__single_quotes_34( Type documentTy
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than or equal to string, double quotes (35)" )]
+ [TestMethod( @"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 +1359,7 @@ public void Test_less_than_or_equal_to_string__double_quotes_35( Type documentTy
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than or equal to number (36)" )]
+ [TestMethod( @"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 +1405,7 @@ public void Test_less_than_or_equal_to_number_36( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than or equal to null (37)" )]
+ [TestMethod( @"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 +1439,7 @@ public void Test_less_than_or_equal_to_null_37( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than or equal to true (38)" )]
+ [TestMethod( @"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 +1473,7 @@ public void Test_less_than_or_equal_to_true_38( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"less than or equal to false (39)" )]
+ [TestMethod( @"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 +1507,7 @@ public void Test_less_than_or_equal_to_false_39( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than string, single quotes (40)" )]
+ [TestMethod( @"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 +1545,7 @@ public void Test_greater_than_string__single_quotes_40( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than string, double quotes (41)" )]
+ [TestMethod( @"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 +1583,7 @@ public void Test_greater_than_string__double_quotes_41( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than number (42)" )]
+ [TestMethod( @"greater than number (42)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_greater_than_number_42( Type documentType )
@@ -1625,7 +1625,7 @@ public void Test_greater_than_number_42( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than null (43)" )]
+ [TestMethod( @"greater than null (43)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_greater_than_null_43( Type documentType )
@@ -1654,7 +1654,7 @@ public void Test_greater_than_null_43( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than true (44)" )]
+ [TestMethod( @"greater than true (44)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_greater_than_true_44( Type documentType )
@@ -1683,7 +1683,7 @@ public void Test_greater_than_true_44( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than false (45)" )]
+ [TestMethod( @"greater than false (45)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_greater_than_false_45( Type documentType )
@@ -1712,7 +1712,7 @@ public void Test_greater_than_false_45( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than or equal to string, single quotes (46)" )]
+ [TestMethod( @"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 +1754,7 @@ public void Test_greater_than_or_equal_to_string__single_quotes_46( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than or equal to string, double quotes (47)" )]
+ [TestMethod( @"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 +1796,7 @@ public void Test_greater_than_or_equal_to_string__double_quotes_47( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than or equal to number (48)" )]
+ [TestMethod( @"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 +1842,7 @@ public void Test_greater_than_or_equal_to_number_48( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than or equal to null (49)" )]
+ [TestMethod( @"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 +1876,7 @@ public void Test_greater_than_or_equal_to_null_49( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than or equal to true (50)" )]
+ [TestMethod( @"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 +1910,7 @@ public void Test_greater_than_or_equal_to_true_50( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"greater than or equal to false (51)" )]
+ [TestMethod( @"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 +1944,7 @@ public void Test_greater_than_or_equal_to_false_51( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"exists and not-equals null, absent from data (52)" )]
+ [TestMethod( @"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 +1977,7 @@ public void Test_exists_and_not_equals_null__absent_from_data_52( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"exists and exists, data false (53)" )]
+ [TestMethod( @"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 +2013,7 @@ public void Test_exists_and_exists__data_false_53( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"exists or exists, data false (54)" )]
+ [TestMethod( @"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 +2052,7 @@ public void Test_exists_or_exists__data_false_54( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"and (55)" )]
+ [TestMethod( @"and (55)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_and_55( Type documentType )
@@ -2090,7 +2090,7 @@ public void Test_and_55( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"or (56)" )]
+ [TestMethod( @"or (56)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_or_56( Type documentType )
@@ -2136,7 +2136,7 @@ public void Test_or_56( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not expression (57)" )]
+ [TestMethod( @"not expression (57)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_not_expression_57( Type documentType )
@@ -2178,7 +2178,7 @@ public void Test_not_expression_57( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not exists (58)" )]
+ [TestMethod( @"not exists (58)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_not_exists_58( Type documentType )
@@ -2214,7 +2214,7 @@ public void Test_not_exists_58( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"not exists, data null (59)" )]
+ [TestMethod( @"not exists, data null (59)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_not_exists__data_null_59( Type documentType )
@@ -2250,7 +2250,7 @@ public void Test_not_exists__data_null_59( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"non-singular existence, wildcard (60)" )]
+ [TestMethod( @"non-singular existence, wildcard (60)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_non_singular_existence__wildcard_60( Type documentType )
@@ -2287,7 +2287,7 @@ public void Test_non_singular_existence__wildcard_60( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"non-singular existence, multiple (61)" )]
+ [TestMethod( @"non-singular existence, multiple (61)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_non_singular_existence__multiple_61( Type documentType )
@@ -2342,7 +2342,7 @@ public void Test_non_singular_existence__multiple_61( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"non-singular existence, slice (62)" )]
+ [TestMethod( @"non-singular existence, slice (62)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_non_singular_existence__slice_62( Type documentType )
@@ -2386,7 +2386,7 @@ public void Test_non_singular_existence__slice_62( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"non-singular existence, negated (63)" )]
+ [TestMethod( @"non-singular existence, negated (63)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_non_singular_existence__negated_63( Type documentType )
@@ -2420,7 +2420,7 @@ public void Test_non_singular_existence__negated_63( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"non-singular query in comparison, slice (64)" )]
+ [TestMethod( @"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 +2431,7 @@ public void Test_non_singular_query_in_comparison__slice_64( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"non-singular query in comparison, all children (65)" )]
+ [TestMethod( @"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 +2442,7 @@ public void Test_non_singular_query_in_comparison__all_children_65( Type documen
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"non-singular query in comparison, descendants (66)" )]
+ [TestMethod( @"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 +2453,7 @@ public void Test_non_singular_query_in_comparison__descendants_66( Type document
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"non-singular query in comparison, combined (67)" )]
+ [TestMethod( @"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 +2464,7 @@ public void Test_non_singular_query_in_comparison__combined_67( Type documentTyp
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"nested (68)" )]
+ [TestMethod( @"nested (68)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_nested_68( Type documentType )
@@ -2509,7 +2509,7 @@ public void Test_nested_68( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"name segment on primitive, selects nothing (69)" )]
+ [TestMethod( @"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 +2531,7 @@ public void Test_name_segment_on_primitive__selects_nothing_69( Type documentTyp
Assert.IsTrue( match );
}
- [DataTestMethod( @"name segment on array, selects nothing (70)" )]
+ [TestMethod( @"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 +2556,7 @@ public void Test_name_segment_on_array__selects_nothing_70( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"index segment on object, selects nothing (71)" )]
+ [TestMethod( @"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 +2580,7 @@ public void Test_index_segment_on_object__selects_nothing_71( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"relative non-singular query, index, equal (72)" )]
+ [TestMethod( @"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 +2591,7 @@ public void Test_relative_non_singular_query__index__equal_72( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, index, not equal (73)" )]
+ [TestMethod( @"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 +2602,7 @@ public void Test_relative_non_singular_query__index__not_equal_73( Type document
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, index, less-or-equal (74)" )]
+ [TestMethod( @"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 +2613,7 @@ public void Test_relative_non_singular_query__index__less_or_equal_74( Type docu
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, name, equal (75)" )]
+ [TestMethod( @"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 +2624,7 @@ public void Test_relative_non_singular_query__name__equal_75( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, name, not equal (76)" )]
+ [TestMethod( @"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 +2635,7 @@ public void Test_relative_non_singular_query__name__not_equal_76( Type documentT
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, name, less-or-equal (77)" )]
+ [TestMethod( @"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 +2646,7 @@ public void Test_relative_non_singular_query__name__less_or_equal_77( Type docum
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, combined, equal (78)" )]
+ [TestMethod( @"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 +2657,7 @@ public void Test_relative_non_singular_query__combined__equal_78( Type documentT
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, combined, not equal (79)" )]
+ [TestMethod( @"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 +2668,7 @@ public void Test_relative_non_singular_query__combined__not_equal_79( Type docum
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, combined, less-or-equal (80)" )]
+ [TestMethod( @"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 +2679,7 @@ public void Test_relative_non_singular_query__combined__less_or_equal_80( Type d
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, wildcard, equal (81)" )]
+ [TestMethod( @"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 +2690,7 @@ public void Test_relative_non_singular_query__wildcard__equal_81( Type documentT
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, wildcard, not equal (82)" )]
+ [TestMethod( @"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 +2701,7 @@ public void Test_relative_non_singular_query__wildcard__not_equal_82( Type docum
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, wildcard, less-or-equal (83)" )]
+ [TestMethod( @"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 +2712,7 @@ public void Test_relative_non_singular_query__wildcard__less_or_equal_83( Type d
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, slice, equal (84)" )]
+ [TestMethod( @"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 +2723,7 @@ public void Test_relative_non_singular_query__slice__equal_84( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, slice, not equal (85)" )]
+ [TestMethod( @"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 +2734,7 @@ public void Test_relative_non_singular_query__slice__not_equal_85( Type document
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"relative non-singular query, slice, less-or-equal (86)" )]
+ [TestMethod( @"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 +2745,7 @@ public void Test_relative_non_singular_query__slice__less_or_equal_86( Type docu
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, index, equal (87)" )]
+ [TestMethod( @"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 +2756,7 @@ public void Test_absolute_non_singular_query__index__equal_87( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, index, not equal (88)" )]
+ [TestMethod( @"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 +2767,7 @@ public void Test_absolute_non_singular_query__index__not_equal_88( Type document
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, index, less-or-equal (89)" )]
+ [TestMethod( @"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 +2778,7 @@ public void Test_absolute_non_singular_query__index__less_or_equal_89( Type docu
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, name, equal (90)" )]
+ [TestMethod( @"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 +2789,7 @@ public void Test_absolute_non_singular_query__name__equal_90( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, name, not equal (91)" )]
+ [TestMethod( @"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 +2800,7 @@ public void Test_absolute_non_singular_query__name__not_equal_91( Type documentT
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, name, less-or-equal (92)" )]
+ [TestMethod( @"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 +2811,7 @@ public void Test_absolute_non_singular_query__name__less_or_equal_92( Type docum
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, combined, equal (93)" )]
+ [TestMethod( @"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 +2822,7 @@ public void Test_absolute_non_singular_query__combined__equal_93( Type documentT
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, combined, not equal (94)" )]
+ [TestMethod( @"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 +2833,7 @@ public void Test_absolute_non_singular_query__combined__not_equal_94( Type docum
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, combined, less-or-equal (95)" )]
+ [TestMethod( @"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 +2844,7 @@ public void Test_absolute_non_singular_query__combined__less_or_equal_95( Type d
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, wildcard, equal (96)" )]
+ [TestMethod( @"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 +2855,7 @@ public void Test_absolute_non_singular_query__wildcard__equal_96( Type documentT
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, wildcard, not equal (97)" )]
+ [TestMethod( @"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 +2866,7 @@ public void Test_absolute_non_singular_query__wildcard__not_equal_97( Type docum
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, wildcard, less-or-equal (98)" )]
+ [TestMethod( @"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 +2877,7 @@ public void Test_absolute_non_singular_query__wildcard__less_or_equal_98( Type d
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, slice, equal (99)" )]
+ [TestMethod( @"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 +2888,7 @@ public void Test_absolute_non_singular_query__slice__equal_99( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, slice, not equal (100)" )]
+ [TestMethod( @"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 +2899,7 @@ public void Test_absolute_non_singular_query__slice__not_equal_100( Type documen
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"absolute non-singular query, slice, less-or-equal (101)" )]
+ [TestMethod( @"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 +2910,7 @@ public void Test_absolute_non_singular_query__slice__less_or_equal_101( Type doc
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"multiple selectors (102)" )]
+ [TestMethod( @"multiple selectors (102)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_multiple_selectors_102( Type documentType )
@@ -2948,7 +2948,7 @@ public void Test_multiple_selectors_102( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, comparison (103)" )]
+ [TestMethod( @"multiple selectors, comparison (103)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_multiple_selectors__comparison_103( Type documentType )
@@ -2982,7 +2982,7 @@ public void Test_multiple_selectors__comparison_103( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, overlapping (104)" )]
+ [TestMethod( @"multiple selectors, overlapping (104)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_multiple_selectors__overlapping_104( Type documentType )
@@ -3024,7 +3024,7 @@ public void Test_multiple_selectors__overlapping_104( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, filter and index (105)" )]
+ [TestMethod( @"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 +3062,7 @@ public void Test_multiple_selectors__filter_and_index_105( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, filter and wildcard (106)" )]
+ [TestMethod( @"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 +3104,7 @@ public void Test_multiple_selectors__filter_and_wildcard_106( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, filter and slice (107)" )]
+ [TestMethod( @"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 +3148,7 @@ public void Test_multiple_selectors__filter_and_slice_107( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"multiple selectors, comparison filter, index and slice (108)" )]
+ [TestMethod( @"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 +3190,7 @@ public void Test_multiple_selectors__comparison_filter__index_and_slice_108( Typ
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, zero and negative zero (109)" )]
+ [TestMethod( @"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 +3228,7 @@ public void Test_equals_number__zero_and_negative_zero_109( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, with and without decimal fraction (110)" )]
+ [TestMethod( @"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 +3266,7 @@ public void Test_equals_number__with_and_without_decimal_fraction_110( Type docu
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, exponent (111)" )]
+ [TestMethod( @"equals number, exponent (111)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_number__exponent_111( Type documentType )
@@ -3304,7 +3304,7 @@ public void Test_equals_number__exponent_111( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, positive exponent (112)" )]
+ [TestMethod( @"equals number, positive exponent (112)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_number__positive_exponent_112( Type documentType )
@@ -3342,7 +3342,7 @@ public void Test_equals_number__positive_exponent_112( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, negative exponent (113)" )]
+ [TestMethod( @"equals number, negative exponent (113)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_number__negative_exponent_113( Type documentType )
@@ -3380,7 +3380,7 @@ public void Test_equals_number__negative_exponent_113( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, decimal fraction (114)" )]
+ [TestMethod( @"equals number, decimal fraction (114)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals_number__decimal_fraction_114( Type documentType )
@@ -3418,7 +3418,7 @@ public void Test_equals_number__decimal_fraction_114( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, decimal fraction, no fractional digit (115)" )]
+ [TestMethod( @"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 +3429,7 @@ public void Test_equals_number__decimal_fraction__no_fractional_digit_115( Type
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"equals number, decimal fraction, exponent (116)" )]
+ [TestMethod( @"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 +3467,7 @@ public void Test_equals_number__decimal_fraction__exponent_116( Type documentTyp
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, decimal fraction, positive exponent (117)" )]
+ [TestMethod( @"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 +3505,7 @@ public void Test_equals_number__decimal_fraction__positive_exponent_117( Type do
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals number, decimal fraction, negative exponent (118)" )]
+ [TestMethod( @"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 +3543,7 @@ public void Test_equals_number__decimal_fraction__negative_exponent_118( Type do
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals, special nothing (119)" )]
+ [TestMethod( @"equals, special nothing (119)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_equals__special_nothing_119( Type documentType )
@@ -3583,7 +3583,7 @@ public void Test_equals__special_nothing_119( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals, empty node list and empty node list (120)" )]
+ [TestMethod( @"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 +3617,7 @@ public void Test_equals__empty_node_list_and_empty_node_list_120( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"equals, empty node list and special nothing (121)" )]
+ [TestMethod( @"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 +3654,7 @@ public void Test_equals__empty_node_list_and_special_nothing_121( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"object data (122)" )]
+ [TestMethod( @"object data (122)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_object_data_122( Type documentType )
@@ -3687,7 +3687,7 @@ public void Test_object_data_122( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"and binds more tightly than or (123)" )]
+ [TestMethod( @"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 +3739,7 @@ public void Test_and_binds_more_tightly_than_or_123( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"left to right evaluation (124)" )]
+ [TestMethod( @"left to right evaluation (124)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_left_to_right_evaluation_124( Type documentType )
@@ -3807,7 +3807,7 @@ public void Test_left_to_right_evaluation_124( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"group terms, left (125)" )]
+ [TestMethod( @"group terms, left (125)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_group_terms__left_125( Type documentType )
@@ -3868,7 +3868,7 @@ public void Test_group_terms__left_125( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"group terms, right (126)" )]
+ [TestMethod( @"group terms, right (126)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_group_terms__right_126( Type documentType )
@@ -3925,7 +3925,7 @@ public void Test_group_terms__right_126( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"string literal, single quote in double quotes (127)" )]
+ [TestMethod( @"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 +3951,7 @@ public void Test_string_literal__single_quote_in_double_quotes_127( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"string literal, double quote in single quotes (128)" )]
+ [TestMethod( @"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 +3978,7 @@ public void Test_string_literal__double_quote_in_single_quotes_128( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"string literal, escaped single quote in single quotes (129)" )]
+ [TestMethod( @"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 +4005,7 @@ public void Test_string_literal__escaped_single_quote_in_single_quotes_129( Type
Assert.IsTrue( match );
}
- [DataTestMethod( @"string literal, escaped double quote in double quotes (130)" )]
+ [TestMethod( @"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 +4032,7 @@ public void Test_string_literal__escaped_double_quote_in_double_quotes_130( Type
Assert.IsTrue( match );
}
- [DataTestMethod( @"literal true must be compared (131)" )]
+ [TestMethod( @"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 +4043,7 @@ public void Test_literal_true_must_be_compared_131( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"literal false must be compared (132)" )]
+ [TestMethod( @"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 +4054,7 @@ public void Test_literal_false_must_be_compared_132( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"literal string must be compared (133)" )]
+ [TestMethod( @"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 +4065,7 @@ public void Test_literal_string_must_be_compared_133( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"literal int must be compared (134)" )]
+ [TestMethod( @"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 +4076,7 @@ public void Test_literal_int_must_be_compared_134( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"literal float must be compared (135)" )]
+ [TestMethod( @"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 +4087,7 @@ public void Test_literal_float_must_be_compared_135( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"literal null must be compared (136)" )]
+ [TestMethod( @"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 +4098,7 @@ public void Test_literal_null_must_be_compared_136( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"and, literals must be compared (137)" )]
+ [TestMethod( @"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 +4109,7 @@ public void Test_and__literals_must_be_compared_137( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"or, literals must be compared (138)" )]
+ [TestMethod( @"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 +4120,7 @@ public void Test_or__literals_must_be_compared_138( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"and, right hand literal must be compared (139)" )]
+ [TestMethod( @"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 +4131,7 @@ public void Test_and__right_hand_literal_must_be_compared_139( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"or, right hand literal must be compared (140)" )]
+ [TestMethod( @"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 +4142,7 @@ public void Test_or__right_hand_literal_must_be_compared_140( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"and, left hand literal must be compared (141)" )]
+ [TestMethod( @"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 +4153,7 @@ public void Test_and__left_hand_literal_must_be_compared_141( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"or, left hand literal must be compared (142)" )]
+ [TestMethod( @"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 46f5eb27..0b4cba4f 100644
--- a/test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs
+++ b/test/Hyperbee.Json.Cts/Tests/cts-functions-tests.cs
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
[TestClass]
public class CtsFunctionsTest
{
- [DataTestMethod( @"count, count function (1)" )]
+ [TestMethod( @"count, count function (1)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_count__count_function_1( Type documentType )
@@ -61,7 +61,7 @@ public void Test_count__count_function_1( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"count, single-node arg (2)" )]
+ [TestMethod( @"count, single-node arg (2)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_count__single_node_arg_2( Type documentType )
@@ -99,7 +99,7 @@ public void Test_count__single_node_arg_2( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"count, multiple-selector arg (3)" )]
+ [TestMethod( @"count, multiple-selector arg (3)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_count__multiple_selector_arg_3( Type documentType )
@@ -148,7 +148,7 @@ public void Test_count__multiple_selector_arg_3( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"count, non-query arg, number (4)" )]
+ [TestMethod( @"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 +159,7 @@ public void Test_count__non_query_arg__number_4( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"count, non-query arg, string (5)" )]
+ [TestMethod( @"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 +170,7 @@ public void Test_count__non_query_arg__string_5( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"count, non-query arg, true (6)" )]
+ [TestMethod( @"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 +181,7 @@ public void Test_count__non_query_arg__true_6( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"count, non-query arg, false (7)" )]
+ [TestMethod( @"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 +192,7 @@ public void Test_count__non_query_arg__false_7( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"count, non-query arg, null (8)" )]
+ [TestMethod( @"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 +203,7 @@ public void Test_count__non_query_arg__null_8( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"count, result must be compared (9)" )]
+ [TestMethod( @"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 +214,7 @@ public void Test_count__result_must_be_compared_9( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"count, no params (10)" )]
+ [TestMethod( @"count, no params (10)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_count__no_params_10( Type documentType )
@@ -225,7 +225,7 @@ public void Test_count__no_params_10( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"count, too many params (11)" )]
+ [TestMethod( @"count, too many params (11)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_count__too_many_params_11( Type documentType )
@@ -236,7 +236,7 @@ public void Test_count__too_many_params_11( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"length, string data (12)" )]
+ [TestMethod( @"length, string data (12)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__string_data_12( Type documentType )
@@ -267,7 +267,7 @@ public void Test_length__string_data_12( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, string data, unicode (13)" )]
+ [TestMethod( @"length, string data, unicode (13)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__string_data__unicode_13( Type documentType )
@@ -301,7 +301,7 @@ public void Test_length__string_data__unicode_13( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, array data (14)" )]
+ [TestMethod( @"length, array data (14)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__array_data_14( Type documentType )
@@ -342,7 +342,7 @@ public void Test_length__array_data_14( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, missing data (15)" )]
+ [TestMethod( @"length, missing data (15)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__missing_data_15( Type documentType )
@@ -366,7 +366,7 @@ public void Test_length__missing_data_15( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, number arg (16)" )]
+ [TestMethod( @"length, number arg (16)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__number_arg_16( Type documentType )
@@ -390,7 +390,7 @@ public void Test_length__number_arg_16( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, true arg (17)" )]
+ [TestMethod( @"length, true arg (17)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__true_arg_17( Type documentType )
@@ -414,7 +414,7 @@ public void Test_length__true_arg_17( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, false arg (18)" )]
+ [TestMethod( @"length, false arg (18)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__false_arg_18( Type documentType )
@@ -438,7 +438,7 @@ public void Test_length__false_arg_18( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, null arg (19)" )]
+ [TestMethod( @"length, null arg (19)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__null_arg_19( Type documentType )
@@ -462,7 +462,7 @@ public void Test_length__null_arg_19( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, result must be compared (20)" )]
+ [TestMethod( @"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 +473,7 @@ public void Test_length__result_must_be_compared_20( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"length, no params (21)" )]
+ [TestMethod( @"length, no params (21)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__no_params_21( Type documentType )
@@ -484,7 +484,7 @@ public void Test_length__no_params_21( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"length, too many params (22)" )]
+ [TestMethod( @"length, too many params (22)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_length__too_many_params_22( Type documentType )
@@ -495,7 +495,7 @@ public void Test_length__too_many_params_22( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"length, non-singular query arg (23)" )]
+ [TestMethod( @"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 +506,7 @@ public void Test_length__non_singular_query_arg_23( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"length, arg is a function expression (24)" )]
+ [TestMethod( @"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 +540,7 @@ public void Test_length__arg_is_a_function_expression_24( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"length, arg is special nothing (25)" )]
+ [TestMethod( @"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 +574,7 @@ public void Test_length__arg_is_special_nothing_25( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, found match (26)" )]
+ [TestMethod( @"match, found match (26)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__found_match_26( Type documentType )
@@ -602,7 +602,7 @@ public void Test_match__found_match_26( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, double quotes (27)" )]
+ [TestMethod( @"match, double quotes (27)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__double_quotes_27( Type documentType )
@@ -630,7 +630,7 @@ public void Test_match__double_quotes_27( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, regex from the document (28)" )]
+ [TestMethod( @"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 +665,7 @@ public void Test_match__regex_from_the_document_28( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, don't select match (29)" )]
+ [TestMethod( @"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 +689,7 @@ public void Test_match__don_t_select_match_29( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, not a match (30)" )]
+ [TestMethod( @"match, not a match (30)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__not_a_match_30( Type documentType )
@@ -713,7 +713,7 @@ public void Test_match__not_a_match_30( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, select non-match (31)" )]
+ [TestMethod( @"match, select non-match (31)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__select_non_match_31( Type documentType )
@@ -741,7 +741,7 @@ public void Test_match__select_non_match_31( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, non-string first arg (32)" )]
+ [TestMethod( @"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 +765,7 @@ public void Test_match__non_string_first_arg_32( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, non-string second arg (33)" )]
+ [TestMethod( @"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 +789,7 @@ public void Test_match__non_string_second_arg_33( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, filter, match function, unicode char class, uppercase (34)" )]
+ [TestMethod( @"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 +819,7 @@ public void Test_match__filter__match_function__unicode_char_class__uppercase_34
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, filter, match function, unicode char class negated, uppercase (35)" )]
+ [TestMethod( @"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 +849,7 @@ public void Test_match__filter__match_function__unicode_char_class_negated__uppe
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, filter, match function, unicode, surrogate pair (36)" )]
+ [TestMethod( @"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 +878,7 @@ public void Test_match__filter__match_function__unicode__surrogate_pair_36( Type
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, dot matcher on \u2028 (37)" )]
+ [TestMethod( @"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 +907,7 @@ public void Test_match__dot_matcher_on__u2028_37( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, dot matcher on \u2029 (38)" )]
+ [TestMethod( @"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 +936,7 @@ public void Test_match__dot_matcher_on__u2029_38( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, result cannot be compared (39)" )]
+ [TestMethod( @"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 +947,7 @@ public void Test_match__result_cannot_be_compared_39( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"match, too few params (40)" )]
+ [TestMethod( @"match, too few params (40)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__too_few_params_40( Type documentType )
@@ -958,7 +958,7 @@ public void Test_match__too_few_params_40( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"match, too many params (41)" )]
+ [TestMethod( @"match, too many params (41)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__too_many_params_41( Type documentType )
@@ -969,7 +969,7 @@ public void Test_match__too_many_params_41( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"match, arg is a function expression (42)" )]
+ [TestMethod( @"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 +1003,7 @@ public void Test_match__arg_is_a_function_expression_42( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, dot in character class (43)" )]
+ [TestMethod( @"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 +1030,7 @@ public void Test_match__dot_in_character_class_43( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, escaped dot (44)" )]
+ [TestMethod( @"match, escaped dot (44)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__escaped_dot_44( Type documentType )
@@ -1056,7 +1056,7 @@ public void Test_match__escaped_dot_44( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, escaped backslash before dot (45)" )]
+ [TestMethod( @"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 +1083,7 @@ public void Test_match__escaped_backslash_before_dot_45( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, escaped left square bracket (46)" )]
+ [TestMethod( @"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 +1109,7 @@ public void Test_match__escaped_left_square_bracket_46( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, escaped right square bracket (47)" )]
+ [TestMethod( @"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 +1137,7 @@ public void Test_match__escaped_right_square_bracket_47( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, explicit caret (48)" )]
+ [TestMethod( @"match, explicit caret (48)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__explicit_caret_48( Type documentType )
@@ -1165,7 +1165,7 @@ public void Test_match__explicit_caret_48( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"match, explicit dollar (49)" )]
+ [TestMethod( @"match, explicit dollar (49)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_match__explicit_dollar_49( Type documentType )
@@ -1192,7 +1192,7 @@ public void Test_match__explicit_dollar_49( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, at the end (50)" )]
+ [TestMethod( @"search, at the end (50)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__at_the_end_50( Type documentType )
@@ -1220,7 +1220,7 @@ public void Test_search__at_the_end_50( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, double quotes (51)" )]
+ [TestMethod( @"search, double quotes (51)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__double_quotes_51( Type documentType )
@@ -1248,7 +1248,7 @@ public void Test_search__double_quotes_51( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, at the start (52)" )]
+ [TestMethod( @"search, at the start (52)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__at_the_start_52( Type documentType )
@@ -1276,7 +1276,7 @@ public void Test_search__at_the_start_52( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, in the middle (53)" )]
+ [TestMethod( @"search, in the middle (53)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__in_the_middle_53( Type documentType )
@@ -1304,7 +1304,7 @@ public void Test_search__in_the_middle_53( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, regex from the document (54)" )]
+ [TestMethod( @"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 +1341,7 @@ public void Test_search__regex_from_the_document_54( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, don't select match (55)" )]
+ [TestMethod( @"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 +1365,7 @@ public void Test_search__don_t_select_match_55( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, not a match (56)" )]
+ [TestMethod( @"search, not a match (56)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__not_a_match_56( Type documentType )
@@ -1389,7 +1389,7 @@ public void Test_search__not_a_match_56( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, select non-match (57)" )]
+ [TestMethod( @"search, select non-match (57)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__select_non_match_57( Type documentType )
@@ -1417,7 +1417,7 @@ public void Test_search__select_non_match_57( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, non-string first arg (58)" )]
+ [TestMethod( @"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 +1441,7 @@ public void Test_search__non_string_first_arg_58( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, non-string second arg (59)" )]
+ [TestMethod( @"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 +1465,7 @@ public void Test_search__non_string_second_arg_59( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, filter, search function, unicode char class, uppercase (60)" )]
+ [TestMethod( @"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 +1496,7 @@ public void Test_search__filter__search_function__unicode_char_class__uppercase_
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, filter, search function, unicode char class negated, uppercase (61)" )]
+ [TestMethod( @"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 +1526,7 @@ public void Test_search__filter__search_function__unicode_char_class_negated__up
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, filter, search function, unicode, surrogate pair (62)" )]
+ [TestMethod( @"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 +1555,7 @@ public void Test_search__filter__search_function__unicode__surrogate_pair_62( Ty
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, dot matcher on \u2028 (63)" )]
+ [TestMethod( @"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 +1586,7 @@ public void Test_search__dot_matcher_on__u2028_63( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, dot matcher on \u2029 (64)" )]
+ [TestMethod( @"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 +1617,7 @@ public void Test_search__dot_matcher_on__u2029_64( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, result cannot be compared (65)" )]
+ [TestMethod( @"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 +1628,7 @@ public void Test_search__result_cannot_be_compared_65( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"search, too few params (66)" )]
+ [TestMethod( @"search, too few params (66)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__too_few_params_66( Type documentType )
@@ -1639,7 +1639,7 @@ public void Test_search__too_few_params_66( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"search, too many params (67)" )]
+ [TestMethod( @"search, too many params (67)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__too_many_params_67( Type documentType )
@@ -1650,7 +1650,7 @@ public void Test_search__too_many_params_67( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"search, arg is a function expression (68)" )]
+ [TestMethod( @"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 +1687,7 @@ public void Test_search__arg_is_a_function_expression_68( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, dot in character class (69)" )]
+ [TestMethod( @"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 +1714,7 @@ public void Test_search__dot_in_character_class_69( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, escaped dot (70)" )]
+ [TestMethod( @"search, escaped dot (70)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_search__escaped_dot_70( Type documentType )
@@ -1740,7 +1740,7 @@ public void Test_search__escaped_dot_70( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, escaped backslash before dot (71)" )]
+ [TestMethod( @"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 +1767,7 @@ public void Test_search__escaped_backslash_before_dot_71( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, escaped left square bracket (72)" )]
+ [TestMethod( @"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 +1793,7 @@ public void Test_search__escaped_left_square_bracket_72( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"search, escaped right square bracket (73)" )]
+ [TestMethod( @"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 +1821,7 @@ public void Test_search__escaped_right_square_bracket_73( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"value, single-value nodelist (74)" )]
+ [TestMethod( @"value, single-value nodelist (74)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_value__single_value_nodelist_74( Type documentType )
@@ -1862,7 +1862,7 @@ public void Test_value__single_value_nodelist_74( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"value, multi-value nodelist (75)" )]
+ [TestMethod( @"value, multi-value nodelist (75)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_value__multi_value_nodelist_75( Type documentType )
@@ -1891,7 +1891,7 @@ public void Test_value__multi_value_nodelist_75( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"value, too few params (76)" )]
+ [TestMethod( @"value, too few params (76)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_value__too_few_params_76( Type documentType )
@@ -1902,7 +1902,7 @@ public void Test_value__too_few_params_76( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"value, too many params (77)" )]
+ [TestMethod( @"value, too many params (77)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_value__too_many_params_77( Type documentType )
@@ -1913,7 +1913,7 @@ public void Test_value__too_many_params_77( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"value, result must be compared (78)" )]
+ [TestMethod( @"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 674c62d2..3a5846da 100644
--- a/test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs
+++ b/test/Hyperbee.Json.Cts/Tests/cts-index-selector-tests.cs
@@ -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 )
@@ -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 )
@@ -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 )
@@ -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 )
@@ -93,7 +93,7 @@ public void Test_overflowing_index_4( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = 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 )
@@ -104,7 +104,7 @@ public void Test_not_actually_an_index__overflowing_index_leads_into_general_tex
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"negative (6)" )]
+ [TestMethod( @"negative (6)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_negative_6( Type documentType )
@@ -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 )
@@ -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 )
@@ -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 )
@@ -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 )
@@ -210,7 +210,7 @@ public void Test_leading_0_10( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = 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 )
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 ef0ecc61..227c5c01 100644
--- a/test/Hyperbee.Json.Cts/Tests/cts-name-selector-tests.cs
+++ b/test/Hyperbee.Json.Cts/Tests/cts-name-selector-tests.cs
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
[TestClass]
public class CtsNameSelectorTest
{
- [DataTestMethod( @"double quotes (1)" )]
+ [TestMethod( @"double quotes (1)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes_1( Type documentType )
@@ -34,7 +34,7 @@ public void Test_double_quotes_1( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, absent data (2)" )]
+ [TestMethod( @"double quotes, absent data (2)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__absent_data_2( Type documentType )
@@ -57,7 +57,7 @@ public void Test_double_quotes__absent_data_2( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, array data (3)" )]
+ [TestMethod( @"double quotes, array data (3)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__array_data_3( Type documentType )
@@ -80,7 +80,7 @@ public void Test_double_quotes__array_data_3( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, embedded U+0000 (4)" )]
+ [TestMethod( @"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 +91,7 @@ public void Test_double_quotes__embedded_U_0000_4( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0001 (5)" )]
+ [TestMethod( @"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 +102,7 @@ public void Test_double_quotes__embedded_U_0001_5( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0002 (6)" )]
+ [TestMethod( @"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 +113,7 @@ public void Test_double_quotes__embedded_U_0002_6( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0003 (7)" )]
+ [TestMethod( @"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 +124,7 @@ public void Test_double_quotes__embedded_U_0003_7( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0004 (8)" )]
+ [TestMethod( @"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 +135,7 @@ public void Test_double_quotes__embedded_U_0004_8( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0005 (9)" )]
+ [TestMethod( @"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 +146,7 @@ public void Test_double_quotes__embedded_U_0005_9( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0006 (10)" )]
+ [TestMethod( @"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 +157,7 @@ public void Test_double_quotes__embedded_U_0006_10( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0007 (11)" )]
+ [TestMethod( @"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 +168,7 @@ public void Test_double_quotes__embedded_U_0007_11( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0008 (12)" )]
+ [TestMethod( @"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 +179,7 @@ public void Test_double_quotes__embedded_U_0008_12( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0009 (13)" )]
+ [TestMethod( @"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 +190,7 @@ public void Test_double_quotes__embedded_U_0009_13( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+000A (14)" )]
+ [TestMethod( @"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 +201,7 @@ public void Test_double_quotes__embedded_U_000A_14( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+000B (15)" )]
+ [TestMethod( @"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 +212,7 @@ public void Test_double_quotes__embedded_U_000B_15( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+000C (16)" )]
+ [TestMethod( @"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 +223,7 @@ public void Test_double_quotes__embedded_U_000C_16( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+000D (17)" )]
+ [TestMethod( @"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 +234,7 @@ public void Test_double_quotes__embedded_U_000D_17( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+000E (18)" )]
+ [TestMethod( @"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 +245,7 @@ public void Test_double_quotes__embedded_U_000E_18( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+000F (19)" )]
+ [TestMethod( @"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 +256,7 @@ public void Test_double_quotes__embedded_U_000F_19( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0010 (20)" )]
+ [TestMethod( @"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 +267,7 @@ public void Test_double_quotes__embedded_U_0010_20( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0011 (21)" )]
+ [TestMethod( @"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 +278,7 @@ public void Test_double_quotes__embedded_U_0011_21( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0012 (22)" )]
+ [TestMethod( @"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 +289,7 @@ public void Test_double_quotes__embedded_U_0012_22( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0013 (23)" )]
+ [TestMethod( @"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 +300,7 @@ public void Test_double_quotes__embedded_U_0013_23( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0014 (24)" )]
+ [TestMethod( @"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 +311,7 @@ public void Test_double_quotes__embedded_U_0014_24( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0015 (25)" )]
+ [TestMethod( @"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 +322,7 @@ public void Test_double_quotes__embedded_U_0015_25( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0016 (26)" )]
+ [TestMethod( @"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 +333,7 @@ public void Test_double_quotes__embedded_U_0016_26( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0017 (27)" )]
+ [TestMethod( @"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 +344,7 @@ public void Test_double_quotes__embedded_U_0017_27( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0018 (28)" )]
+ [TestMethod( @"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 +355,7 @@ public void Test_double_quotes__embedded_U_0018_28( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0019 (29)" )]
+ [TestMethod( @"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 +366,7 @@ public void Test_double_quotes__embedded_U_0019_29( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+001A (30)" )]
+ [TestMethod( @"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 +377,7 @@ public void Test_double_quotes__embedded_U_001A_30( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+001B (31)" )]
+ [TestMethod( @"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 +388,7 @@ public void Test_double_quotes__embedded_U_001B_31( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+001C (32)" )]
+ [TestMethod( @"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 +399,7 @@ public void Test_double_quotes__embedded_U_001C_32( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+001D (33)" )]
+ [TestMethod( @"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 +410,7 @@ public void Test_double_quotes__embedded_U_001D_33( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+001E (34)" )]
+ [TestMethod( @"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 +421,7 @@ public void Test_double_quotes__embedded_U_001E_34( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+001F (35)" )]
+ [TestMethod( @"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 +432,7 @@ public void Test_double_quotes__embedded_U_001F_35( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded U+0020 (36)" )]
+ [TestMethod( @"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 +456,7 @@ public void Test_double_quotes__embedded_U_0020_36( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped double quote (37)" )]
+ [TestMethod( @"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 +480,7 @@ public void Test_double_quotes__escaped_double_quote_37( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped reverse solidus (38)" )]
+ [TestMethod( @"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 +504,7 @@ public void Test_double_quotes__escaped_reverse_solidus_38( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped solidus (39)" )]
+ [TestMethod( @"double quotes, escaped solidus (39)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__escaped_solidus_39( Type documentType )
@@ -528,7 +528,7 @@ public void Test_double_quotes__escaped_solidus_39( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped backspace (40)" )]
+ [TestMethod( @"double quotes, escaped backspace (40)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__escaped_backspace_40( Type documentType )
@@ -552,7 +552,7 @@ public void Test_double_quotes__escaped_backspace_40( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped form feed (41)" )]
+ [TestMethod( @"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 +576,7 @@ public void Test_double_quotes__escaped_form_feed_41( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped line feed (42)" )]
+ [TestMethod( @"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 +600,7 @@ public void Test_double_quotes__escaped_line_feed_42( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped carriage return (43)" )]
+ [TestMethod( @"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 +624,7 @@ public void Test_double_quotes__escaped_carriage_return_43( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped tab (44)" )]
+ [TestMethod( @"double quotes, escaped tab (44)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__escaped_tab_44( Type documentType )
@@ -648,7 +648,7 @@ public void Test_double_quotes__escaped_tab_44( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped ☺, upper case hex (45)" )]
+ [TestMethod( @"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 +672,7 @@ public void Test_double_quotes__escaped____upper_case_hex_45( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, escaped ☺, lower case hex (46)" )]
+ [TestMethod( @"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 +696,7 @@ public void Test_double_quotes__escaped____lower_case_hex_46( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, surrogate pair 𝄞 (47)" )]
+ [TestMethod( @"double quotes, surrogate pair 𝄞 (47)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__surrogate_pair____47( Type documentType )
@@ -720,7 +720,7 @@ public void Test_double_quotes__surrogate_pair____47( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, surrogate pair 😀 (48)" )]
+ [TestMethod( @"double quotes, surrogate pair 😀 (48)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__surrogate_pair____48( Type documentType )
@@ -744,7 +744,7 @@ public void Test_double_quotes__surrogate_pair____48( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"double quotes, invalid escaped single quote (49)" )]
+ [TestMethod( @"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 +755,7 @@ public void Test_double_quotes__invalid_escaped_single_quote_49( Type documentTy
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, embedded double quote (50)" )]
+ [TestMethod( @"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 +766,7 @@ public void Test_double_quotes__embedded_double_quote_50( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, incomplete escape (51)" )]
+ [TestMethod( @"double quotes, incomplete escape (51)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__incomplete_escape_51( Type documentType )
@@ -777,7 +777,7 @@ public void Test_double_quotes__incomplete_escape_51( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes (52)" )]
+ [TestMethod( @"single quotes (52)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes_52( Type documentType )
@@ -802,7 +802,7 @@ public void Test_single_quotes_52( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, absent data (53)" )]
+ [TestMethod( @"single quotes, absent data (53)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__absent_data_53( Type documentType )
@@ -825,7 +825,7 @@ public void Test_single_quotes__absent_data_53( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, array data (54)" )]
+ [TestMethod( @"single quotes, array data (54)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__array_data_54( Type documentType )
@@ -848,7 +848,7 @@ public void Test_single_quotes__array_data_54( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, embedded U+0000 (55)" )]
+ [TestMethod( @"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 +859,7 @@ public void Test_single_quotes__embedded_U_0000_55( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0001 (56)" )]
+ [TestMethod( @"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 +870,7 @@ public void Test_single_quotes__embedded_U_0001_56( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0002 (57)" )]
+ [TestMethod( @"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 +881,7 @@ public void Test_single_quotes__embedded_U_0002_57( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0003 (58)" )]
+ [TestMethod( @"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 +892,7 @@ public void Test_single_quotes__embedded_U_0003_58( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0004 (59)" )]
+ [TestMethod( @"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 +903,7 @@ public void Test_single_quotes__embedded_U_0004_59( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0005 (60)" )]
+ [TestMethod( @"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 +914,7 @@ public void Test_single_quotes__embedded_U_0005_60( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0006 (61)" )]
+ [TestMethod( @"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 +925,7 @@ public void Test_single_quotes__embedded_U_0006_61( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0007 (62)" )]
+ [TestMethod( @"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 +936,7 @@ public void Test_single_quotes__embedded_U_0007_62( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0008 (63)" )]
+ [TestMethod( @"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 +947,7 @@ public void Test_single_quotes__embedded_U_0008_63( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0009 (64)" )]
+ [TestMethod( @"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 +958,7 @@ public void Test_single_quotes__embedded_U_0009_64( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+000A (65)" )]
+ [TestMethod( @"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 +969,7 @@ public void Test_single_quotes__embedded_U_000A_65( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+000B (66)" )]
+ [TestMethod( @"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 +980,7 @@ public void Test_single_quotes__embedded_U_000B_66( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+000C (67)" )]
+ [TestMethod( @"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 +991,7 @@ public void Test_single_quotes__embedded_U_000C_67( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+000D (68)" )]
+ [TestMethod( @"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 +1002,7 @@ public void Test_single_quotes__embedded_U_000D_68( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+000E (69)" )]
+ [TestMethod( @"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 +1013,7 @@ public void Test_single_quotes__embedded_U_000E_69( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+000F (70)" )]
+ [TestMethod( @"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 +1024,7 @@ public void Test_single_quotes__embedded_U_000F_70( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0010 (71)" )]
+ [TestMethod( @"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 +1035,7 @@ public void Test_single_quotes__embedded_U_0010_71( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0011 (72)" )]
+ [TestMethod( @"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 +1046,7 @@ public void Test_single_quotes__embedded_U_0011_72( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0012 (73)" )]
+ [TestMethod( @"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 +1057,7 @@ public void Test_single_quotes__embedded_U_0012_73( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0013 (74)" )]
+ [TestMethod( @"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 +1068,7 @@ public void Test_single_quotes__embedded_U_0013_74( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0014 (75)" )]
+ [TestMethod( @"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 +1079,7 @@ public void Test_single_quotes__embedded_U_0014_75( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0015 (76)" )]
+ [TestMethod( @"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 +1090,7 @@ public void Test_single_quotes__embedded_U_0015_76( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0016 (77)" )]
+ [TestMethod( @"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 +1101,7 @@ public void Test_single_quotes__embedded_U_0016_77( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0017 (78)" )]
+ [TestMethod( @"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 +1112,7 @@ public void Test_single_quotes__embedded_U_0017_78( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0018 (79)" )]
+ [TestMethod( @"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 +1123,7 @@ public void Test_single_quotes__embedded_U_0018_79( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0019 (80)" )]
+ [TestMethod( @"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 +1134,7 @@ public void Test_single_quotes__embedded_U_0019_80( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+001A (81)" )]
+ [TestMethod( @"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 +1145,7 @@ public void Test_single_quotes__embedded_U_001A_81( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+001B (82)" )]
+ [TestMethod( @"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 +1156,7 @@ public void Test_single_quotes__embedded_U_001B_82( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+001C (83)" )]
+ [TestMethod( @"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 +1167,7 @@ public void Test_single_quotes__embedded_U_001C_83( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+001D (84)" )]
+ [TestMethod( @"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 +1178,7 @@ public void Test_single_quotes__embedded_U_001D_84( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+001E (85)" )]
+ [TestMethod( @"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 +1189,7 @@ public void Test_single_quotes__embedded_U_001E_85( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+001F (86)" )]
+ [TestMethod( @"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 +1200,7 @@ public void Test_single_quotes__embedded_U_001F_86( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded U+0020 (87)" )]
+ [TestMethod( @"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 +1224,7 @@ public void Test_single_quotes__embedded_U_0020_87( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped single quote (88)" )]
+ [TestMethod( @"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 +1248,7 @@ public void Test_single_quotes__escaped_single_quote_88( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped reverse solidus (89)" )]
+ [TestMethod( @"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 +1272,7 @@ public void Test_single_quotes__escaped_reverse_solidus_89( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped solidus (90)" )]
+ [TestMethod( @"single quotes, escaped solidus (90)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__escaped_solidus_90( Type documentType )
@@ -1296,7 +1296,7 @@ public void Test_single_quotes__escaped_solidus_90( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped backspace (91)" )]
+ [TestMethod( @"single quotes, escaped backspace (91)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__escaped_backspace_91( Type documentType )
@@ -1320,7 +1320,7 @@ public void Test_single_quotes__escaped_backspace_91( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped form feed (92)" )]
+ [TestMethod( @"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 +1344,7 @@ public void Test_single_quotes__escaped_form_feed_92( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped line feed (93)" )]
+ [TestMethod( @"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 +1368,7 @@ public void Test_single_quotes__escaped_line_feed_93( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped carriage return (94)" )]
+ [TestMethod( @"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 +1392,7 @@ public void Test_single_quotes__escaped_carriage_return_94( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped tab (95)" )]
+ [TestMethod( @"single quotes, escaped tab (95)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__escaped_tab_95( Type documentType )
@@ -1416,7 +1416,7 @@ public void Test_single_quotes__escaped_tab_95( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped ☺, upper case hex (96)" )]
+ [TestMethod( @"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 +1440,7 @@ public void Test_single_quotes__escaped____upper_case_hex_96( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, escaped ☺, lower case hex (97)" )]
+ [TestMethod( @"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 +1464,7 @@ public void Test_single_quotes__escaped____lower_case_hex_97( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, surrogate pair 𝄞 (98)" )]
+ [TestMethod( @"single quotes, surrogate pair 𝄞 (98)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__surrogate_pair____98( Type documentType )
@@ -1488,7 +1488,7 @@ public void Test_single_quotes__surrogate_pair____98( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, surrogate pair 😀 (99)" )]
+ [TestMethod( @"single quotes, surrogate pair 😀 (99)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__surrogate_pair____99( Type documentType )
@@ -1512,7 +1512,7 @@ public void Test_single_quotes__surrogate_pair____99( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, invalid escaped double quote (100)" )]
+ [TestMethod( @"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 +1523,7 @@ public void Test_single_quotes__invalid_escaped_double_quote_100( Type documentT
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, embedded single quote (101)" )]
+ [TestMethod( @"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 +1534,7 @@ public void Test_single_quotes__embedded_single_quote_101( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"single quotes, incomplete escape (102)" )]
+ [TestMethod( @"single quotes, incomplete escape (102)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_single_quotes__incomplete_escape_102( Type documentType )
@@ -1545,7 +1545,7 @@ public void Test_single_quotes__incomplete_escape_102( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"double quotes, empty (103)" )]
+ [TestMethod( @"double quotes, empty (103)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_double_quotes__empty_103( Type documentType )
@@ -1571,7 +1571,7 @@ public void Test_double_quotes__empty_103( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"single quotes, empty (104)" )]
+ [TestMethod( @"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 6c26723e..d4f84b9f 100644
--- a/test/Hyperbee.Json.Cts/Tests/cts-slice-selector-tests.cs
+++ b/test/Hyperbee.Json.Cts/Tests/cts-slice-selector-tests.cs
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
[TestClass]
public class CtsSliceSelectorTest
{
- [DataTestMethod( @"slice selector (1)" )]
+ [TestMethod( @"slice selector (1)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_slice_selector_1( Type documentType )
@@ -43,7 +43,7 @@ public void Test_slice_selector_1( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice selector with step (2)" )]
+ [TestMethod( @"slice selector with step (2)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_slice_selector_with_step_2( Type documentType )
@@ -78,7 +78,7 @@ public void Test_slice_selector_with_step_2( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice selector with everything omitted, short form (3)" )]
+ [TestMethod( @"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 +108,7 @@ public void Test_slice_selector_with_everything_omitted__short_form_3( Type docu
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice selector with everything omitted, long form (4)" )]
+ [TestMethod( @"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 +138,7 @@ public void Test_slice_selector_with_everything_omitted__long_form_4( Type docum
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice selector with start omitted (5)" )]
+ [TestMethod( @"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 +172,7 @@ public void Test_slice_selector_with_start_omitted_5( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice selector with start and end omitted (6)" )]
+ [TestMethod( @"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 +209,7 @@ public void Test_slice_selector_with_start_and_end_omitted_6( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative step with default start and end (7)" )]
+ [TestMethod( @"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 +239,7 @@ public void Test_negative_step_with_default_start_and_end_7( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative step with default start (8)" )]
+ [TestMethod( @"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 +268,7 @@ public void Test_negative_step_with_default_start_8( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative step with default end (9)" )]
+ [TestMethod( @"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 +297,7 @@ public void Test_negative_step_with_default_end_9( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"larger negative step (10)" )]
+ [TestMethod( @"larger negative step (10)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_larger_negative_step_10( Type documentType )
@@ -325,7 +325,7 @@ public void Test_larger_negative_step_10( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative range with default step (11)" )]
+ [TestMethod( @"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 +356,7 @@ public void Test_negative_range_with_default_step_11( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative range with negative step (12)" )]
+ [TestMethod( @"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 +390,7 @@ public void Test_negative_range_with_negative_step_12( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative range with larger negative step (13)" )]
+ [TestMethod( @"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 +425,7 @@ public void Test_negative_range_with_larger_negative_step_13( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"larger negative range with larger negative step (14)" )]
+ [TestMethod( @"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 +460,7 @@ public void Test_larger_negative_range_with_larger_negative_step_14( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative from, positive to (15)" )]
+ [TestMethod( @"negative from, positive to (15)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_negative_from__positive_to_15( Type documentType )
@@ -494,7 +494,7 @@ public void Test_negative_from__positive_to_15( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative from (16)" )]
+ [TestMethod( @"negative from (16)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_negative_from_16( Type documentType )
@@ -528,7 +528,7 @@ public void Test_negative_from_16( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"positive from, negative to (17)" )]
+ [TestMethod( @"positive from, negative to (17)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_positive_from__negative_to_17( Type documentType )
@@ -568,7 +568,7 @@ public void Test_positive_from__negative_to_17( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative from, positive to, negative step (18)" )]
+ [TestMethod( @"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 +608,7 @@ public void Test_negative_from__positive_to__negative_step_18( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"positive from, negative to, negative step (19)" )]
+ [TestMethod( @"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 +642,7 @@ public void Test_positive_from__negative_to__negative_step_19( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"too many colons (20)" )]
+ [TestMethod( @"too many colons (20)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_too_many_colons_20( Type documentType )
@@ -653,7 +653,7 @@ public void Test_too_many_colons_20( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"non-integer array index (21)" )]
+ [TestMethod( @"non-integer array index (21)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_non_integer_array_index_21( Type documentType )
@@ -664,7 +664,7 @@ public void Test_non_integer_array_index_21( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"zero step (22)" )]
+ [TestMethod( @"zero step (22)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_zero_step_22( Type documentType )
@@ -695,7 +695,7 @@ public void Test_zero_step_22( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"empty range (23)" )]
+ [TestMethod( @"empty range (23)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_empty_range_23( Type documentType )
@@ -726,7 +726,7 @@ public void Test_empty_range_23( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice selector with everything omitted with empty array (24)" )]
+ [TestMethod( @"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 +746,7 @@ public void Test_slice_selector_with_everything_omitted_with_empty_array_24( Typ
Assert.IsTrue( match );
}
- [DataTestMethod( @"negative step with empty array (25)" )]
+ [TestMethod( @"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 +766,7 @@ public void Test_negative_step_with_empty_array_25( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"maximal range with positive step (26)" )]
+ [TestMethod( @"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 +808,7 @@ public void Test_maximal_range_with_positive_step_26( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"maximal range with negative step (27)" )]
+ [TestMethod( @"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 +849,7 @@ public void Test_maximal_range_with_negative_step_27( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"excessively large to value (28)" )]
+ [TestMethod( @"excessively large to value (28)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_excessively_large_to_value_28( Type documentType )
@@ -889,7 +889,7 @@ public void Test_excessively_large_to_value_28( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"excessively small from value (29)" )]
+ [TestMethod( @"excessively small from value (29)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_excessively_small_from_value_29( Type documentType )
@@ -922,7 +922,7 @@ public void Test_excessively_small_from_value_29( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"excessively large from value with negative step (30)" )]
+ [TestMethod( @"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 +963,7 @@ public void Test_excessively_large_from_value_with_negative_step_30( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"excessively small to value with negative step (31)" )]
+ [TestMethod( @"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 +999,7 @@ public void Test_excessively_small_to_value_with_negative_step_31( Type document
Assert.IsTrue( match );
}
- [DataTestMethod( @"excessively large step (32)" )]
+ [TestMethod( @"excessively large step (32)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_excessively_large_step_32( Type documentType )
@@ -1032,7 +1032,7 @@ public void Test_excessively_large_step_32( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"excessively small step (33)" )]
+ [TestMethod( @"excessively small step (33)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_excessively_small_step_33( Type documentType )
@@ -1065,7 +1065,7 @@ public void Test_excessively_small_step_33( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"overflowing to value (34)" )]
+ [TestMethod( @"overflowing to value (34)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_overflowing_to_value_34( Type documentType )
@@ -1076,7 +1076,7 @@ public void Test_overflowing_to_value_34( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"underflowing from value (35)" )]
+ [TestMethod( @"underflowing from value (35)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_underflowing_from_value_35( Type documentType )
@@ -1087,7 +1087,7 @@ public void Test_underflowing_from_value_35( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"overflowing from value with negative step (36)" )]
+ [TestMethod( @"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 +1098,7 @@ public void Test_overflowing_from_value_with_negative_step_36( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"underflowing to value with negative step (37)" )]
+ [TestMethod( @"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 +1109,7 @@ public void Test_underflowing_to_value_with_negative_step_37( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"overflowing step (38)" )]
+ [TestMethod( @"overflowing step (38)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_overflowing_step_38( Type documentType )
@@ -1120,7 +1120,7 @@ public void Test_overflowing_step_38( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"underflowing step (39)" )]
+ [TestMethod( @"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 07f3d761..cfc6d26b 100644
--- a/test/Hyperbee.Json.Cts/Tests/cts-whitespace-tests.cs
+++ b/test/Hyperbee.Json.Cts/Tests/cts-whitespace-tests.cs
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Cts.Tests;
[TestClass]
public class CtsWhitespaceTest
{
- [DataTestMethod( @"filter, space between question mark and expression (1)" )]
+ [TestMethod( @"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 +43,7 @@ public void Test_filter__space_between_question_mark_and_expression_1( Type docu
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, newline between question mark and expression (2)" )]
+ [TestMethod( @"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 +77,7 @@ public void Test_filter__newline_between_question_mark_and_expression_2( Type do
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, tab between question mark and expression (3)" )]
+ [TestMethod( @"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 +111,7 @@ public void Test_filter__tab_between_question_mark_and_expression_3( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, return between question mark and expression (4)" )]
+ [TestMethod( @"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 +145,7 @@ public void Test_filter__return_between_question_mark_and_expression_4( Type doc
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, space between question mark and parenthesized expression (5)" )]
+ [TestMethod( @"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 +179,7 @@ public void Test_filter__space_between_question_mark_and_parenthesized_expressio
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, newline between question mark and parenthesized expression (6)" )]
+ [TestMethod( @"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 +213,7 @@ public void Test_filter__newline_between_question_mark_and_parenthesized_express
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, tab between question mark and parenthesized expression (7)" )]
+ [TestMethod( @"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 +247,7 @@ public void Test_filter__tab_between_question_mark_and_parenthesized_expression_
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, return between question mark and parenthesized expression (8)" )]
+ [TestMethod( @"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 +281,7 @@ public void Test_filter__return_between_question_mark_and_parenthesized_expressi
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, space between parenthesized expression and bracket (9)" )]
+ [TestMethod( @"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 +315,7 @@ public void Test_filter__space_between_parenthesized_expression_and_bracket_9( T
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, newline between parenthesized expression and bracket (10)" )]
+ [TestMethod( @"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 +349,7 @@ public void Test_filter__newline_between_parenthesized_expression_and_bracket_10
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, tab between parenthesized expression and bracket (11)" )]
+ [TestMethod( @"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 +383,7 @@ public void Test_filter__tab_between_parenthesized_expression_and_bracket_11( Ty
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, return between parenthesized expression and bracket (12)" )]
+ [TestMethod( @"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 +417,7 @@ public void Test_filter__return_between_parenthesized_expression_and_bracket_12(
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, space between bracket and question mark (13)" )]
+ [TestMethod( @"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 +451,7 @@ public void Test_filter__space_between_bracket_and_question_mark_13( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, newline between bracket and question mark (14)" )]
+ [TestMethod( @"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 +485,7 @@ public void Test_filter__newline_between_bracket_and_question_mark_14( Type docu
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, tab between bracket and question mark (15)" )]
+ [TestMethod( @"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 +519,7 @@ public void Test_filter__tab_between_bracket_and_question_mark_15( Type document
Assert.IsTrue( match );
}
- [DataTestMethod( @"filter, return between bracket and question mark (16)" )]
+ [TestMethod( @"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 +553,7 @@ public void Test_filter__return_between_bracket_and_question_mark_16( Type docum
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, space between function name and parenthesis (17)" )]
+ [TestMethod( @"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 +564,7 @@ public void Test_functions__space_between_function_name_and_parenthesis_17( Type
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"functions, newline between function name and parenthesis (18)" )]
+ [TestMethod( @"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 +575,7 @@ public void Test_functions__newline_between_function_name_and_parenthesis_18( Ty
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"functions, tab between function name and parenthesis (19)" )]
+ [TestMethod( @"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 +586,7 @@ public void Test_functions__tab_between_function_name_and_parenthesis_19( Type d
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"functions, return between function name and parenthesis (20)" )]
+ [TestMethod( @"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 +597,7 @@ public void Test_functions__return_between_function_name_and_parenthesis_20( Typ
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"functions, space between parenthesis and arg (21)" )]
+ [TestMethod( @"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 +635,7 @@ public void Test_functions__space_between_parenthesis_and_arg_21( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, newline between parenthesis and arg (22)" )]
+ [TestMethod( @"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 +673,7 @@ public void Test_functions__newline_between_parenthesis_and_arg_22( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, tab between parenthesis and arg (23)" )]
+ [TestMethod( @"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 +711,7 @@ public void Test_functions__tab_between_parenthesis_and_arg_23( Type documentTyp
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, return between parenthesis and arg (24)" )]
+ [TestMethod( @"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 +749,7 @@ public void Test_functions__return_between_parenthesis_and_arg_24( Type document
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, space between arg and comma (25)" )]
+ [TestMethod( @"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 +774,7 @@ public void Test_functions__space_between_arg_and_comma_25( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, newline between arg and comma (26)" )]
+ [TestMethod( @"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 +799,7 @@ public void Test_functions__newline_between_arg_and_comma_26( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, tab between arg and comma (27)" )]
+ [TestMethod( @"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 +824,7 @@ public void Test_functions__tab_between_arg_and_comma_27( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, return between arg and comma (28)" )]
+ [TestMethod( @"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 +849,7 @@ public void Test_functions__return_between_arg_and_comma_28( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, space between comma and arg (29)" )]
+ [TestMethod( @"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 +874,7 @@ public void Test_functions__space_between_comma_and_arg_29( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, newline between comma and arg (30)" )]
+ [TestMethod( @"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 +899,7 @@ public void Test_functions__newline_between_comma_and_arg_30( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, tab between comma and arg (31)" )]
+ [TestMethod( @"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 +924,7 @@ public void Test_functions__tab_between_comma_and_arg_31( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, return between comma and arg (32)" )]
+ [TestMethod( @"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 +949,7 @@ public void Test_functions__return_between_comma_and_arg_32( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, space between arg and parenthesis (33)" )]
+ [TestMethod( @"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 +987,7 @@ public void Test_functions__space_between_arg_and_parenthesis_33( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, newline between arg and parenthesis (34)" )]
+ [TestMethod( @"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 +1025,7 @@ public void Test_functions__newline_between_arg_and_parenthesis_34( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, tab between arg and parenthesis (35)" )]
+ [TestMethod( @"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 +1063,7 @@ public void Test_functions__tab_between_arg_and_parenthesis_35( Type documentTyp
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, return between arg and parenthesis (36)" )]
+ [TestMethod( @"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 +1101,7 @@ public void Test_functions__return_between_arg_and_parenthesis_36( Type document
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, spaces in a relative singular selector (37)" )]
+ [TestMethod( @"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 +1134,7 @@ public void Test_functions__spaces_in_a_relative_singular_selector_37( Type docu
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, newlines in a relative singular selector (38)" )]
+ [TestMethod( @"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 +1167,7 @@ public void Test_functions__newlines_in_a_relative_singular_selector_38( Type do
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, tabs in a relative singular selector (39)" )]
+ [TestMethod( @"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 +1200,7 @@ public void Test_functions__tabs_in_a_relative_singular_selector_39( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, returns in a relative singular selector (40)" )]
+ [TestMethod( @"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 +1233,7 @@ public void Test_functions__returns_in_a_relative_singular_selector_40( Type doc
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, spaces in an absolute singular selector (41)" )]
+ [TestMethod( @"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 +1260,7 @@ public void Test_functions__spaces_in_an_absolute_singular_selector_41( Type doc
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, newlines in an absolute singular selector (42)" )]
+ [TestMethod( @"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 +1287,7 @@ public void Test_functions__newlines_in_an_absolute_singular_selector_42( Type d
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, tabs in an absolute singular selector (43)" )]
+ [TestMethod( @"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 +1314,7 @@ public void Test_functions__tabs_in_an_absolute_singular_selector_43( Type docum
Assert.IsTrue( match );
}
- [DataTestMethod( @"functions, returns in an absolute singular selector (44)" )]
+ [TestMethod( @"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 +1341,7 @@ public void Test_functions__returns_in_an_absolute_singular_selector_44( Type do
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before || (45)" )]
+ [TestMethod( @"operators, space before || (45)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before____45( Type documentType )
@@ -1378,7 +1378,7 @@ public void Test_operators__space_before____45( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before || (46)" )]
+ [TestMethod( @"operators, newline before || (46)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before____46( Type documentType )
@@ -1415,7 +1415,7 @@ public void Test_operators__newline_before____46( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before || (47)" )]
+ [TestMethod( @"operators, tab before || (47)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before____47( Type documentType )
@@ -1452,7 +1452,7 @@ public void Test_operators__tab_before____47( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before || (48)" )]
+ [TestMethod( @"operators, return before || (48)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before____48( Type documentType )
@@ -1489,7 +1489,7 @@ public void Test_operators__return_before____48( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after || (49)" )]
+ [TestMethod( @"operators, space after || (49)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after____49( Type documentType )
@@ -1526,7 +1526,7 @@ public void Test_operators__space_after____49( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after || (50)" )]
+ [TestMethod( @"operators, newline after || (50)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after____50( Type documentType )
@@ -1563,7 +1563,7 @@ public void Test_operators__newline_after____50( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after || (51)" )]
+ [TestMethod( @"operators, tab after || (51)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after____51( Type documentType )
@@ -1600,7 +1600,7 @@ public void Test_operators__tab_after____51( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after || (52)" )]
+ [TestMethod( @"operators, return after || (52)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after____52( Type documentType )
@@ -1637,7 +1637,7 @@ public void Test_operators__return_after____52( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before && (53)" )]
+ [TestMethod( @"operators, space before && (53)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before____53( Type documentType )
@@ -1673,7 +1673,7 @@ public void Test_operators__space_before____53( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before && (54)" )]
+ [TestMethod( @"operators, newline before && (54)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before____54( Type documentType )
@@ -1709,7 +1709,7 @@ public void Test_operators__newline_before____54( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before && (55)" )]
+ [TestMethod( @"operators, tab before && (55)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before____55( Type documentType )
@@ -1745,7 +1745,7 @@ public void Test_operators__tab_before____55( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before && (56)" )]
+ [TestMethod( @"operators, return before && (56)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before____56( Type documentType )
@@ -1781,7 +1781,7 @@ public void Test_operators__return_before____56( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after && (57)" )]
+ [TestMethod( @"operators, space after && (57)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after____57( Type documentType )
@@ -1817,7 +1817,7 @@ public void Test_operators__space_after____57( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after && (58)" )]
+ [TestMethod( @"operators, newline after && (58)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after____58( Type documentType )
@@ -1853,7 +1853,7 @@ public void Test_operators__newline_after____58( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after && (59)" )]
+ [TestMethod( @"operators, tab after && (59)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after____59( Type documentType )
@@ -1889,7 +1889,7 @@ public void Test_operators__tab_after____59( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after && (60)" )]
+ [TestMethod( @"operators, return after && (60)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after____60( Type documentType )
@@ -1925,7 +1925,7 @@ public void Test_operators__return_after____60( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before == (61)" )]
+ [TestMethod( @"operators, space before == (61)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before____61( Type documentType )
@@ -1959,7 +1959,7 @@ public void Test_operators__space_before____61( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before == (62)" )]
+ [TestMethod( @"operators, newline before == (62)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before____62( Type documentType )
@@ -1993,7 +1993,7 @@ public void Test_operators__newline_before____62( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before == (63)" )]
+ [TestMethod( @"operators, tab before == (63)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before____63( Type documentType )
@@ -2027,7 +2027,7 @@ public void Test_operators__tab_before____63( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before == (64)" )]
+ [TestMethod( @"operators, return before == (64)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before____64( Type documentType )
@@ -2061,7 +2061,7 @@ public void Test_operators__return_before____64( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after == (65)" )]
+ [TestMethod( @"operators, space after == (65)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after____65( Type documentType )
@@ -2095,7 +2095,7 @@ public void Test_operators__space_after____65( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after == (66)" )]
+ [TestMethod( @"operators, newline after == (66)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after____66( Type documentType )
@@ -2129,7 +2129,7 @@ public void Test_operators__newline_after____66( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after == (67)" )]
+ [TestMethod( @"operators, tab after == (67)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after____67( Type documentType )
@@ -2163,7 +2163,7 @@ public void Test_operators__tab_after____67( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after == (68)" )]
+ [TestMethod( @"operators, return after == (68)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after____68( Type documentType )
@@ -2197,7 +2197,7 @@ public void Test_operators__return_after____68( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before != (69)" )]
+ [TestMethod( @"operators, space before != (69)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before____69( Type documentType )
@@ -2231,7 +2231,7 @@ public void Test_operators__space_before____69( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before != (70)" )]
+ [TestMethod( @"operators, newline before != (70)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before____70( Type documentType )
@@ -2265,7 +2265,7 @@ public void Test_operators__newline_before____70( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before != (71)" )]
+ [TestMethod( @"operators, tab before != (71)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before____71( Type documentType )
@@ -2299,7 +2299,7 @@ public void Test_operators__tab_before____71( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before != (72)" )]
+ [TestMethod( @"operators, return before != (72)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before____72( Type documentType )
@@ -2333,7 +2333,7 @@ public void Test_operators__return_before____72( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after != (73)" )]
+ [TestMethod( @"operators, space after != (73)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after____73( Type documentType )
@@ -2367,7 +2367,7 @@ public void Test_operators__space_after____73( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after != (74)" )]
+ [TestMethod( @"operators, newline after != (74)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after____74( Type documentType )
@@ -2401,7 +2401,7 @@ public void Test_operators__newline_after____74( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after != (75)" )]
+ [TestMethod( @"operators, tab after != (75)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after____75( Type documentType )
@@ -2435,7 +2435,7 @@ public void Test_operators__tab_after____75( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after != (76)" )]
+ [TestMethod( @"operators, return after != (76)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after____76( Type documentType )
@@ -2469,7 +2469,7 @@ public void Test_operators__return_after____76( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before < (77)" )]
+ [TestMethod( @"operators, space before < (77)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before___77( Type documentType )
@@ -2503,7 +2503,7 @@ public void Test_operators__space_before___77( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before < (78)" )]
+ [TestMethod( @"operators, newline before < (78)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before___78( Type documentType )
@@ -2537,7 +2537,7 @@ public void Test_operators__newline_before___78( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before < (79)" )]
+ [TestMethod( @"operators, tab before < (79)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before___79( Type documentType )
@@ -2571,7 +2571,7 @@ public void Test_operators__tab_before___79( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before < (80)" )]
+ [TestMethod( @"operators, return before < (80)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before___80( Type documentType )
@@ -2605,7 +2605,7 @@ public void Test_operators__return_before___80( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after < (81)" )]
+ [TestMethod( @"operators, space after < (81)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after___81( Type documentType )
@@ -2639,7 +2639,7 @@ public void Test_operators__space_after___81( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after < (82)" )]
+ [TestMethod( @"operators, newline after < (82)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after___82( Type documentType )
@@ -2673,7 +2673,7 @@ public void Test_operators__newline_after___82( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after < (83)" )]
+ [TestMethod( @"operators, tab after < (83)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after___83( Type documentType )
@@ -2707,7 +2707,7 @@ public void Test_operators__tab_after___83( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after < (84)" )]
+ [TestMethod( @"operators, return after < (84)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after___84( Type documentType )
@@ -2741,7 +2741,7 @@ public void Test_operators__return_after___84( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before > (85)" )]
+ [TestMethod( @"operators, space before > (85)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before___85( Type documentType )
@@ -2775,7 +2775,7 @@ public void Test_operators__space_before___85( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before > (86)" )]
+ [TestMethod( @"operators, newline before > (86)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before___86( Type documentType )
@@ -2809,7 +2809,7 @@ public void Test_operators__newline_before___86( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before > (87)" )]
+ [TestMethod( @"operators, tab before > (87)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before___87( Type documentType )
@@ -2843,7 +2843,7 @@ public void Test_operators__tab_before___87( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before > (88)" )]
+ [TestMethod( @"operators, return before > (88)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before___88( Type documentType )
@@ -2877,7 +2877,7 @@ public void Test_operators__return_before___88( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after > (89)" )]
+ [TestMethod( @"operators, space after > (89)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after___89( Type documentType )
@@ -2911,7 +2911,7 @@ public void Test_operators__space_after___89( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after > (90)" )]
+ [TestMethod( @"operators, newline after > (90)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after___90( Type documentType )
@@ -2945,7 +2945,7 @@ public void Test_operators__newline_after___90( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after > (91)" )]
+ [TestMethod( @"operators, tab after > (91)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after___91( Type documentType )
@@ -2979,7 +2979,7 @@ public void Test_operators__tab_after___91( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after > (92)" )]
+ [TestMethod( @"operators, return after > (92)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after___92( Type documentType )
@@ -3013,7 +3013,7 @@ public void Test_operators__return_after___92( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before <= (93)" )]
+ [TestMethod( @"operators, space before <= (93)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before____93( Type documentType )
@@ -3055,7 +3055,7 @@ public void Test_operators__space_before____93( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before <= (94)" )]
+ [TestMethod( @"operators, newline before <= (94)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before____94( Type documentType )
@@ -3097,7 +3097,7 @@ public void Test_operators__newline_before____94( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before <= (95)" )]
+ [TestMethod( @"operators, tab before <= (95)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before____95( Type documentType )
@@ -3139,7 +3139,7 @@ public void Test_operators__tab_before____95( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before <= (96)" )]
+ [TestMethod( @"operators, return before <= (96)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before____96( Type documentType )
@@ -3181,7 +3181,7 @@ public void Test_operators__return_before____96( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after <= (97)" )]
+ [TestMethod( @"operators, space after <= (97)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after____97( Type documentType )
@@ -3223,7 +3223,7 @@ public void Test_operators__space_after____97( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after <= (98)" )]
+ [TestMethod( @"operators, newline after <= (98)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after____98( Type documentType )
@@ -3265,7 +3265,7 @@ public void Test_operators__newline_after____98( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after <= (99)" )]
+ [TestMethod( @"operators, tab after <= (99)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after____99( Type documentType )
@@ -3307,7 +3307,7 @@ public void Test_operators__tab_after____99( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after <= (100)" )]
+ [TestMethod( @"operators, return after <= (100)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after____100( Type documentType )
@@ -3349,7 +3349,7 @@ public void Test_operators__return_after____100( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space before >= (101)" )]
+ [TestMethod( @"operators, space before >= (101)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_before____101( Type documentType )
@@ -3391,7 +3391,7 @@ public void Test_operators__space_before____101( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline before >= (102)" )]
+ [TestMethod( @"operators, newline before >= (102)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_before____102( Type documentType )
@@ -3433,7 +3433,7 @@ public void Test_operators__newline_before____102( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab before >= (103)" )]
+ [TestMethod( @"operators, tab before >= (103)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_before____103( Type documentType )
@@ -3475,7 +3475,7 @@ public void Test_operators__tab_before____103( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return before >= (104)" )]
+ [TestMethod( @"operators, return before >= (104)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_before____104( Type documentType )
@@ -3517,7 +3517,7 @@ public void Test_operators__return_before____104( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space after >= (105)" )]
+ [TestMethod( @"operators, space after >= (105)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__space_after____105( Type documentType )
@@ -3559,7 +3559,7 @@ public void Test_operators__space_after____105( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline after >= (106)" )]
+ [TestMethod( @"operators, newline after >= (106)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__newline_after____106( Type documentType )
@@ -3601,7 +3601,7 @@ public void Test_operators__newline_after____106( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab after >= (107)" )]
+ [TestMethod( @"operators, tab after >= (107)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__tab_after____107( Type documentType )
@@ -3643,7 +3643,7 @@ public void Test_operators__tab_after____107( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return after >= (108)" )]
+ [TestMethod( @"operators, return after >= (108)" )]
[DataRow( typeof( JsonNode ) )]
[DataRow( typeof( JsonElement ) )]
public void Test_operators__return_after____108( Type documentType )
@@ -3685,7 +3685,7 @@ public void Test_operators__return_after____108( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space between logical not and test expression (109)" )]
+ [TestMethod( @"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 +3721,7 @@ public void Test_operators__space_between_logical_not_and_test_expression_109( T
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline between logical not and test expression (110)" )]
+ [TestMethod( @"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 +3757,7 @@ public void Test_operators__newline_between_logical_not_and_test_expression_110(
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab between logical not and test expression (111)" )]
+ [TestMethod( @"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 +3793,7 @@ public void Test_operators__tab_between_logical_not_and_test_expression_111( Typ
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return between logical not and test expression (112)" )]
+ [TestMethod( @"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 +3829,7 @@ public void Test_operators__return_between_logical_not_and_test_expression_112(
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, space between logical not and parenthesized expression (113)" )]
+ [TestMethod( @"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 +3871,7 @@ public void Test_operators__space_between_logical_not_and_parenthesized_expressi
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, newline between logical not and parenthesized expression (114)" )]
+ [TestMethod( @"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 +3913,7 @@ public void Test_operators__newline_between_logical_not_and_parenthesized_expres
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, tab between logical not and parenthesized expression (115)" )]
+ [TestMethod( @"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 +3955,7 @@ public void Test_operators__tab_between_logical_not_and_parenthesized_expression
Assert.IsTrue( match );
}
- [DataTestMethod( @"operators, return between logical not and parenthesized expression (116)" )]
+ [TestMethod( @"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 +3997,7 @@ public void Test_operators__return_between_logical_not_and_parenthesized_express
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, space between root and bracket (117)" )]
+ [TestMethod( @"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 +4021,7 @@ public void Test_selectors__space_between_root_and_bracket_117( Type documentTyp
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, newline between root and bracket (118)" )]
+ [TestMethod( @"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 +4045,7 @@ public void Test_selectors__newline_between_root_and_bracket_118( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, tab between root and bracket (119)" )]
+ [TestMethod( @"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 +4069,7 @@ public void Test_selectors__tab_between_root_and_bracket_119( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, return between root and bracket (120)" )]
+ [TestMethod( @"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 +4093,7 @@ public void Test_selectors__return_between_root_and_bracket_120( Type documentTy
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, space between bracket and bracket (121)" )]
+ [TestMethod( @"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 +4119,7 @@ public void Test_selectors__space_between_bracket_and_bracket_121( Type document
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, newline between root and bracket (122)" )]
+ [TestMethod( @"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 +4145,7 @@ public void Test_selectors__newline_between_root_and_bracket_122( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, tab between root and bracket (123)" )]
+ [TestMethod( @"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 +4171,7 @@ public void Test_selectors__tab_between_root_and_bracket_123( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, return between root and bracket (124)" )]
+ [TestMethod( @"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 +4197,7 @@ public void Test_selectors__return_between_root_and_bracket_124( Type documentTy
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, space between root and dot (125)" )]
+ [TestMethod( @"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 +4221,7 @@ public void Test_selectors__space_between_root_and_dot_125( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, newline between root and dot (126)" )]
+ [TestMethod( @"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 +4245,7 @@ public void Test_selectors__newline_between_root_and_dot_126( Type documentType
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, tab between root and dot (127)" )]
+ [TestMethod( @"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 +4269,7 @@ public void Test_selectors__tab_between_root_and_dot_127( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, return between root and dot (128)" )]
+ [TestMethod( @"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 +4293,7 @@ public void Test_selectors__return_between_root_and_dot_128( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, space between dot and name (129)" )]
+ [TestMethod( @"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 +4304,7 @@ public void Test_selectors__space_between_dot_and_name_129( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, newline between dot and name (130)" )]
+ [TestMethod( @"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 +4315,7 @@ public void Test_selectors__newline_between_dot_and_name_130( Type documentType
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, tab between dot and name (131)" )]
+ [TestMethod( @"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 +4326,7 @@ public void Test_selectors__tab_between_dot_and_name_131( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, return between dot and name (132)" )]
+ [TestMethod( @"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 +4337,7 @@ public void Test_selectors__return_between_dot_and_name_132( Type documentType )
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, space between recursive descent and name (133)" )]
+ [TestMethod( @"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 +4348,7 @@ public void Test_selectors__space_between_recursive_descent_and_name_133( Type d
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, newline between recursive descent and name (134)" )]
+ [TestMethod( @"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 +4359,7 @@ public void Test_selectors__newline_between_recursive_descent_and_name_134( Type
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, tab between recursive descent and name (135)" )]
+ [TestMethod( @"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 +4370,7 @@ public void Test_selectors__tab_between_recursive_descent_and_name_135( Type doc
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, return between recursive descent and name (136)" )]
+ [TestMethod( @"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 +4381,7 @@ public void Test_selectors__return_between_recursive_descent_and_name_136( Type
AssertExtensions.ThrowsAny( () => { _ = document.Select( selector ).ToArray(); } );
}
- [DataTestMethod( @"selectors, space between bracket and selector (137)" )]
+ [TestMethod( @"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 +4405,7 @@ public void Test_selectors__space_between_bracket_and_selector_137( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, newline between bracket and selector (138)" )]
+ [TestMethod( @"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 +4429,7 @@ public void Test_selectors__newline_between_bracket_and_selector_138( Type docum
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, tab between bracket and selector (139)" )]
+ [TestMethod( @"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 +4453,7 @@ public void Test_selectors__tab_between_bracket_and_selector_139( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, return between bracket and selector (140)" )]
+ [TestMethod( @"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 +4477,7 @@ public void Test_selectors__return_between_bracket_and_selector_140( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, space between selector and bracket (141)" )]
+ [TestMethod( @"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 +4501,7 @@ public void Test_selectors__space_between_selector_and_bracket_141( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, newline between selector and bracket (142)" )]
+ [TestMethod( @"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 +4525,7 @@ public void Test_selectors__newline_between_selector_and_bracket_142( Type docum
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, tab between selector and bracket (143)" )]
+ [TestMethod( @"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 +4549,7 @@ public void Test_selectors__tab_between_selector_and_bracket_143( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, return between selector and bracket (144)" )]
+ [TestMethod( @"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 +4573,7 @@ public void Test_selectors__return_between_selector_and_bracket_144( Type docume
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, space between selector and comma (145)" )]
+ [TestMethod( @"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 +4599,7 @@ public void Test_selectors__space_between_selector_and_comma_145( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, newline between selector and comma (146)" )]
+ [TestMethod( @"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 +4625,7 @@ public void Test_selectors__newline_between_selector_and_comma_146( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, tab between selector and comma (147)" )]
+ [TestMethod( @"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 +4651,7 @@ public void Test_selectors__tab_between_selector_and_comma_147( Type documentTyp
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, return between selector and comma (148)" )]
+ [TestMethod( @"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 +4677,7 @@ public void Test_selectors__return_between_selector_and_comma_148( Type document
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, space between comma and selector (149)" )]
+ [TestMethod( @"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 +4703,7 @@ public void Test_selectors__space_between_comma_and_selector_149( Type documentT
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, newline between comma and selector (150)" )]
+ [TestMethod( @"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 +4729,7 @@ public void Test_selectors__newline_between_comma_and_selector_150( Type documen
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, tab between comma and selector (151)" )]
+ [TestMethod( @"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 +4755,7 @@ public void Test_selectors__tab_between_comma_and_selector_151( Type documentTyp
Assert.IsTrue( match );
}
- [DataTestMethod( @"selectors, return between comma and selector (152)" )]
+ [TestMethod( @"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 +4781,7 @@ public void Test_selectors__return_between_comma_and_selector_152( Type document
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, space between start and colon (153)" )]
+ [TestMethod( @"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 +4811,7 @@ public void Test_slice__space_between_start_and_colon_153( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, newline between start and colon (154)" )]
+ [TestMethod( @"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 +4841,7 @@ public void Test_slice__newline_between_start_and_colon_154( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, tab between start and colon (155)" )]
+ [TestMethod( @"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 +4871,7 @@ public void Test_slice__tab_between_start_and_colon_155( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, return between start and colon (156)" )]
+ [TestMethod( @"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 +4901,7 @@ public void Test_slice__return_between_start_and_colon_156( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, space between colon and end (157)" )]
+ [TestMethod( @"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 +4931,7 @@ public void Test_slice__space_between_colon_and_end_157( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, newline between colon and end (158)" )]
+ [TestMethod( @"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 +4961,7 @@ public void Test_slice__newline_between_colon_and_end_158( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, tab between colon and end (159)" )]
+ [TestMethod( @"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 +4991,7 @@ public void Test_slice__tab_between_colon_and_end_159( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, return between colon and end (160)" )]
+ [TestMethod( @"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 +5021,7 @@ public void Test_slice__return_between_colon_and_end_160( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, space between end and colon (161)" )]
+ [TestMethod( @"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 +5051,7 @@ public void Test_slice__space_between_end_and_colon_161( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, newline between end and colon (162)" )]
+ [TestMethod( @"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 +5081,7 @@ public void Test_slice__newline_between_end_and_colon_162( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, tab between end and colon (163)" )]
+ [TestMethod( @"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 +5111,7 @@ public void Test_slice__tab_between_end_and_colon_163( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, return between end and colon (164)" )]
+ [TestMethod( @"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 +5141,7 @@ public void Test_slice__return_between_end_and_colon_164( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, space between colon and step (165)" )]
+ [TestMethod( @"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 +5171,7 @@ public void Test_slice__space_between_colon_and_step_165( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, newline between colon and step (166)" )]
+ [TestMethod( @"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 +5201,7 @@ public void Test_slice__newline_between_colon_and_step_166( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, tab between colon and step (167)" )]
+ [TestMethod( @"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 +5231,7 @@ public void Test_slice__tab_between_colon_and_step_167( Type documentType )
Assert.IsTrue( match );
}
- [DataTestMethod( @"slice, return between colon and step (168)" )]
+ [TestMethod( @"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 10a4413b..2d190657 100644
--- a/test/Hyperbee.Json.Tests/Core/JsonPathBuilderTests.cs
+++ b/test/Hyperbee.Json.Tests/Core/JsonPathBuilderTests.cs
@@ -8,7 +8,7 @@ namespace Hyperbee.Json.Tests.Core;
[TestClass]
public class JsonPathBuilderTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['store']['book'][0]['author']", "$.store.book[0].author" )]
[DataRow( "$['store']['book'][1]['author']", "$.store.book[1].author" )]
[DataRow( "$['store']['book'][2]['author']", "$.store.book[2].author" )]
diff --git a/test/Hyperbee.Json.Tests/Core/SliceSyntaxHelperTests.cs b/test/Hyperbee.Json.Tests/Core/SliceSyntaxHelperTests.cs
index f0faa456..309cf6fd 100644
--- a/test/Hyperbee.Json.Tests/Core/SliceSyntaxHelperTests.cs
+++ b/test/Hyperbee.Json.Tests/Core/SliceSyntaxHelperTests.cs
@@ -36,10 +36,9 @@ public void TestReverseOrder()
}
[TestMethod]
- [ExpectedException( typeof( InvalidOperationException ) )]
public void TestInvalidSliceExpression()
{
- SliceSyntaxHelper.ParseExpression( "1:2:3:4".AsSpan(), 10 );
+ Assert.ThrowsExactly( () => SliceSyntaxHelper.ParseExpression( "1:2:3:4".AsSpan(), 10 ) );
}
[TestMethod]
diff --git a/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs b/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs
index 1dec05ed..5a66a718 100644
--- a/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs
+++ b/test/Hyperbee.Json.Tests/Dynamic/JsonDynamicTests.cs
@@ -78,7 +78,7 @@ public void DynamicArrayAccessOutOfBounds()
{
var jobject = JsonSerializer.Deserialize( ReadJsonString(), SerializerOptions );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = jobject.store.book[10];
} );
diff --git a/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj b/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj
index 17fa4507..c4fa88d2 100644
--- a/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj
+++ b/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs b/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs
index 700355ba..347d2651 100644
--- a/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs
+++ b/test/Hyperbee.Json.Tests/Patch/JsonDiffTests.cs
@@ -11,7 +11,7 @@ namespace Hyperbee.Json.Tests.Patch;
[TestClass]
public class JsonDiffTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void Add_WhenTargetHasAdditionalProperty( Type sourceType )
@@ -39,7 +39,7 @@ public void Add_WhenTargetHasAdditionalProperty( Type sourceType )
Assert.AreEqual( "Doe", Unwrap( results[0].Value ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void Add_WhenTargetArrayHasMoreItems( Type sourceType )
@@ -66,7 +66,7 @@ public void Add_WhenTargetArrayHasMoreItems( Type sourceType )
Assert.AreEqual( "B", Unwrap( results[0].Value ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void Remove_WhenTargetIsMissingProperty( Type sourceType )
@@ -94,7 +94,7 @@ public void Remove_WhenTargetIsMissingProperty( Type sourceType )
Assert.IsNull( results[0].Value );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void Remove_WhenTargetArrayHasLessItems( Type sourceType )
@@ -121,7 +121,7 @@ public void Remove_WhenTargetArrayHasLessItems( Type sourceType )
Assert.IsNull( results[0].Value );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void Replace_WhenTargetPropertyUpdated( Type sourceType )
@@ -148,7 +148,7 @@ public void Replace_WhenTargetPropertyUpdated( Type sourceType )
Assert.AreEqual( "Mark", Unwrap( results[0].Value ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void Replace_WhenTargetArrayItemsAreDifferent( Type sourceType )
@@ -175,7 +175,7 @@ public void Replace_WhenTargetArrayItemsAreDifferent( Type sourceType )
Assert.AreEqual( "C", Unwrap( results[0].Value ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void Replace_WhenComplexTargetArrayHasDifferentValues( Type sourceType )
@@ -222,7 +222,7 @@ public void Replace_WhenComplexTargetArrayHasDifferentValues( Type sourceType )
Assert.AreEqual( 2, Unwrap( results[1].Value ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void MultipleOperations_WhenTargetHasMultipleUpdates( Type sourceType )
@@ -263,7 +263,7 @@ public void MultipleOperations_WhenTargetHasMultipleUpdates( Type sourceType )
Assert.IsTrue( results.Length == 8 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( typeof( JsonDocument ) )]
[DataRow( typeof( JsonNode ) )]
public void EscapePath_WhenJsonHasPropertyNames( Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs b/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs
index 2e496a7a..16a4c836 100644
--- a/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs
+++ b/test/Hyperbee.Json.Tests/Patch/JsonPatchTests.cs
@@ -148,7 +148,6 @@ public void Add_WhenValueArrayAtNextIndex()
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void AddFail_WhenValueArrayAndMissingParent()
{
var source = JsonNode.Parse(
@@ -162,11 +161,10 @@ public void AddFail_WhenValueArrayAndMissingParent()
new PatchOperation( PatchOperationType.Add, "/categories/0", null, "b" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void AddFail_WhenValueArrayOutOfRange()
{
var source = JsonNode.Parse(
@@ -181,11 +179,10 @@ public void AddFail_WhenValueArrayOutOfRange()
new PatchOperation( PatchOperationType.Add, "/categories/2", null, "b" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void AddFail_WhenValueArrayInvalidIndex()
{
var source = JsonNode.Parse(
@@ -200,11 +197,10 @@ public void AddFail_WhenValueArrayInvalidIndex()
new PatchOperation( PatchOperationType.Add, "/categories/NaN", null, "b" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void AddFail_WhenValuePropertyAndMissingParent()
{
var source = JsonNode.Parse(
@@ -218,7 +214,7 @@ public void AddFail_WhenValuePropertyAndMissingParent()
new PatchOperation( PatchOperationType.Add, "/job/title", null, "developer" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
@@ -388,7 +384,6 @@ public void Copy_WhenFromPropertyToArrayAtNextIndex()
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void CopyFail_WhenFromPropertyToArrayOutOfRange()
{
var source = JsonNode.Parse(
@@ -407,11 +402,10 @@ public void CopyFail_WhenFromPropertyToArrayOutOfRange()
new PatchOperation( PatchOperationType.Copy, "/ideas/1", "/job", null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void CopyFail_WhenFromPropertyToArrayInvalidIndex()
{
var source = JsonNode.Parse(
@@ -430,11 +424,10 @@ public void CopyFail_WhenFromPropertyToArrayInvalidIndex()
new PatchOperation( PatchOperationType.Copy, "/ideas/NaN", "/job", null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void CopyFail_WhenFromPropertyAndMissingParent()
{
var source = JsonNode.Parse(
@@ -448,7 +441,7 @@ public void CopyFail_WhenFromPropertyAndMissingParent()
new PatchOperation( PatchOperationType.Copy, "/title", "/job/title", null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
@@ -640,7 +633,6 @@ public void Move_WhenFromPropertyToArrayAtNextIndex()
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void MoveFail_WhenFromPropertyToArrayOutOfRange()
{
var source = JsonNode.Parse(
@@ -659,11 +651,10 @@ public void MoveFail_WhenFromPropertyToArrayOutOfRange()
new PatchOperation( PatchOperationType.Move, "/ideas/1", "/job", null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void MoveFail_WhenFromPropertyToArrayInvalidIndex()
{
var source = JsonNode.Parse(
@@ -682,11 +673,10 @@ public void MoveFail_WhenFromPropertyToArrayInvalidIndex()
new PatchOperation( PatchOperationType.Move, "/ideas/NaN", "/job", null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void MoveFail_WhenFromPropertyAndMissingParent()
{
var source = JsonNode.Parse(
@@ -700,11 +690,10 @@ public void MoveFail_WhenFromPropertyAndMissingParent()
new PatchOperation( PatchOperationType.Move, "/title", "/job/title", null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void MoveFail_WhenFromPropertyIsChildOfSelf()
{
var source = JsonNode.Parse(
@@ -722,7 +711,7 @@ public void MoveFail_WhenFromPropertyIsChildOfSelf()
new PatchOperation( PatchOperationType.Move, "/job/sub", "/job", null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
@@ -792,7 +781,6 @@ public void Remove_WhenValueArray()
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void RemoveFail_WhenValueArrayAndMissingParent()
{
var source = JsonNode.Parse(
@@ -806,11 +794,10 @@ public void RemoveFail_WhenValueArrayAndMissingParent()
new PatchOperation( PatchOperationType.Remove, "/categories/0", null, null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void RemoveFail_WhenValueArrayOutOfRange()
{
var source = JsonNode.Parse(
@@ -825,11 +812,10 @@ public void RemoveFail_WhenValueArrayOutOfRange()
new PatchOperation( PatchOperationType.Remove, "/categories/2", null, null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void RemoveFail_WhenValueArrayInvalidIndex()
{
var source = JsonNode.Parse(
@@ -844,11 +830,10 @@ public void RemoveFail_WhenValueArrayInvalidIndex()
new PatchOperation( PatchOperationType.Remove, "/categories/NaN", null, null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void RemoveFail_WhenValuePropertyAndMissingParent()
{
var source = JsonNode.Parse(
@@ -862,7 +847,7 @@ public void RemoveFail_WhenValuePropertyAndMissingParent()
new PatchOperation( PatchOperationType.Remove, "/job/title", null, null )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
@@ -976,7 +961,6 @@ public void Replace_WhenValueArrayAtExistIndex()
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void ReplaceFail_WhenValueArrayAtEnd()
{
var source = JsonNode.Parse(
@@ -991,11 +975,10 @@ public void ReplaceFail_WhenValueArrayAtEnd()
new PatchOperation( PatchOperationType.Replace, "/categories/-", null, "b" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void ReplaceFail_WhenValueArrayAndMissingParent()
{
var source = JsonNode.Parse(
@@ -1009,11 +992,10 @@ public void ReplaceFail_WhenValueArrayAndMissingParent()
new PatchOperation( PatchOperationType.Replace, "/categories/0", null, "b" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void ReplaceFail_WhenValueArrayOutOfRange()
{
var source = JsonNode.Parse(
@@ -1028,11 +1010,10 @@ public void ReplaceFail_WhenValueArrayOutOfRange()
new PatchOperation( PatchOperationType.Replace, "/categories/2", null, "b" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void ReplaceFail_WhenValueArrayInvalidIndex()
{
var source = JsonNode.Parse(
@@ -1047,11 +1028,10 @@ public void ReplaceFail_WhenValueArrayInvalidIndex()
new PatchOperation( PatchOperationType.Replace, "/categories/NaN", null, "b" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void ReplaceFail_WhenValuePropertyAndMissingParent()
{
var source = JsonNode.Parse(
@@ -1065,7 +1045,7 @@ public void ReplaceFail_WhenValuePropertyAndMissingParent()
new PatchOperation( PatchOperationType.Replace, "/job/title", null, "developer" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
@@ -1138,7 +1118,6 @@ public void Test_WhenValueArrayEqual()
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void TestFail_WhenValueObjectNotEqual()
{
var source = JsonNode.Parse(
@@ -1161,11 +1140,10 @@ public void TestFail_WhenValueObjectNotEqual()
""" ) )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void TestFail_WhenValueArrayNotEqual()
{
var source = JsonNode.Parse(
@@ -1180,11 +1158,10 @@ public void TestFail_WhenValueArrayNotEqual()
new PatchOperation( PatchOperationType.Test, "/categories/0", null, "c" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void TestFail_WhenValueArrayOutOfRange()
{
var source = JsonNode.Parse(
@@ -1199,11 +1176,10 @@ public void TestFail_WhenValueArrayOutOfRange()
new PatchOperation( PatchOperationType.Test, "/categories/1", null, "a" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void TestFail_WhenValueArrayInvalidIndex()
{
var source = JsonNode.Parse(
@@ -1218,11 +1194,10 @@ public void TestFail_WhenValueArrayInvalidIndex()
new PatchOperation( PatchOperationType.Test, "/categories/NaN", null, "a" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
- [ExpectedException( typeof( JsonPatchException ) )]
public void TestFail_WhenValuePropertyNotEqual()
{
var source = JsonNode.Parse(
@@ -1236,7 +1211,7 @@ public void TestFail_WhenValuePropertyNotEqual()
new PatchOperation( PatchOperationType.Test, "/first", null, "Mark" )
);
- patch.Apply( source );
+ Assert.ThrowsExactly( () => patch.Apply( source ) );
}
[TestMethod]
diff --git a/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs b/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs
index c150e63c..4d25bb6c 100644
--- a/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Parser/FilterParserTests.cs
@@ -14,7 +14,7 @@ namespace Hyperbee.Json.Tests.Path.Parser;
[TestClass]
public class FilterParserTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "((1 == 1))", true, typeof( JsonElement ) )]
[DataRow( "((\"world\" == 'world') && (1 == 1))", true, typeof( JsonElement ) )]
[DataRow( "1 == 1", true, typeof( JsonElement ) )]
@@ -41,7 +41,7 @@ public void MatchExpectedResult_WhenUsingConstants( string filter, bool expected
Assert.AreEqual( expected, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "true", typeof( JsonElement ) )]
[DataRow( "false", typeof( JsonElement ) )]
[DataRow( "true", typeof( JsonNode ) )]
@@ -51,14 +51,14 @@ public void Fail_WhenNotComparingLiterals( string filter, Type sourceType )
// arrange
// act & assert
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
var (expression, param) = GetExpression( filter, sourceType );
return ExecuteExpression( expression, param, sourceType );
} );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "@.store.bicycle.price < 10", false, typeof( JsonElement ) )]
[DataRow( "@.store.bicycle.price <= 10", false, typeof( JsonElement ) )]
[DataRow( "@.store.bicycle.price < 20", true, typeof( JsonElement ) )]
@@ -98,7 +98,7 @@ public void MatchExpectedResult_WhenUsingJsonPath( string filter, bool expected,
Assert.AreEqual( expected, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.store.book[?(@.price > 20)].price", 22.99F, typeof( JsonElement ) )]
[DataRow( "$.store.book[?(@.category == 'reference')].price", 8.95F, typeof( JsonElement ) )]
[DataRow( "$.store.book[?(@.price < 9.00 && @.category == 'reference')].price", 8.95F, typeof( JsonElement ) )]
@@ -122,7 +122,7 @@ public void ReturnExpectedResult_WhenUsingExpressionEvaluator( string filter, fl
Assert.AreEqual( expected, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "count(@.store.book) == 1", true, typeof( JsonElement ) )]
[DataRow( "count(@.store.book.*) == 4", true, typeof( JsonElement ) )]
[DataRow( "length(@.store.book) == 4", true, typeof( JsonElement ) )]
@@ -146,7 +146,7 @@ public void MatchExpectedResult_WhenUsingFunctions( string filter, bool expected
Assert.AreEqual( expected, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "length(@.store.book) == 4 ", true, typeof( JsonElement ) )]
[DataRow( " length(@.store.book) == 4", true, typeof( JsonElement ) )]
[DataRow( " length(@.store.book) == 4 ", true, typeof( JsonElement ) )]
@@ -164,15 +164,15 @@ public void MatchExpectedResult_WhenHasExtraSpaces( string filter, bool expected
Assert.AreEqual( expected, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "4 == length ( @.store.book )", typeof( JsonElement ) )]
[DataRow( "length (@.store.book) == 4", typeof( JsonElement ) )]
public void Fail_WhenHasInvalidWhitespace( string filter, Type sourceType )
{
- Assert.ThrowsException( () => CompileAndExecuteFilter( filter, sourceType ) );
+ Assert.ThrowsExactly( () => CompileAndExecuteFilter( filter, sourceType ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "unknown_literal", typeof( JsonElement ) )]
[DataRow( "'unbalanced string\"", typeof( JsonElement ) )]
[DataRow( " \t ", typeof( JsonElement ) )]
diff --git a/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs b/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs
index 2595a643..6b830465 100644
--- a/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Parser/ValueTypeComparerTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Parser;
[TestClass]
public class NodeTypeComparerTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( true, true, true )]
[DataRow( false, false, true )]
[DataRow( false, true, false )]
@@ -36,7 +36,7 @@ public void Compare_WithEqualResults( object left, object right, bool areEqual )
Assert.AreEqual( areEqual, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( true, true, true )]
[DataRow( false, false, true )]
[DataRow( false, true, false )]
@@ -59,7 +59,7 @@ public void Compare_WithGreaterResults( object left, object right, bool areEqual
Assert.AreEqual( areEqual, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( """{ "value": 1 }""", 99F, false )]
[DataRow( """{ "value": 99 }""", 99F, true )]
[DataRow( """{ "value": "hello" }""", "world", false )]
@@ -79,7 +79,7 @@ public void Compare_WithJsonObjectResults( string left, object right, bool areEq
Assert.AreEqual( areEqual, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( """[1,2,3]""", 2F, true )]
[DataRow( """["hello","hi","world" ]""", "hi", true )]
[DataRow( """[1,2,3]""", 99F, false )]
@@ -98,7 +98,7 @@ public void Compare_WithLeftJsonArray( string left, object right, bool areEqual
Assert.AreEqual( areEqual, result );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( 2F, """[1,2,3]""", true )]
[DataRow( "hi", """["hello","hi","world" ]""", true )]
[DataRow( 99F, """[1,2,3]""", false )]
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathArrayTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathArrayTests.cs
index 667881e0..183d7e5c 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathArrayTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathArrayTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathArrayTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[1:3]", typeof( JsonDocument ) )]
[DataRow( "$[1:3]", typeof( JsonNode ) )]
public void ArraySlice( string query, Type sourceType )
@@ -38,7 +38,7 @@ public void ArraySlice( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:5]", typeof( JsonDocument ) )]
[DataRow( "$[0:5]", typeof( JsonNode ) )]
public void ArraySliceOnExactMatch( string query, Type sourceType )
@@ -69,7 +69,7 @@ public void ArraySliceOnExactMatch( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[7:10]", typeof( JsonDocument ) )]
[DataRow( "$[7:10]", typeof( JsonNode ) )]
public void ArraySliceOnNonOverlappingArray( string query, Type sourceType )
@@ -93,7 +93,7 @@ public void ArraySliceOnNonOverlappingArray( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[1:3]", typeof( JsonDocument ) )]
[DataRow( "$[1:3]", typeof( JsonNode ) )]
public void ArraySliceOnObject( string query, Type sourceType )
@@ -118,7 +118,7 @@ public void ArraySliceOnObject( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[1:10]", typeof( JsonDocument ) )]
[DataRow( "$[1:10]", typeof( JsonNode ) )]
public void ArraySliceOnPartiallyOverlappingArray( string query, Type sourceType )
@@ -144,7 +144,7 @@ public void ArraySliceOnPartiallyOverlappingArray( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[2:113667776004]", typeof( JsonDocument ) )]
[DataRow( "$[2:113667776004]", typeof( JsonNode ) )]
public void ArraySliceWithLargeNumberForEnd( string query, Type sourceType )
@@ -173,7 +173,7 @@ public void ArraySliceWithLargeNumberForEnd( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[2:-113667776004:-1]", typeof( JsonDocument ) )]
[DataRow( "$[2:-113667776004:-1]", typeof( JsonNode ) )]
public void ArraySliceWithLargeNumberForEndAndNegativeStep( string query, Type sourceType )
@@ -203,7 +203,7 @@ public void ArraySliceWithLargeNumberForEndAndNegativeStep( string query, Type s
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-113667776004:2]", typeof( JsonDocument ) )]
[DataRow( "$[-113667776004:2]", typeof( JsonNode ) )]
public void ArraySliceWithLargeNumberForStart( string query, Type sourceType )
@@ -231,7 +231,7 @@ public void ArraySliceWithLargeNumberForStart( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[113667776004:2:-1]", typeof( JsonDocument ) )]
[DataRow( "$[113667776004:2:-1]", typeof( JsonNode ) )]
public void ArraySliceWithLargeNumberForStartAndNegativeStep( string query, Type sourceType )
@@ -260,7 +260,7 @@ public void ArraySliceWithLargeNumberForStartAndNegativeStep( string query, Type
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-4:-5]", typeof( JsonDocument ) )]
[DataRow( "$[-4:-5]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStartAndEndAndRangeOfNegative1( string query, Type sourceType )
@@ -285,7 +285,7 @@ public void ArraySliceWithNegativeStartAndEndAndRangeOfNegative1( string query,
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-4:-4]", typeof( JsonDocument ) )]
[DataRow( "$[-4:-4]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStartAndEndAndRangeOf0( string query, Type sourceType )
@@ -310,7 +310,7 @@ public void ArraySliceWithNegativeStartAndEndAndRangeOf0( string query, Type sou
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-4:-3]", typeof( JsonDocument ) )]
[DataRow( "$[-4:-3]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStartAndEndAndRangeOf1( string query, Type sourceType )
@@ -340,7 +340,7 @@ public void ArraySliceWithNegativeStartAndEndAndRangeOf1( string query, Type sou
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-4:1]", typeof( JsonDocument ) )]
[DataRow( "$[-4:1]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStartAndPositiveEndAndRangeOfNegative1( string query, Type sourceType )
@@ -365,7 +365,7 @@ public void ArraySliceWithNegativeStartAndPositiveEndAndRangeOfNegative1( string
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-4:2]", typeof( JsonDocument ) )]
[DataRow( "$[-4:2]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStartAndPositiveEndAndRangeOf0( string query, Type sourceType )
@@ -390,7 +390,7 @@ public void ArraySliceWithNegativeStartAndPositiveEndAndRangeOf0( string query,
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-4:3]", typeof( JsonDocument ) )]
[DataRow( "$[-4:3]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStartAndPositiveEndAndRangeOf1( string query, Type sourceType )
@@ -418,7 +418,7 @@ public void ArraySliceWithNegativeStartAndPositiveEndAndRangeOf1( string query,
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[3:0:-2]", typeof( JsonDocument ) )]
[DataRow( "$[3:0:-2]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStep( string query, Type sourceType )
@@ -447,7 +447,7 @@ public void ArraySliceWithNegativeStep( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:3:-2]", typeof( JsonDocument ) )]
[DataRow( "$[0:3:-2]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStepAndStartGreaterThanEnd( string query, Type sourceType )
@@ -472,7 +472,7 @@ public void ArraySliceWithNegativeStepAndStartGreaterThanEnd( string query, Type
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[7:3:-1]", typeof( JsonDocument ) )]
[DataRow( "$[7:3:-1]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStepOnPartiallyOverlappingArray( string query, Type sourceType )
@@ -500,7 +500,7 @@ public void ArraySliceWithNegativeStepOnPartiallyOverlappingArray( string query,
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[::-2]", typeof( JsonDocument ) )]
[DataRow( "$[::-2]", typeof( JsonNode ) )]
public void ArraySliceWithNegativeStepOnly( string query, Type sourceType )
@@ -530,7 +530,7 @@ public void ArraySliceWithNegativeStepOnly( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[1:]", typeof( JsonDocument ) )]
[DataRow( "$[1:]", typeof( JsonNode ) )]
public void ArraySliceWithOpenEnd( string query, Type sourceType )
@@ -560,7 +560,7 @@ public void ArraySliceWithOpenEnd( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[3::-1]", typeof( JsonDocument ) )]
[DataRow( "$[3::-1]", typeof( JsonNode ) )]
public void ArraySliceWithOpenEndAndNegativeStep( string query, Type sourceType )
@@ -591,7 +591,7 @@ public void ArraySliceWithOpenEndAndNegativeStep( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[:2]", typeof( JsonDocument ) )]
[DataRow( "$[:2]", typeof( JsonNode ) )]
public void ArraySliceWithOpenStart( string query, Type sourceType )
@@ -619,7 +619,7 @@ public void ArraySliceWithOpenStart( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[::]", typeof( JsonDocument ) )]
[DataRow( "$[::]", typeof( JsonNode ) )]
public void ArraySliceWithOpenStartAndEndAndStepEmpty( string query, Type sourceType )
@@ -644,7 +644,7 @@ public void ArraySliceWithOpenStartAndEndAndStepEmpty( string query, Type source
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[:]", typeof( JsonDocument ) )]
[DataRow( "$[:]", typeof( JsonNode ) )]
public void ArraySliceWithOpenStartAndEndOnObject( string query, Type sourceType )
@@ -665,7 +665,7 @@ public void ArraySliceWithOpenStartAndEndOnObject( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[:2:-1]", typeof( JsonDocument ) )]
[DataRow( "$[:2:-1]", typeof( JsonNode ) )]
public void ArraySliceWithOpenStartAndNegativeStep( string query, Type sourceType )
@@ -694,7 +694,7 @@ public void ArraySliceWithOpenStartAndNegativeStep( string query, Type sourceTyp
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[3:-4]", typeof( JsonDocument ) )]
[DataRow( "$[3:-4]", typeof( JsonNode ) )]
public void ArraySliceWithPositiveStartAndNegativeEndAndRangeOfNegative1( string query, Type sourceType )
@@ -719,7 +719,7 @@ public void ArraySliceWithPositiveStartAndNegativeEndAndRangeOfNegative1( string
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[3:-3]", typeof( JsonDocument ) )]
[DataRow( "$[3:-3]", typeof( JsonNode ) )]
public void ArraySliceWithPositiveStartAndNegativeEndAndRangeOf0( string query, Type sourceType )
@@ -744,7 +744,7 @@ public void ArraySliceWithPositiveStartAndNegativeEndAndRangeOf0( string query,
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[3:-2]", typeof( JsonDocument ) )]
[DataRow( "$[3:-2]", typeof( JsonNode ) )]
public void ArraySliceWithPositiveStartAndNegativeEndAndRangeOf1( string query, Type sourceType )
@@ -772,7 +772,7 @@ public void ArraySliceWithPositiveStartAndNegativeEndAndRangeOf1( string query,
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[2:1]", typeof( JsonDocument ) )]
[DataRow( "$[2:1]", typeof( JsonNode ) )]
public void ArraySliceWithRangeOfNegative1( string query, Type sourceType )
@@ -795,7 +795,7 @@ public void ArraySliceWithRangeOfNegative1( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:0]", typeof( JsonDocument ) )]
[DataRow( "$[0:0]", typeof( JsonNode ) )]
public void ArraySliceWithRangeOf0( string query, Type sourceType )
@@ -816,7 +816,7 @@ public void ArraySliceWithRangeOf0( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:1]", typeof( JsonDocument ) )]
[DataRow( "$[0:1]", typeof( JsonNode ) )]
public void ArraySliceWithRangeOf1( string query, Type sourceType )
@@ -840,7 +840,7 @@ public void ArraySliceWithRangeOf1( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-1:]", typeof( JsonDocument ) )]
[DataRow( "$[-1:]", typeof( JsonNode ) )]
public void ArraySliceWithStartNegative1AndOpenEnd( string query, Type sourceType )
@@ -865,7 +865,7 @@ public void ArraySliceWithStartNegative1AndOpenEnd( string query, Type sourceTyp
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-2:]", typeof( JsonDocument ) )]
[DataRow( "$[-2:]", typeof( JsonNode ) )]
public void ArraySliceWithStartMinus2AndOpenEnd( string query, Type sourceType )
@@ -891,7 +891,7 @@ public void ArraySliceWithStartMinus2AndOpenEnd( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-4:]", typeof( JsonDocument ) )]
[DataRow( "$[-4:]", typeof( JsonNode ) )]
public void ArraySliceWithStartLargeNegativeNumberAndOpenEndOnShortArray( string query, Type sourceType )
@@ -918,7 +918,7 @@ public void ArraySliceWithStartLargeNegativeNumberAndOpenEndOnShortArray( string
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:3:2]", typeof( JsonDocument ) )]
[DataRow( "$[0:3:2]", typeof( JsonNode ) )]
public void ArraySliceWithStep( string query, Type sourceType )
@@ -946,7 +946,7 @@ public void ArraySliceWithStep( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:3:0]", typeof( JsonDocument ) )]
[DataRow( "$[0:3:0]", typeof( JsonNode ) )]
public void ArraySliceWithStep0( string query, Type sourceType )
@@ -971,7 +971,7 @@ public void ArraySliceWithStep0( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:3:1]", typeof( JsonDocument ) )]
[DataRow( "$[0:3:1]", typeof( JsonNode ) )]
public void ArraySliceWithStep1( string query, Type sourceType )
@@ -1000,7 +1000,7 @@ public void ArraySliceWithStep1( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:4:2]", typeof( JsonDocument ) )]
[DataRow( "$[0:4:2]", typeof( JsonNode ) )]
public void ArraySliceWithStepButEndNotAligned( string query, Type sourceType )
@@ -1028,7 +1028,7 @@ public void ArraySliceWithStepButEndNotAligned( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[1:3:]", typeof( JsonDocument ) )]
[DataRow( "$[1:3:]", typeof( JsonNode ) )]
public void ArraySliceWithStepEmpty( string query, Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs
index 1bdef531..d1105c8d 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreSelectPathTests.cs
@@ -9,7 +9,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathBookstoreSelectPathTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.store.book[*].author" )]
public void TheAuthorsOfAllBooksInTheStore( string query )
{
@@ -28,7 +28,7 @@ public void TheAuthorsOfAllBooksInTheStore( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..author" )]
public void AllAuthors( string query )
{
@@ -47,7 +47,7 @@ public void AllAuthors( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.store.*" )]
public void AllThingsInStoreWhichAreSomeBooksAndOneRedBicycle( string query )
{
@@ -64,7 +64,7 @@ public void AllThingsInStoreWhichAreSomeBooksAndOneRedBicycle( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.store..price" )]
public void ThePriceOfEverythingInTheStore( string query )
{
@@ -84,7 +84,7 @@ public void ThePriceOfEverythingInTheStore( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[2]" )]
public void TheThirdBook( string query )
{
@@ -98,7 +98,7 @@ public void TheThirdBook( string query )
Assert.AreEqual( expected.Path, match[0].Path );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[-1:]" )]
public void TheLastBookInOrder( string query )
{
@@ -111,7 +111,7 @@ public void TheLastBookInOrder( string query )
Assert.AreEqual( expected.Path, match.Path );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[:2]" )]
[DataRow( "$..book[0,1]" )]
[DataRow( "$.store.book[0,1]" )]
@@ -130,7 +130,7 @@ public void TheFirstTwoBooks( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book['category','author']" )]
public void TheCategoriesAndAuthorsOfAllBooks( string query )
{
@@ -153,7 +153,7 @@ public void TheCategoriesAndAuthorsOfAllBooks( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[?@.isbn]" )]
[DataRow( "$..book[?(@.isbn)]" )]
public void FilterAllBooksWithIsbnNumber( string query )
@@ -171,7 +171,7 @@ public void FilterAllBooksWithIsbnNumber( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[?(@.price<10)]" )]
[DataRow( "$..book[?@.price<10]" )]
public void FilterAllBooksCheaperThan10( string query )
@@ -189,7 +189,7 @@ public void FilterAllBooksCheaperThan10( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..*" )]
public void AllMembersOfJsonStructure( string query )
{
@@ -231,7 +231,7 @@ public void AllMembersOfJsonStructure( string query )
Assert.IsTrue( expected.Select( e => e.Path ).SequenceEqual( matches.Select( x => x.Path ) ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( @"$..book[?(@.price == 8.99 && @.category == ""fiction"")]" )]
[DataRow( @"$..book[?@.price == 8.99 && @.category == ""fiction""]" )]
public void FilterAllBooksUsingLogicalAndInScript( string query )
@@ -245,7 +245,7 @@ public void FilterAllBooksUsingLogicalAndInScript( string query )
Assert.AreEqual( expected.Path, match.Path );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( @"$..book[?@.price == 8.99 && (@.category == ""fiction"")]" )]
public void FilterWithUnevenParentheses( string query )
{
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs
index 36312d59..8e03d6c0 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBookstoreTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathBookstoreTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$", typeof( JsonDocument ) )]
[DataRow( "$", typeof( JsonNode ) )]
public void TheRootOfEverything( string query, Type sourceType )
@@ -25,7 +25,7 @@ public void TheRootOfEverything( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.store.book[*].author", typeof( JsonDocument ) )]
[DataRow( "$.store.book[*].author", typeof( JsonNode ) )]
public void TheAuthorsOfAllBooksInTheStore( string query, Type sourceType )
@@ -43,7 +43,7 @@ public void TheAuthorsOfAllBooksInTheStore( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..author", typeof( JsonDocument ) )]
[DataRow( "$..author", typeof( JsonNode ) )]
public void AllAuthors( string query, Type sourceType )
@@ -61,7 +61,7 @@ public void AllAuthors( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.store.*", typeof( JsonDocument ) )]
[DataRow( "$.store.*", typeof( JsonNode ) )]
public void AllThingsInStoreWhichAreSomeBooksAndOneRedBicycle( string query, Type sourceType )
@@ -77,7 +77,7 @@ public void AllThingsInStoreWhichAreSomeBooksAndOneRedBicycle( string query, Typ
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.store..price", typeof( JsonDocument ) )]
[DataRow( "$.store..price", typeof( JsonNode ) )]
public void ThePriceOfEverythingInTheStore( string query, Type sourceType )
@@ -96,7 +96,7 @@ public void ThePriceOfEverythingInTheStore( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[2]", typeof( JsonDocument ) )]
[DataRow( "$..book[2]", typeof( JsonNode ) )]
public void TheThirdBook( string query, Type sourceType )
@@ -109,7 +109,7 @@ public void TheThirdBook( string query, Type sourceType )
Assert.AreEqual( expected, match[0] );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[-1:]", typeof( JsonDocument ) )]
[DataRow( "$..book[-1:]", typeof( JsonNode ) )]
public void TheLastBookInOrder( string query, Type sourceType )
@@ -121,7 +121,7 @@ public void TheLastBookInOrder( string query, Type sourceType )
Assert.AreEqual( expected, match );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[:2]", typeof( JsonDocument ) )]
[DataRow( "$..book[0,1]", typeof( JsonDocument ) )]
[DataRow( "$.store.book[0,1]", typeof( JsonDocument ) )]
@@ -141,7 +141,7 @@ public void TheFirstTwoBooks( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book['category','author']", typeof( JsonDocument ) )]
[DataRow( "$..book['category','author']", typeof( JsonNode ) )]
public void TheCategoriesAndAuthorsOfAllBooks( string query, Type sourceType )
@@ -163,7 +163,7 @@ public void TheCategoriesAndAuthorsOfAllBooks( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[?@.isbn]", typeof( JsonDocument ) )]
[DataRow( "$..book[?@.isbn]", typeof( JsonNode ) )]
[DataRow( "$..book[?(@.isbn)]", typeof( JsonDocument ) )]
@@ -181,7 +181,7 @@ public void FilterAllBooksWithIsbnNumber( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..book[?(@.price<10)]", typeof( JsonDocument ) )]
[DataRow( "$..book[?(@.price<10)]", typeof( JsonNode ) )]
[DataRow( "$..book[?@.price<10]", typeof( JsonDocument ) )]
@@ -199,7 +199,7 @@ public void FilterAllBooksCheaperThan10( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..*", typeof( JsonDocument ) )]
[DataRow( "$..*", typeof( JsonNode ) )]
public void AllMembersOfJsonStructure( string query, Type sourceType )
@@ -240,7 +240,7 @@ public void AllMembersOfJsonStructure( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( @"$..book[?(@.price == 8.99 && @.category == ""fiction"")]", typeof( JsonDocument ) )]
[DataRow( @"$..book[?(@.price == 8.99 && @.category == ""fiction"")]", typeof( JsonNode ) )]
[DataRow( @"$..book[?@.price == 8.99 && @.category == ""fiction""]", typeof( JsonDocument ) )]
@@ -255,7 +255,7 @@ public void FilterAllBooksUsingLogicalAndInScript( string query, Type sourceType
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( @"$..book[?@.price == 8.99 && (@.category == ""fiction"")]", typeof( JsonDocument ) )]
[DataRow( @"$..book[?@.price == 8.99 && (@.category == ""fiction"")]", typeof( JsonNode ) )]
public void FilterWithUnevenParentheses( string query, Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs
index fbf9420f..3f9eecb0 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathBracketNotationTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathBracketNotationTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['key']", typeof( JsonDocument ) )]
[DataRow( "$['key']", typeof( JsonNode ) )]
public void BracketNotation( string query, Type sourceType )
@@ -33,7 +33,7 @@ public void BracketNotation( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..[0]", typeof( JsonDocument ) )]
[DataRow( "$..[0]", typeof( JsonNode ) )]
public void BracketNotationAfterRecursiveDescent( string query, Type sourceType )
@@ -80,7 +80,7 @@ public void BracketNotationAfterRecursiveDescent( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['missing']", typeof( JsonDocument ) )]
[DataRow( "$['missing']", typeof( JsonNode ) )]
public void BracketNotationOnObjectWithoutKey( string query, Type sourceType )
@@ -100,7 +100,7 @@ public void BracketNotationOnObjectWithoutKey( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['ü']", typeof( JsonDocument ) )]
[DataRow( "$['ü']", typeof( JsonNode ) )]
public void BracketNotationWithNFCPathOnNFDKey( string query, Type sourceType )
@@ -120,7 +120,7 @@ public void BracketNotationWithNFCPathOnNFDKey( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['two.some']", typeof( JsonDocument ) )]
[DataRow( "$['two.some']", typeof( JsonNode ) )]
public void BracketNotationWithDot( string query, Type sourceType )
@@ -147,7 +147,7 @@ public void BracketNotationWithDot( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "42" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[\"key\"]", typeof( JsonDocument ) )]
[DataRow( "$[\"key\"]", typeof( JsonNode ) )]
public void BracketNotationWithDoubleQuotes( string query, Type sourceType )
@@ -166,7 +166,7 @@ public void BracketNotationWithDoubleQuotes( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[]", typeof( JsonDocument ) )]
[DataRow( "$[]", typeof( JsonNode ) )]
public void BracketNotationWithEmptyPath( string query, Type sourceType )
@@ -182,13 +182,13 @@ public void BracketNotationWithEmptyPath( string query, Type sourceType )
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
}, "Invalid bracket expression syntax. Bracket expression cannot be empty." );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['']", typeof( JsonDocument ) )]
[DataRow( "$['']", typeof( JsonNode ) )]
public void BracketNotationWithEmptyString( string query, Type sourceType )
@@ -209,7 +209,7 @@ public void BracketNotationWithEmptyString( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[\"\"]", typeof( JsonDocument ) )]
[DataRow( "$[\"\"]", typeof( JsonNode ) )]
public void BracketNotationWithEmptyStringDoubleQuoted( string query, Type sourceType )
@@ -230,7 +230,7 @@ public void BracketNotationWithEmptyStringDoubleQuoted( string query, Type sourc
Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-2]", typeof( JsonDocument ) )]
[DataRow( "$[-2]", typeof( JsonNode ) )]
public void BracketNotationWithNegativeNumberOnShortArray( string query, Type sourceType )
@@ -249,7 +249,7 @@ public void BracketNotationWithNegativeNumberOnShortArray( string query, Type so
Assert.IsTrue( matches.Count == 0 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[2]", typeof( JsonDocument ) )]
[DataRow( "$[2]", typeof( JsonNode ) )]
public void BracketNotationWithNumber( string query, Type sourceType )
@@ -273,7 +273,7 @@ public void BracketNotationWithNumber( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "third" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-1]", typeof( JsonDocument ) )]
[DataRow( "$[-1]", typeof( JsonNode ) )]
public void BracketNotationWithNumberNegative1( string query, Type sourceType )
@@ -295,7 +295,7 @@ public void BracketNotationWithNumberNegative1( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "third" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[-1]", typeof( JsonDocument ) )]
[DataRow( "$[-1]", typeof( JsonNode ) )]
public void BracketNotationWithNumberNegative1OnEmptyArray( string query, Type sourceType )
@@ -311,7 +311,7 @@ public void BracketNotationWithNumberNegative1OnEmptyArray( string query, Type s
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0]", typeof( JsonDocument ) )]
[DataRow( "$[0]", typeof( JsonNode ) )]
public void BracketNotationWithNumber0( string query, Type sourceType )
@@ -335,7 +335,7 @@ public void BracketNotationWithNumber0( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "first" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.*[1]", typeof( JsonDocument ) )]
[DataRow( "$.*[1]", typeof( JsonNode ) )]
public void BracketNotationWithNumberAfterDotNotationWithWildcardOnNestedArraysWithDifferentLength( string query, Type sourceType )
@@ -359,7 +359,7 @@ public void BracketNotationWithNumberAfterDotNotationWithWildcardOnNestedArraysW
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0]", typeof( JsonDocument ) )]
[DataRow( "$[0]", typeof( JsonNode ) )]
public void BracketNotationWithNumberOnObject( string query, Type sourceType )
@@ -379,7 +379,7 @@ public void BracketNotationWithNumberOnObject( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[1]", typeof( JsonDocument ) )]
[DataRow( "$[1]", typeof( JsonNode ) )]
public void BracketNotationWithNumberOnShortArray( string query, Type sourceType )
@@ -399,7 +399,7 @@ public void BracketNotationWithNumberOnShortArray( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[':']", typeof( JsonDocument ) )]
[DataRow( "$[':']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedArraySliceLiteral( string query, Type sourceType )
@@ -420,7 +420,7 @@ public void BracketNotationWithQuotedArraySliceLiteral( string query, Type sourc
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[']']", typeof( JsonDocument ) )]
[DataRow( "$[']']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedClosingBracketLiteral( string query, Type sourceType )
@@ -440,7 +440,7 @@ public void BracketNotationWithQuotedClosingBracketLiteral( string query, Type s
Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['@']", typeof( JsonDocument ) )]
[DataRow( "$['@']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedCurrentObjectLiteral( string query, Type sourceType )
@@ -461,7 +461,7 @@ public void BracketNotationWithQuotedCurrentObjectLiteral( string query, Type so
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['.']", typeof( JsonDocument ) )]
[DataRow( "$['.']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedDotLiteral( string query, Type sourceType )
@@ -485,7 +485,7 @@ public void BracketNotationWithQuotedDotLiteral( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['.*']", typeof( JsonDocument ) )]
[DataRow( "$['.*']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedDotWildcard( string query, Type sourceType )
@@ -510,7 +510,7 @@ public void BracketNotationWithQuotedDotWildcard( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( @"$['\\']", typeof( JsonDocument ) )]
[DataRow( @"$['\\']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedEscapedBackslash( string query, Type sourceType )
@@ -534,7 +534,7 @@ public void BracketNotationWithQuotedEscapedBackslash( string query, Type source
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['\\'']", typeof( JsonDocument ) )]
[DataRow( "$['\\'']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedEscapedSingleQuote( string query, Type sourceType )
@@ -555,7 +555,7 @@ public void BracketNotationWithQuotedEscapedSingleQuote( string query, Type sour
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['0']", typeof( JsonDocument ) )]
[DataRow( "$['0']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedNumberOnObject( string query, Type sourceType )
@@ -578,7 +578,7 @@ public void BracketNotationWithQuotedNumberOnObject( string query, Type sourceTy
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['$']", typeof( JsonDocument ) )]
[DataRow( "$['$']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedRootLiteral( string query, Type sourceType )
@@ -602,7 +602,7 @@ public void BracketNotationWithQuotedRootLiteral( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( """$[':@."$,*\'\\']""", typeof( JsonDocument ) )]
[DataRow( """$[':@."$,*\'\\']""", typeof( JsonNode ) )]
public void BracketNotationWithQuotedSpecialCharactersCombined( string query, Type sourceType )
@@ -623,7 +623,7 @@ public void BracketNotationWithQuotedSpecialCharactersCombined( string query, Ty
Assert.IsTrue( TestHelper.GetInt32( matches[0] ) == 42 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['single'quote']", typeof( JsonDocument ) )]
[DataRow( "$['single'quote']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedStringAndUnescapedSingleQuote( string query, Type sourceType )
@@ -637,13 +637,13 @@ public void BracketNotationWithQuotedStringAndUnescapedSingleQuote( string query
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
} );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[',']", typeof( JsonDocument ) )]
[DataRow( "$[',']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedUnionLiteral( string query, Type sourceType )
@@ -667,7 +667,7 @@ public void BracketNotationWithQuotedUnionLiteral( string query, Type sourceType
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['*']", typeof( JsonDocument ) )]
[DataRow( "$['*']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedWildcardLiteral( string query, Type sourceType )
@@ -691,7 +691,7 @@ public void BracketNotationWithQuotedWildcardLiteral( string query, Type sourceT
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['*']", typeof( JsonDocument ) )]
[DataRow( "$['*']", typeof( JsonNode ) )]
public void BracketNotationWithQuotedWildcardLiteralOnObjectWithoutKey( string query, Type sourceType )
@@ -711,7 +711,7 @@ public void BracketNotationWithQuotedWildcardLiteralOnObjectWithoutKey( string q
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[ 'a' ]", typeof( JsonDocument ) )]
[DataRow( "$[ 'a' ]", typeof( JsonNode ) )]
public void BracketNotationWithSpaces( string query, Type sourceType )
@@ -742,7 +742,7 @@ public void BracketNotationWithSpaces( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['ni.*']", typeof( JsonDocument ) )]
[DataRow( "$['ni.*']", typeof( JsonNode ) )]
public void BracketNotationWithStringIncludingDotWildcard( string query, Type sourceType )
@@ -767,7 +767,7 @@ public void BracketNotationWithStringIncludingDotWildcard( string query, Type so
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['two'.'some']", typeof( JsonDocument ) )]
[DataRow( "$['two'.'some']", typeof( JsonNode ) )]
public void BracketNotationWithTwoLiteralsSeparatedByDot( string query, Type sourceType )
@@ -789,13 +789,13 @@ public void BracketNotationWithTwoLiteralsSeparatedByDot( string query, Type sou
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
} );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[two.some]", typeof( JsonDocument ) )]
[DataRow( "$[two.some]", typeof( JsonNode ) )]
public void BracketNotationWithTwoLiteralsSeparatedByDotWithoutQuotes( string query, Type sourceType )
@@ -816,13 +816,13 @@ public void BracketNotationWithTwoLiteralsSeparatedByDotWithoutQuotes( string qu
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
} );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0:2][*]", typeof( JsonDocument ) )]
[DataRow( "$[0:2][*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardAfterArraySlice( string query, Type sourceType )
@@ -854,7 +854,7 @@ public void BracketNotationWithWildcardAfterArraySlice( string query, Type sourc
Assert.IsTrue( TestHelper.GetString( matches[3] ) == "b" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[*].bar[*]", typeof( JsonDocument ) )]
[DataRow( "$[*].bar[*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardAfterDotNotationAfterBracketNotationWithWildcard( string query, Type sourceType )
@@ -879,7 +879,7 @@ public void BracketNotationWithWildcardAfterDotNotationAfterBracketNotationWithW
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..[*]", typeof( JsonDocument ) )]
[DataRow( "$..[*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardAfterRecursiveDescent( string query, Type sourceType )
@@ -918,7 +918,7 @@ public void BracketNotationWithWildcardAfterRecursiveDescent( string query, Type
Assert.IsTrue( TestHelper.GetInt32( matches[5] ) == 1 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[*]", typeof( JsonDocument ) )]
[DataRow( "$[*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardOnArray( string query, Type sourceType )
@@ -949,7 +949,7 @@ public void BracketNotationWithWildcardOnArray( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[*]", typeof( JsonDocument ) )]
[DataRow( "$[*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardOnEmptyArray( string query, Type sourceType )
@@ -965,7 +965,7 @@ public void BracketNotationWithWildcardOnEmptyArray( string query, Type sourceTy
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[*]", typeof( JsonDocument ) )]
[DataRow( "$[*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardOnEmptyObject( string query, Type sourceType )
@@ -981,7 +981,7 @@ public void BracketNotationWithWildcardOnEmptyObject( string query, Type sourceT
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[*]", typeof( JsonDocument ) )]
[DataRow( "$[*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardOnNullValueArray( string query, Type sourceType )
@@ -1008,7 +1008,7 @@ public void BracketNotationWithWildcardOnNullValueArray( string query, Type sour
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[*]", typeof( JsonDocument ) )]
[DataRow( "$[*]", typeof( JsonNode ) )]
public void BracketNotationWithWildcardOnObject( string query, Type sourceType )
@@ -1040,7 +1040,7 @@ public void BracketNotationWithWildcardOnObject( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[key]", typeof( JsonDocument ) )]
[DataRow( "$[key]", typeof( JsonNode ) )]
public void BracketNotationWithoutQuotes( string query, Type sourceType )
@@ -1054,7 +1054,7 @@ public void BracketNotationWithoutQuotes( string query, Type sourceType )
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
} );
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathDescentTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathDescentTests.cs
index 01133ebf..7a8c0e9d 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathDescentTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathDescentTests.cs
@@ -10,10 +10,9 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathDescentTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..", typeof( JsonDocument ) )]
[DataRow( "$..", typeof( JsonNode ) )]
- [ExpectedException( typeof( NotSupportedException ) )]
public void Descent( string query, Type sourceType )
{
// consensus: none
@@ -27,10 +26,10 @@ public void Descent( string query, Type sourceType )
var source = GetDocumentAdapter( sourceType, json );
- _ = source.Select( query ).ToList();
+ Assert.ThrowsExactly( () => _ = source.Select( query ).ToList() );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..*", typeof( JsonDocument ) )]
[DataRow( "$..*", typeof( JsonNode ) )]
public void DescentOnNestedArrays( string query, Type sourceType )
@@ -56,10 +55,9 @@ public void DescentOnNestedArrays( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.key..", typeof( JsonDocument ) )]
[DataRow( "$.key..", typeof( JsonNode ) )]
- [ExpectedException( typeof( NotSupportedException ) )]
public void DescentAfterDotNotation( string query, Type sourceType )
{
// consensus: NOT_SUPPORTED
@@ -76,10 +74,10 @@ public void DescentAfterDotNotation( string query, Type sourceType )
var source = GetDocumentAdapter( sourceType, json );
- _ = source.Select( query ).ToList();
+ Assert.ThrowsExactly( () => _ = source.Select( query ).ToList() );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..[1].key", typeof( JsonDocument ) )]
[DataRow( "$..[1].key", typeof( JsonNode ) )]
public void DotNotationAfterBracketNotationAfterDescent( string query, Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathDotNotationTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathDotNotationTests.cs
index 4cb9db68..ee6d8328 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathDotNotationTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathDotNotationTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathDotNotationTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.[key]", typeof( JsonDocument ) )]
[DataRow( "$.[key]", typeof( JsonNode ) )]
public void DotBracketNotationWithoutQuotes( string query, Type sourceType )
@@ -29,13 +29,13 @@ public void DotBracketNotationWithoutQuotes( string query, Type sourceType )
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
} );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.", typeof( JsonDocument ) )]
[DataRow( "$.", typeof( JsonNode ) )]
public void DotBracketNotationWithEmptyPath( string query, Type sourceType )
@@ -49,13 +49,13 @@ public void DotBracketNotationWithEmptyPath( string query, Type sourceType )
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
} );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.屬性", typeof( JsonDocument ) )]
[DataRow( "$.屬性", typeof( JsonNode ) )]
public void DotNotationWithNonAsciiKey( string query, Type sourceType )
@@ -79,7 +79,7 @@ public void DotNotationWithNonAsciiKey( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetString( matches[0] ) == "value" );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$a", typeof( JsonDocument ) )]
[DataRow( "$a", typeof( JsonNode ) )]
public void DotNotationWithoutDot( string query, Type sourceType )
@@ -92,7 +92,7 @@ public void DotNotationWithoutDot( string query, Type sourceType )
""";
var source = GetDocumentAdapter( sourceType, json );
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
_ = source.Select( query ).ToList();
} );
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathFilterExpressionTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathFilterExpressionTests.cs
index 851d8a2d..8692a430 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathFilterExpressionTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathFilterExpressionTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathFilterExpressionTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.key)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.key)]", typeof( JsonNode ) )]
[DataRow( "$[? @.key]", typeof( JsonDocument ) )]
@@ -32,7 +32,7 @@ public void FilterExpressionWithArrayTruthyProperty( string query, Type sourceTy
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.key)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.key)]", typeof( JsonNode ) )]
public void FilterExpressionWithTruthyProperty( string query, Type sourceType )
@@ -54,7 +54,7 @@ public void FilterExpressionWithTruthyProperty( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.key<42)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.key<42)]", typeof( JsonNode ) )]
[DataRow( "$[?@.key < 42]", typeof( JsonDocument ) )]
@@ -84,7 +84,7 @@ public void FilterExpressionWithLessThan( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..*[?(@.id>2)]", typeof( JsonDocument ) )]
[DataRow( "$..*[?(@.id>2)]", typeof( JsonNode ) )]
public void FilterExpressionAfterDoNotationWithWildcardAfterRecursiveDecent( string query, Type sourceType )
@@ -140,7 +140,7 @@ public void FilterExpressionAfterDoNotationWithWildcardAfterRecursiveDecent( str
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.a && (@.b || @.c))]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.a && (@.b || @.c))]", typeof( JsonNode ) )]
public void FilterExpressionWithDifferentGroupedOperators( string query, Type sourceType )
@@ -189,7 +189,7 @@ public void FilterExpressionWithDifferentGroupedOperators( string query, Type so
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.a && @.b || @.c)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.a && @.b || @.c)]", typeof( JsonNode ) )]
public void FilterExpressionWithDifferentUngroupedOperators( string query, Type sourceType )
@@ -239,7 +239,7 @@ public void FilterExpressionWithDifferentUngroupedOperators( string query, Type
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.d == [\"v1\", \"v2\"])]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.d == [\"v1\", \"v2\"])]", typeof( JsonNode ) )]
public void FilterExpressionWithEqualsArray( string query, Type sourceType )
@@ -309,10 +309,9 @@ public void FilterExpressionWithEqualsArray( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@[0:1]==[1])]", typeof( JsonDocument ) )]
[DataRow( "$[?(@[0:1]==[1])]", typeof( JsonNode ) )]
- [ExpectedException( typeof( NotSupportedException ) )]
public void FilterExpressionWithEqualsArrayForSliceWithRange1( string query, Type sourceType )
{
// consensus: NOT_SUPPORTED
@@ -329,13 +328,12 @@ public void FilterExpressionWithEqualsArrayForSliceWithRange1( string query, Typ
""";
var source = GetDocumentAdapter( sourceType, json );
- _ = source.Select( query ).ToArray();
+ Assert.ThrowsExactly( () => _ = source.Select( query ).ToArray() );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.*==[1,2])]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.*==[1,2])]", typeof( JsonNode ) )]
- [ExpectedException( typeof( NotSupportedException ) )]
public void FilterExpressionWithEqualsArrayForDotNotationWithStart( string query, Type sourceType )
{
// consensus: NOT_SUPPORTED
@@ -356,10 +354,10 @@ public void FilterExpressionWithEqualsArrayForDotNotationWithStart( string query
var source = GetDocumentAdapter( sourceType, json );
- _ = source.Select( query ).ToArray();
+ Assert.ThrowsExactly( () => _ = source.Select( query ).ToArray() );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.d==[\"v1\",\"v2\"] || (@.d == true))]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.d==[\"v1\",\"v2\"] || (@.d == true))]", typeof( JsonNode ) )]
public void FilterExpressionWithEqualsArrayOrEqualsTrue( string query, Type sourceType )
@@ -384,7 +382,7 @@ public void FilterExpressionWithEqualsArrayOrEqualsTrue( string query, Type sour
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?((@.key<44)==false)]", typeof( JsonDocument ) )]
[DataRow( "$[?((@.key<44)==false)]", typeof( JsonNode ) )]
public void FilterExpressionWithEqualsBooleanExpressionValue( string query, Type sourceType )
@@ -409,7 +407,7 @@ public void FilterExpressionWithEqualsBooleanExpressionValue( string query, Type
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.key==false)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.key==false)]", typeof( JsonNode ) )]
public void FilterExpressionWithEqualsFalse( string query, Type sourceType )
@@ -467,7 +465,7 @@ public void FilterExpressionWithEqualsFalse( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.key==null)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.key==null)]", typeof( JsonNode ) )]
public void FilterExpressionWithEqualsNull( string query, Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs
index 2eb7b256..9c02a0b7 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathInOperationsTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathInOperationsTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.value in [1, 42, 100])]", "$[0]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.value in [1, 42, 100])]", "$[0]", typeof( JsonNode ) )]
[DataRow( "$[?(@.value in ['a', 'b', 'c'])]", "$[1]", typeof( JsonDocument ) )]
@@ -39,7 +39,7 @@ public void InOperation_SingleValue( string query, string expect, Type sourceTyp
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.values in [1, 2, 3])]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.values in [1, 2, 3])]", typeof( JsonNode ) )]
[DataRow( "$[?(@.values in ['x', 'y', 'z'])]", typeof( JsonDocument ) )]
@@ -63,7 +63,7 @@ public void InOperation_ArrayValueIsNotAnArrayElement( string query, Type source
Assert.AreEqual( 0, matches.Count );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.values in [1, [1,2,3], 3])]", "$[0]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.values in [1, [1,2,3], 3])]", "$[0]", typeof( JsonNode ) )]
[DataRow( "$[?(@.values in ['x', ['x','y','z'], 'z'])]", "$[1]", typeof( JsonDocument ) )]
@@ -89,7 +89,7 @@ public void InOperation_ArrayValueIsAnArrayElement( string query, string expect,
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.a in [1, 2, 3] && @.b in [4, 5, 6])]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.a in [1, 2, 3] && @.b in [4, 5, 6])]", typeof( JsonNode ) )]
public void InOperation_MultipleConditions( string query, Type sourceType )
@@ -119,7 +119,7 @@ public void InOperation_MultipleConditions( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.array in [1, 2, 3])]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.array in [1, 2, 3])]", typeof( JsonNode ) )]
public void InOperation_ArrayNotAnArrayElement( string query, Type sourceType )
@@ -141,7 +141,7 @@ public void InOperation_ArrayNotAnArrayElement( string query, Type sourceType )
Assert.AreEqual( 0, matches.Count );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.array in [1, [1,2], 3])]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.array in [1, [1,2], 3])]", typeof( JsonNode ) )]
public void InOperation_ArrayIsArrayElement( string query, Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs
index 52676339..0500d91b 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathMathOperationsTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathMathOperationsTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.value + 1 == 43)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.value + 1 == 43)]", typeof( JsonNode ) )]
[DataRow( "$[?(@.value - 1 == 41)]", typeof( JsonDocument ) )]
@@ -42,7 +42,7 @@ public void MathOperations( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.a + @.b == 3)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.a + @.b == 3)]", typeof( JsonNode ) )]
[DataRow( "$[?(@.a - @.b == -1)]", typeof( JsonDocument ) )]
@@ -73,7 +73,7 @@ public void MathOperationsWithMultipleKeys( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.array[0] + @.array[1] == 3)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.array[0] + @.array[1] == 3)]", typeof( JsonNode ) )]
[DataRow( "$[?(@.array[2] - @.array[1] == 1)]", typeof( JsonDocument ) )]
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathRootOnScalarTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathRootOnScalarTests.cs
index 6cfacdd3..631d90ca 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathRootOnScalarTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathRootOnScalarTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathRootOnScalarTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$", typeof( JsonDocument ) )]
[DataRow( "$", typeof( JsonNode ) )]
public void RootOnScalar( string query, Type sourceType )
@@ -30,7 +30,7 @@ public void RootOnScalar( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetInt32( matches.First() ) == 42 );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$", typeof( JsonDocument ) )]
[DataRow( "$", typeof( JsonNode ) )]
public void RootOnScalarFalse( string query, Type sourceType )
@@ -48,7 +48,7 @@ public void RootOnScalarFalse( string query, Type sourceType )
Assert.IsTrue( TestHelper.GetBoolean( matches.First() ) == false );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$", typeof( JsonDocument ) )]
[DataRow( "$", typeof( JsonNode ) )]
public void RootOnScalarTrue( string query, Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Path/Query/JsonPathUnionTests.cs b/test/Hyperbee.Json.Tests/Path/Query/JsonPathUnionTests.cs
index 54cf82c2..c2df6783 100644
--- a/test/Hyperbee.Json.Tests/Path/Query/JsonPathUnionTests.cs
+++ b/test/Hyperbee.Json.Tests/Path/Query/JsonPathUnionTests.cs
@@ -10,7 +10,7 @@ namespace Hyperbee.Json.Tests.Path.Query;
[TestClass]
public class JsonPathUnionTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[0,0]", typeof( JsonDocument ) )]
[DataRow( "$[0,0]", typeof( JsonNode ) )]
public void UnionWithDuplicationFromArray( string query, Type sourceType )
@@ -34,7 +34,7 @@ public void UnionWithDuplicationFromArray( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['a','a']", typeof( JsonDocument ) )]
[DataRow( "$['a','a']", typeof( JsonNode ) )]
public void UnionWithDuplicationFromObject( string query, Type sourceType )
@@ -58,7 +58,7 @@ public void UnionWithDuplicationFromObject( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$[?(@.key<3),?(@.key>6)]", typeof( JsonDocument ) )]
[DataRow( "$[?(@.key<3),?(@.key>6)]", typeof( JsonNode ) )]
[DataRow( "$[?@.key<3,?@.key>6]", typeof( JsonDocument ) )]
@@ -95,7 +95,7 @@ public void UnionWithFilter( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['key','another']", typeof( JsonDocument ) )]
[DataRow( "$['key','another']", typeof( JsonNode ) )]
public void UnionWithKeys( string query, Type sourceType )
@@ -120,7 +120,7 @@ public void UnionWithKeys( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['key','another','thing1']", typeof( JsonDocument ) )]
[DataRow( "$['key','another','thing1']", typeof( JsonNode ) )]
public void UnionWithMultipleKeys( string query, Type sourceType )
@@ -147,7 +147,7 @@ public void UnionWithMultipleKeys( string query, Type sourceType )
Assert.IsTrue( expected.SequenceEqual( matches ) );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$..['c','d']", typeof( JsonDocument ) )]
[DataRow( "$..['c','d']", typeof( JsonNode ) )]
public void UnionWithKeysAfterRecursiveDescent( string query, Type sourceType )
diff --git a/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerConverterTests.cs b/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerConverterTests.cs
index 111badaf..0fd54c71 100644
--- a/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerConverterTests.cs
+++ b/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerConverterTests.cs
@@ -7,7 +7,7 @@ namespace Hyperbee.Json.Tests.Pointer;
[TestClass]
public class JsonPathPointerConverterTests
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$['store'].book[0].title", "#/store/book/0/title", true )]
[DataRow( "$['store'].book[0].title", "/store/book/0/title", false )]
[DataRow( "$.store.book[0].title", "#/store/book/0/title", true )]
@@ -42,7 +42,7 @@ public void TestConvertJsonPathToJsonPointer( string jsonPath, string expected,
Assert.AreEqual( expected, jsonPointer );
}
- [DataTestMethod]
+ [TestMethod]
[DataRow( "/store/book/0/title", "$.store.book[0].title" )]
[DataRow( "#/store/book/0/title", "$.store.book[0].title" )]
[DataRow( "/", "$" )]
diff --git a/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerTests.cs b/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerTests.cs
index 342ace0b..c65f84b6 100644
--- a/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerTests.cs
+++ b/test/Hyperbee.Json.Tests/Pointer/JsonPathPointerTests.cs
@@ -7,7 +7,7 @@ namespace Hyperbee.Json.Tests.Pointer;
[TestClass]
public class JsonPathPointerTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$.message", "The operation was successful" )]
[DataRow( "$.status", 200 )]
[DataRow( "$.timestamp['$date']", "2021-07-24T20:14:06.613Z" )]
diff --git a/test/Hyperbee.Json.Tests/Pointer/JsonPointerTests.cs b/test/Hyperbee.Json.Tests/Pointer/JsonPointerTests.cs
index c2fd168b..b88626f6 100644
--- a/test/Hyperbee.Json.Tests/Pointer/JsonPointerTests.cs
+++ b/test/Hyperbee.Json.Tests/Pointer/JsonPointerTests.cs
@@ -7,7 +7,7 @@ namespace Hyperbee.Json.Tests.Pointer;
[TestClass]
public class JsonPointerTests : JsonTestBase
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "/message", "The operation was successful" )]
[DataRow( "/status", 200 )]
[DataRow( "/timestamp/$date", "2021-07-24T20:14:06.613Z" )]
diff --git a/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc6901Tests.cs b/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc6901Tests.cs
index e9d226ed..d289b046 100644
--- a/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc6901Tests.cs
+++ b/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc6901Tests.cs
@@ -7,7 +7,7 @@ namespace Hyperbee.Json.Tests.Query;
[TestClass]
public class JsonQueryParserRfc6901Tests
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "/", "[/ => singular]" )]
[DataRow( "/two/some", "[/ => singular][two => singular][some => singular]" )]
[DataRow( "/thing/1:2:3", "[/ => singular][thing => singular][1:2:3 => singular]" )]
diff --git a/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc9535Tests.cs b/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc9535Tests.cs
index d04a3c15..87789ea7 100644
--- a/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc9535Tests.cs
+++ b/test/Hyperbee.Json.Tests/Query/JsonQueryParserRfc9535Tests.cs
@@ -8,7 +8,7 @@ namespace Hyperbee.Json.Tests.Query
[TestClass]
public class JsonQueryParserRfc9535Tests
{
- [DataTestMethod]
+ [TestMethod]
[DataRow( "$", "[$ => singular]" )]
[DataRow( "$.two.some", "[$ => singular][two => singular][some => singular]" )]
[DataRow( "$.thing[1:2:3]", "[$ => singular][thing => singular][1:2:3 => group]" )]
@@ -67,7 +67,7 @@ public void ShouldFilterExpressionWithParentAxisOperator()
// act & assert
const string jsonPath = "$[*].bookmarks[ ? (@.page == 45)]^^^";
- Assert.ThrowsException( () =>
+ Assert.ThrowsExactly( () =>
{
JsonQueryParser.Parse( jsonPath );
} );