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

Side by Side Diff: tests/compiler/dart2js/unparser_test.dart

Issue 11358024: Changes outside pkg/ and lib/ for directory refactoring (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 4
5 #import('dart:uri'); 5 import 'dart:uri';
6 #import('parser_helper.dart'); 6 import 'parser_helper.dart';
7 #import('mock_compiler.dart'); 7 import 'mock_compiler.dart';
8 #import("../../../lib/compiler/implementation/tree/tree.dart"); 8 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart';
9 9
10 testUnparse(String statement) { 10 testUnparse(String statement) {
11 Node node = parseStatement(statement); 11 Node node = parseStatement(statement);
12 Expect.equals(statement, unparse(node)); 12 Expect.equals(statement, unparse(node));
13 } 13 }
14 14
15 testUnparseMember(String member) { 15 testUnparseMember(String member) {
16 Node node = parseMember(member); 16 Node node = parseMember(member);
17 Expect.equals(member, unparse(node)); 17 Expect.equals(member, unparse(node));
18 } 18 }
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 testSimpleObjectInstantiation(); 300 testSimpleObjectInstantiation();
301 testLibraryName(); 301 testLibraryName();
302 testImport(); 302 testImport();
303 testExport(); 303 testExport();
304 testPart(); 304 testPart();
305 testPartOf(); 305 testPartOf();
306 testCombinators(); 306 testCombinators();
307 testRedirectingFactoryConstructors(); 307 testRedirectingFactoryConstructors();
308 testClassDeclarations(); 308 testClassDeclarations();
309 } 309 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698