16 writes to StringProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (16)
IntegrationTests\ListIntegrationTest.cs (2)
85
StringProperty
= "String1"
89
StringProperty
= "String2"
IntegrationTests\NestedObjectIntegrationTest.cs (8)
107
StringProperty
= "A"
129
StringProperty
= "A"
151
StringProperty
= "A",
174
StringProperty
= null,
197
StringProperty
= "A",
202
StringProperty
= "C",
291
StringProperty
= "A",
296
StringProperty
= "C",
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
35
StringProperty
= "A",
55
StringProperty
= null,
JsonPatchDocumentTest.cs (4)
58
StringProperty
= "A",
116
StringProperty
= "A",
143
StringProperty
= "A",
210
StringProperty
= "some test data"
15 references to StringProperty
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (15)
IntegrationTests\ListIntegrationTest.cs (2)
95
patchDocument.Add(o => o.SimpleObjectList[0].
StringProperty
, "ChangedString1");
101
Assert.Equal("ChangedString1", targetObject.SimpleObjectList[0].
StringProperty
);
IntegrationTests\NestedObjectIntegrationTest.cs (11)
112
patchDocument.Add(o => o.SimpleObject.
StringProperty
, "B");
118
Assert.Equal("B", targetObject.SimpleObject.
StringProperty
);
134
patchDocument.Remove(o => o.SimpleObject.
StringProperty
);
140
Assert.Null(targetObject.SimpleObject.
StringProperty
);
157
patchDocument.Copy(o => o.SimpleObject.
StringProperty
, o => o.SimpleObject.AnotherStringProperty);
180
patchDocument.Copy(o => o.SimpleObject.
StringProperty
, o => o.SimpleObject.AnotherStringProperty);
214
Assert.Equal("C", targetObject.SimpleObject.
StringProperty
);
216
Assert.Equal("C", targetObject.InheritedObject.
StringProperty
);
218
Assert.NotSame(targetObject.SimpleObject.
StringProperty
, targetObject.InheritedObject.
StringProperty
);
312
Assert.Equal("C", targetObject.SimpleObject.
StringProperty
);
JsonPatchDocumentTest.cs (2)
121
patchDocTyped.Copy(o => o.
StringProperty
, o => o.AnotherStringProperty);
151
patchDocument.Replace(o => o.
StringProperty
, "B");