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);
        }
Ejemplo n.º 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 StopTimer()
 {
     notifier.StopTimer(this);
 }