public void ResettingTimerOfHiddenNotificationTest()
        {
            var customNotifier = new CustomNotifier(new TestScreen());
            var toast          = new CustomNotification(null, customNotifier);

            customNotifier.ShowAsync(toast);
            customNotifier.Hide(toast);
            customNotifier.ResetTimer(toast);
            customNotifier.StopTimer(toast);
        }
예제 #2
0
 public void ResettingTimerOfHiddenNotificationTest() {
     var customNotifier = new CustomNotifier(new TestScreen());
     var toast = new CustomNotification(null, customNotifier);
     customNotifier.ShowAsync(toast);
     customNotifier.Hide(toast);
     customNotifier.ResetTimer(toast);
     customNotifier.StopTimer(toast);
 }
 internal void ResetTimer()
 {
     notifier.ResetTimer(this);
 }