10 instantiations of NotifiedClass
Microsoft.DotNet.XUnitAssert.Tests (10)
Asserts\PropertyAssertsTests.cs (10)
13 Assert.Throws<ArgumentNullException>("testCode", () => Assert.PropertyChanged(new NotifiedClass(), "propertyName", (Action)null!)); 19 var obj = new NotifiedClass(); 30 var obj = new NotifiedClass(); 41 var obj = new NotifiedClass(); 49 var obj = new NotifiedClass(); 66 await Assert.ThrowsAsync<ArgumentNullException>("testCode", () => Assert.PropertyChangedAsync(new NotifiedClass(), "propertyName", default(Func<Task>)!)); 72 var obj = new NotifiedClass(); 84 var obj = new NotifiedClass(); 96 var obj = new NotifiedClass(); 105 var obj = new NotifiedClass();
16 references to NotifiedClass
Microsoft.DotNet.XUnitAssert.Tests (16)
Asserts\PropertyAssertsTests.cs (16)
19 var obj = new NotifiedClass(); 21 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => { })); 30 var obj = new NotifiedClass(); 32 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property2 = 42)); 41 var obj = new NotifiedClass(); 43 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property1 = "NewValue"); 49 var obj = new NotifiedClass(); 51 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => 72 var obj = new NotifiedClass(); 74 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), () => Task.FromResult(0))); 84 var obj = new NotifiedClass(); 87 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter)); 96 var obj = new NotifiedClass(); 99 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter); 105 var obj = new NotifiedClass(); 114 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);