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

Unified Diff: tests/compiler/dart2js/mirrors_helper.dart

Issue 1934883002: Refactor unittests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 | « tests/compiler/dart2js/http_test.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_helper.dart
diff --git a/tests/compiler/dart2js/mirrors_helper.dart b/tests/compiler/dart2js/mirrors_helper.dart
deleted file mode 100644
index 7ffae11501685404186fdf2fd77971a0d29cd8bb..0000000000000000000000000000000000000000
--- a/tests/compiler/dart2js/mirrors_helper.dart
+++ /dev/null
@@ -1,78 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/**
- * This file is read by 'mirrors_test.dart'.
- */
-
-library mirrors_helper;
-
-typedef E Func<E,F extends Foo>(F f);
-
-main() {
-
-}
-
-/// Singleline doc comment.
-@Metadata(null)
-// Singleline comment 1.
-// Singleline comment 2.
-@Metadata(true)
-@Metadata(false)
-@Metadata(0)
-@Metadata(1.5)
-@Metadata("Foo")
-@Metadata(const ["Foo"])
-@Metadata(const {'foo':"Foo"})
-@metadata
-/** Multiline doc comment. */
-/* Multiline comment. */ class Foo {
- m(@metadata a) {}
-}
-
-
-abstract class Bar<E> {
-
-}
-
-class Baz<E,F extends Foo> implements Bar<E> {
- Baz();
- const Baz.named();
- factory Baz.factory() => new Baz<E,F>();
-
- static method1(e) {}
- void method2(E e, [F f = null]) {}
- Baz<E,F> method3(E func1(F f), Func<E,F> func2) => null;
-
- bool operator==(Object other) => false;
- int operator-() => 0;
- operator$foo() {}
-}
-
-class Boz extends Foo {
- var field1;
- int _field2;
- final String field3 = "field3";
-
- int get field2 => _field2;
- void set field2(int value) {
- _field2 = value;
- }
-}
-
-class _PrivateClass {
- var _privateField;
- get _privateGetter => _privateField;
- void set _privateSetter(value) => _privateField = value;
- void _privateMethod() {}
- _PrivateClass._privateConstructor();
- factory _PrivateClass._privateFactoryConstructor() => null;
-}
-
-const metadata = const Metadata(null);
-
-class Metadata {
- final data;
- const Metadata(this.data);
-}
« no previous file with comments | « tests/compiler/dart2js/http_test.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698