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

Side by Side Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 133893007: Rename internal library dart:_collection-dev to dart:_internal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo in dart2js Symbol lookup. Created 6 years, 11 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 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 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.resolver_test; 8 library engine.resolver_test;
9 9
10 import 'package:analyzer/src/generated/java_core.dart'; 10 import 'package:analyzer/src/generated/java_core.dart';
(...skipping 11187 matching lines...) Expand 10 before | Expand all | Expand 10 after
11198 void test_importInternalLibrary() { 11198 void test_importInternalLibrary() {
11199 Source source = addSource(EngineTestCase.createSource(["import 'dart:_interc eptors';"])); 11199 Source source = addSource(EngineTestCase.createSource(["import 'dart:_interc eptors';"]));
11200 resolve(source); 11200 resolve(source);
11201 assertErrors(source, [ 11201 assertErrors(source, [
11202 CompileTimeErrorCode.IMPORT_INTERNAL_LIBRARY, 11202 CompileTimeErrorCode.IMPORT_INTERNAL_LIBRARY,
11203 HintCode.UNUSED_IMPORT]); 11203 HintCode.UNUSED_IMPORT]);
11204 verify([source]); 11204 verify([source]);
11205 } 11205 }
11206 11206
11207 void test_importInternalLibrary_collection() { 11207 void test_importInternalLibrary_collection() {
11208 Source source = addSource(EngineTestCase.createSource(["import 'dart:_collec tion-dev';"])); 11208 Source source = addSource(EngineTestCase.createSource(["import 'dart:_intern al';"]));
11209 resolve(source); 11209 resolve(source);
11210 assertErrors(source, [ 11210 assertErrors(source, [
11211 CompileTimeErrorCode.IMPORT_INTERNAL_LIBRARY, 11211 CompileTimeErrorCode.IMPORT_INTERNAL_LIBRARY,
11212 HintCode.UNUSED_IMPORT]); 11212 HintCode.UNUSED_IMPORT]);
11213 verify([source]); 11213 verify([source]);
11214 } 11214 }
11215 11215
11216 void test_importOfNonLibrary() { 11216 void test_importOfNonLibrary() {
11217 Source source = addSource(EngineTestCase.createSource(["library lib;", "impo rt 'part.dart';", "A a;"])); 11217 Source source = addSource(EngineTestCase.createSource(["library lib;", "impo rt 'part.dart';", "A a;"]));
11218 addSource2("/part.dart", EngineTestCase.createSource(["part of lib;", "class A{}"])); 11218 addSource2("/part.dart", EngineTestCase.createSource(["part of lib;", "class A{}"]));
(...skipping 11999 matching lines...) Expand 10 before | Expand all | Expand 10 after
23218 // HintCodeTest.dartSuite(); 23218 // HintCodeTest.dartSuite();
23219 // MemberMapTest.dartSuite(); 23219 // MemberMapTest.dartSuite();
23220 // NonHintCodeTest.dartSuite(); 23220 // NonHintCodeTest.dartSuite();
23221 // NonErrorResolverTest.dartSuite(); 23221 // NonErrorResolverTest.dartSuite();
23222 // SimpleResolverTest.dartSuite(); 23222 // SimpleResolverTest.dartSuite();
23223 // StaticTypeWarningCodeTest.dartSuite(); 23223 // StaticTypeWarningCodeTest.dartSuite();
23224 // StaticWarningCodeTest.dartSuite(); 23224 // StaticWarningCodeTest.dartSuite();
23225 // StrictModeTest.dartSuite(); 23225 // StrictModeTest.dartSuite();
23226 // TypePropagationTest.dartSuite(); 23226 // TypePropagationTest.dartSuite();
23227 } 23227 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698