15 writes to IntegerList
Microsoft.AspNetCore.JsonPatch.Tests (15)
IntegrationTests\DynamicObjectIntegrationTest.cs (2)
177
IntegerList
= new List<int>() { 1, 2, 3 }
218
IntegerList
= new List<int>() { 1, 2, 3 }
IntegrationTests\ListIntegrationTest.cs (13)
21
IntegerList
= new List<int>() { 1, 2, 3 }
40
IntegerList
= new List<int>() { 1, 2, 3 }
112
IntegerList
= new List<int>() { 1, 2, 3 }
132
IntegerList
= new List<int>() { 1, 2, 3 }
153
IntegerList
= new List<int>() { 1, 2, 3 }
177
IntegerList
= new List<int>() { 1, 2, 3 }
197
IntegerList
= new List<int>() { 1, 2, 3 }
218
IntegerList
= new List<int>() { 1, 2, 3 }
240
IntegerList
= new List<int>() { 1, 2, 3 }
260
IntegerList
= new List<int>() { 1, 2, 3 }
279
IntegerList
= new List<int>() { 1, 2, 3 }
299
IntegerList
= new List<int>() { 1, 2, 3 }
351
IntegerList
= new List<int>() { 1, 2, 3 }
15 references to IntegerList
Microsoft.AspNetCore.JsonPatch.Tests (15)
IntegrationTests\ListIntegrationTest.cs (15)
26
patchDocument.Test(o => o.SimpleObject.
IntegerList
, 3, 2);
45
patchDocument.Test(o => o.SimpleObject.
IntegerList
, 4, -1);
117
patchDocument.Add(o => o.SimpleObject.
IntegerList
, 4);
123
Assert.Equal(new List<int>() { 1, 2, 3, 4 }, targetObject.SimpleObject.
IntegerList
);
142
Assert.Equal(new List<int>() { 1, 2 }, targetObject.
IntegerList
);
182
patchDocument.Remove<int>(o => o.SimpleObject.
IntegerList
);
188
Assert.Equal(new List<int>() { 1, 2 }, targetObject.SimpleObject.
IntegerList
);
207
Assert.Equal(new List<int>() { 4, 5, 6 }, targetObject.
IntegerList
);
223
patchDocument.Replace(o => o.SimpleObject.
IntegerList
, 5);
229
Assert.Equal(new List<int>() { 1, 2, 5 }, targetObject.SimpleObject.
IntegerList
);
245
patchDocument.Replace(o => o.SimpleObject.
IntegerList
, 5, -1);
270
Assert.Equal(new List<int>() { 1, 2, 3, 1 }, targetObject.
IntegerList
);
310
Assert.Equal(new List<int>() { 1, 2, 3, 5 }, targetObject.
IntegerList
);
356
patchDocument.Move(o => o.SimpleObject.
IntegerList
, 0, o => o.IntegerValue);
362
Assert.Equal(new List<int>() { 2, 3 }, targetObject.SimpleObject.
IntegerList
);