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

Side by Side Diff: tests/lib/mirrors/deferred_mirrors_metadata_test.dart

Issue 3011633002: Added back helper file accidentally deleted during test block 219 migration. (Closed)
Patch Set: Created 3 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 @A(const B())
6 library main;
7
8 @B()
9 import 'package:async_helper/async_helper.dart';
10 import 'package:expect/expect.dart';
11
12 import "dart:math";
13
14 import 'deferred_mirrors_metadata_lib.dart' deferred as lib1;
15
16 class A {
17 final B b;
18 const A(this.b);
19 String toString() => "A";
20 }
21
22 class B {
23 const B();
24 String toString() => "B";
25 }
26
27 class C {
28 const C();
29 String toString() => "C";
30 }
31
32 class D {
33 const D();
34 String toString() => "D";
35 }
36
37 void main() {
38 asyncStart();
39 lib1.loadLibrary().then((_) {
40 Expect.equals("ABCD", lib1.foo());
41 new C();
42 new D();
43 asyncEnd();
44 });
45 }
OLDNEW
« no previous file with comments | « tests/lib/mirrors/deferred_mirrors_metadata_lib.dart ('k') | tests/lib/mirrors/deferred_mirrors_metatarget_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698