Delete lib_2/async/timer_not_available_test.

Change-Id: If24b2652f3b8fa22e844b20fab8034d13e3003ef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117066
Commit-Queue: Mayank Patke <fishythefish@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Mayank Patke <fishythefish@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
This commit is contained in:
Mayank Patke 2019-09-12 22:58:07 +00:00 committed by commit-bot@chromium.org
parent d9489622be
commit c858519064
2 changed files with 0 additions and 28 deletions

View file

@ -1,27 +0,0 @@
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library timerNotAvailable;
import 'package:expect/expect.dart';
import 'dart:async';
main() {
final ms = const Duration(milliseconds: 1);
bool failed = false;
try {
new Timer(ms * 5, () {});
} on UnsupportedError catch (e) {
failed = true;
}
Expect.isTrue(failed);
failed = false;
try {
var t = new Timer.periodic(ms * 10, (_) {});
t.cancel();
} on UnsupportedError catch (e) {
failed = true;
}
Expect.isTrue(failed);
}

View file

@ -4,7 +4,6 @@
[ $compiler == none ]
async/future_or_strong_test: RuntimeError
async/timer_not_available_test: SkipByDesign # only meant to test when there is no way to implement timer (currently only in d8)
isolate/compile_time_error_test/01: Skip # Issue 12587
isolate/ping_test: Skip # Resolve test issues
mirrors/symbol_validation_test: RuntimeError # Issue 13596