public void NUIApplicationMemoryLowEventArgsMemoryStatusGet() { tlog.Debug(tag, $"NUIApplicationMemoryLowEventArgsMemoryStatusGet START"); var testingTarget = new NUIApplicationMemoryLowEventArgs(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <NUIApplicationMemoryLowEventArgs>(testingTarget, "should be an instance of testing target class!"); var result = testingTarget.MemoryStatus; Assert.IsNotNull(result, "should be not null"); tlog.Debug(tag, $"NUIApplicationMemoryLowEventArgsMemoryStatusGet END (OK)"); }
public void NUIApplicationMemoryLowEventArgsMemoryStatusSet() { tlog.Debug(tag, $"NUIApplicationMemoryLowEventArgsMemoryStatusSet START"); var testingTarget = new NUIApplicationMemoryLowEventArgs(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <NUIApplicationMemoryLowEventArgs>(testingTarget, "should be an instance of testing target class!"); var status = Application.MemoryStatus.Normal; testingTarget.MemoryStatus = status; var result = testingTarget.MemoryStatus; Assert.IsNotNull(testingTarget, "should be not null"); Assert.AreEqual(status, result, "Retrieved result should be equal to status."); tlog.Debug(tag, $"NUIApplicationMemoryLowEventArgsMemoryStatusSet END (OK)"); }
private void MyOnMemoryLow(object sender, NUIApplicationMemoryLowEventArgs e) { }