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

Unified Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 147903005: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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:
Download patch
« no previous file with comments | « pkg/analyzer/test/generated/ast_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/resolver_test.dart
diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
index 40f52dbd789b96c4352cd03fcac4850165629582..c0918ff535802449c258f341b3e83e44621bc599 100644
--- a/pkg/analyzer/test/generated/resolver_test.dart
+++ b/pkg/analyzer/test/generated/resolver_test.dart
@@ -2902,9 +2902,7 @@ class NonErrorResolverTest extends ResolverTestCase {
void test_nativeFunctionBodyInNonSDKCode_function() {
Source source = addSource(EngineTestCase.createSource(["import 'dart-ext:x';", "int m(a) native 'string';"]));
resolve(source);
- // There's no good way to fool the file system into believing that the referenced file exists,
- // but the test still verifies that the native function body is allowed because of the import.
- assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
+ assertNoErrors(source);
}
void test_newWithAbstractClass_factory() {
@@ -12885,12 +12883,6 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
}
- void test_uriDoesNotExist_nativeLibrary() {
- Source source = addSource(EngineTestCase.createSource(["import 'dart-ext:lib';"]));
- resolve(source);
- assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
- }
-
void test_uriDoesNotExist_part() {
Source source = addSource(EngineTestCase.createSource(["part 'unknown.dart';"]));
resolve(source);
@@ -14297,10 +14289,6 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
final __test = new CompileTimeErrorCodeTest();
runJUnitTest(__test, __test.test_uriDoesNotExist_import);
});
- _ut.test('test_uriDoesNotExist_nativeLibrary', () {
- final __test = new CompileTimeErrorCodeTest();
- runJUnitTest(__test, __test.test_uriDoesNotExist_nativeLibrary);
- });
_ut.test('test_uriDoesNotExist_part', () {
final __test = new CompileTimeErrorCodeTest();
runJUnitTest(__test, __test.test_uriDoesNotExist_part);
« no previous file with comments | « pkg/analyzer/test/generated/ast_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698