12 references to Test
Microsoft.AspNetCore.JsonPatch.Tests (12)
IntegrationTests\AnonymousObjectIntegrationTest.cs (2)
160
patchDocument.
Test
("StringProperty", "A");
177
patchDocument.
Test
("StringProperty", "B");
IntegrationTests\DictionaryIntegrationTest.cs (3)
20
patchDocument.
Test
("/DictionaryOfStringToInteger/two", 2);
150
patchDocument.
Test
($"/DictionaryOfStringToCustomer/{key1}/Name", "James");
165
patchDocument.
Test
($"/DictionaryOfStringToCustomer/{key1}/Name", "Mike");
IntegrationTests\DynamicObjectIntegrationTest.cs (2)
205
patchDocument.
Test
("Property", "A");
222
patchDocument.
Test
("Nested/IntegerList/0", 2);
IntegrationTests\ExpandoObjectIntegrationTest.cs (4)
116
patchDocument.
Test
("Test", 1);
130
patchDocument.
Test
("Test", "");
144
patchDocument.
Test
("Test", "TestValue");
165
patchDocument.
Test
("Test", "TestValue");
IntegrationTests\SimpleObjectIntegrationTest.cs (1)
23
patchDocument.
Test
("DoubleValue", 9.8);