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

Side by Side Diff: tests/language/private_main.dart

Issue 14791005: BREAKING CHANGE: enforce part of directive (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « tests/language/private_lib.dart ('k') | tests/language/private_other.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 // Dart test for testing access to private fields. 4 // Dart test for testing access to private fields.
5 5
6 part of Private3Test.dart;
7
6 main() { 8 main() {
7 PrivateMain.main(); 9 PrivateMain.main();
8 } 10 }
9 11
10 class PrivateMain { 12 class PrivateMain {
11 13
12 static const _myPrecious = "A Ring"; 14 static const _myPrecious = "A Ring";
13 15
14 static accessMyPrivates() { 16 static accessMyPrivates() {
15 var value = 0; 17 var value = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 50 }
49 Expect.equals(-1, value); 51 Expect.equals(-1, value);
50 } 52 }
51 53
52 static main() { 54 static main() {
53 accessMyPrivates(); 55 accessMyPrivates();
54 accessMyLibPrivates(); 56 accessMyLibPrivates();
55 accessOtherLibPrivates(); 57 accessOtherLibPrivates();
56 } 58 }
57 } 59 }
OLDNEW
« no previous file with comments | « tests/language/private_lib.dart ('k') | tests/language/private_other.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698