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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java

Issue 46593003: Add @proxy to annotations.dart - remove package:meta. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
index f11cd8676acee250d5813f433767ab4c657fa3d6..3b3bb78267323c3df57115259775a31eb3184555 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
@@ -1,11 +1,11 @@
/*
* Copyright (c) 2013, the Dart project authors.
- *
+ *
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
- *
+ *
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
@@ -259,7 +259,6 @@ public class NonHintCodeTest extends ResolverTestCase {
public void test_proxy_annotation_prefixed() throws Exception {
Source source = addSource(createSource(//
"library L;",
- "import 'meta.dart';",
"@proxy",
"class A {}",
"f(var a) {",
@@ -271,10 +270,6 @@ public class NonHintCodeTest extends ResolverTestCase {
" a++;",
" ++a;",
"}"));
- addSource("/meta.dart", createSource(//
- "library meta;",
- "const proxy = const _Proxy();",
- "class _Proxy { const _Proxy(); }"));
resolve(source);
assertNoErrors(source);
}
@@ -282,7 +277,6 @@ public class NonHintCodeTest extends ResolverTestCase {
public void test_proxy_annotation_prefixed2() throws Exception {
Source source = addSource(createSource(//
"library L;",
- "import 'meta.dart';",
"@proxy",
"class A {}",
"class B {",
@@ -296,10 +290,6 @@ public class NonHintCodeTest extends ResolverTestCase {
" ++a;",
" }",
"}"));
- addSource("/meta.dart", createSource(//
- "library meta;",
- "const proxy = const _Proxy();",
- "class _Proxy { const _Proxy(); }"));
resolve(source);
assertNoErrors(source);
}
@@ -307,7 +297,6 @@ public class NonHintCodeTest extends ResolverTestCase {
public void test_proxy_annotation_prefixed3() throws Exception {
Source source = addSource(createSource(//
"library L;",
- "import 'meta.dart';",
"class B {",
" f(var a) {",
" a = new A();",
@@ -321,10 +310,6 @@ public class NonHintCodeTest extends ResolverTestCase {
"}",
"@proxy",
"class A {}"));
- addSource("/meta.dart", createSource(//
- "library meta;",
- "const proxy = const _Proxy();",
- "class _Proxy { const _Proxy(); }"));
resolve(source);
assertNoErrors(source);
}

Powered by Google App Engine
This is Rietveld 408576698