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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
index a62ab53783aac6bb143dc92eebaeee03572e59ca..833d013cab4356d19fed7b8933ccd218c2ed7d17 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.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
@@ -2586,7 +2586,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
public void test_proxy_annotation_prefixed() throws Exception {
Source source = addSource(createSource(//
"library L;",
- "import 'meta.dart';",
"@proxy",
"class A {}",
"f(A a) {",
@@ -2597,10 +2596,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
" a++;",
" ++a;",
"}"));
- addSource("/meta.dart", createSource(//
- "library meta;",
- "const proxy = const _Proxy();",
- "class _Proxy { const _Proxy(); }"));
resolve(source);
assertNoErrors(source);
}
@@ -2608,7 +2603,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
public void test_proxy_annotation_prefixed2() throws Exception {
Source source = addSource(createSource(//
"library L;",
- "import 'meta.dart';",
"@proxy",
"class A {}",
"class B {",
@@ -2621,10 +2615,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
" ++a;",
" }",
"}"));
- addSource("/meta.dart", createSource(//
- "library meta;",
- "const proxy = const _Proxy();",
- "class _Proxy { const _Proxy(); }"));
resolve(source);
assertNoErrors(source);
}
@@ -2632,7 +2622,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
public void test_proxy_annotation_prefixed3() throws Exception {
Source source = addSource(createSource(//
"library L;",
- "import 'meta.dart';",
"class B {",
" f(A a) {",
" a.m();",
@@ -2645,10 +2634,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
"}",
"@proxy",
"class A {}"));
- addSource("/meta.dart", createSource(//
- "library meta;",
- "const proxy = const _Proxy();",
- "class _Proxy { const _Proxy(); }"));
resolve(source);
assertNoErrors(source);
}
@@ -2656,7 +2641,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
public void test_proxy_annotation_simple() throws Exception {
Source source = addSource(createSource(//
"library L;",
- "import 'meta.dart';",
"@proxy",
"class B {",
" m() {",
@@ -2666,10 +2650,6 @@ public class NonErrorResolverTest extends ResolverTestCase {
" var y = this + this;",
" }",
"}"));
- addSource("/meta.dart", createSource(//
- "library meta;",
- "const proxy = const _Proxy();",
- "class _Proxy { const _Proxy(); }"));
resolve(source);
assertNoErrors(source);
}
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698