Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Unified Diff: test/data/input/checked_mode_test.html

Issue 13652007: workaround various mixin bugs (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/data/expected/checked_mode_test.html.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/data/input/checked_mode_test.html
diff --git a/test/data/input/observe_in_part_test.html b/test/data/input/checked_mode_test.html
similarity index 68%
copy from test/data/input/observe_in_part_test.html
copy to test/data/input/checked_mode_test.html
index 4276c457610cdeaddc4ac80a7273f641a89bb414..e20cc15429d1ec6875750a7b2633e155e1d50e44 100644
--- a/test/data/input/observe_in_part_test.html
+++ b/test/data/input/checked_mode_test.html
@@ -11,17 +11,15 @@ BSD-style license that can be found in the LICENSE file.
<script src="packages/web_ui/testing/testing.js"></script>
</head>
<body>
- <span>{{message}}</span>
+ This test simply verifies that the tests are being run in checked mode.
<script type="application/dart">
- library observe_in_part_test;
- import 'dart:async';
import 'dart:html';
- part 'observe_in_part.dart';
+ import 'package:unittest/unittest.dart';
main() {
- Timer.run(() {
- message = '$message, this test passed!';
- window.postMessage('done', '*');
- });
+ expect(() {
+ int x = 'hello';
+ }, throws);
+ window.postMessage('done', '*');
}
</script>
</body>
« no previous file with comments | « test/data/expected/checked_mode_test.html.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698