Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6616dde

Browse files
johnniwinthercommit-bot@chromium.org
authored andcommitted
Move dart2js unittests to subfolders
* All helpers in /helpers/ * Tests of user-facing behavior in /end_to_end/ * Tests of internal models and unittests of internal classes in /model/ Change-Id: Ic7a7e58aa01f92f8572514ae81230804f36af67e Reviewed-on: https://dart-review.googlesource.com/72644 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Stephen Adams <sra@google.com>
1 parent f3036f4 commit 6616dde

File tree

183 files changed

+181
-190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+181
-190
lines changed

tests/compiler/dart2js/codegen/arithmetic_simplification_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Test constant folding on numbers.
55

66
import 'package:async_helper/async_helper.dart';
7-
import '../compiler_helper.dart';
7+
import '../helpers/compiler_helper.dart';
88

99
const String INT_PLUS_ZERO = """
1010
int foo(int x) => x;

tests/compiler/dart2js/codegen/array_static_intercept_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'package:expect/expect.dart';
66
import 'package:async_helper/async_helper.dart';
7-
import '../compiler_helper.dart';
7+
import '../helpers/compiler_helper.dart';
88

99
const String TEST_ONE = r"""
1010
foo(a) {

tests/compiler/dart2js/codegen/builtin_equals_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'package:expect/expect.dart';
66
import 'package:async_helper/async_helper.dart';
7-
import '../compiler_helper.dart';
7+
import '../helpers/compiler_helper.dart';
88

99
const String TEST = r"""
1010
foo() {

tests/compiler/dart2js/codegen/builtin_interceptor_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'package:expect/expect.dart';
66
import 'package:async_helper/async_helper.dart';
7-
import '../compiler_helper.dart';
7+
import '../helpers/compiler_helper.dart';
88

99
const String TEST_ONE = r"""
1010
foo() {

tests/compiler/dart2js/codegen/class_codegen2_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import 'dart:async';
77
import "package:expect/expect.dart";
88
import "package:async_helper/async_helper.dart";
9-
import '../compiler_helper.dart';
9+
import '../helpers/compiler_helper.dart';
1010

1111
const String TEST_ONE = r"""
1212
class A { foo() => 499; }

tests/compiler/dart2js/codegen/class_codegen_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import "package:expect/expect.dart";
77
import "package:async_helper/async_helper.dart";
8-
import '../compiler_helper.dart';
8+
import '../helpers/compiler_helper.dart';
99

1010
const String TEST_ONE = r"""
1111
class A { }

tests/compiler/dart2js/codegen/class_order_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import "package:expect/expect.dart";
77
import "package:async_helper/async_helper.dart";
8-
import '../compiler_helper.dart';
8+
import '../helpers/compiler_helper.dart';
99

1010
const String TEST_ONE = r"""
1111
class A { foo() => 499; }

tests/compiler/dart2js/codegen/closure_codegen_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import 'dart:async';
77
import 'package:expect/expect.dart';
88
import 'package:async_helper/async_helper.dart';
9-
import '../compiler_helper.dart';
9+
import '../helpers/compiler_helper.dart';
1010

1111
const String TEST_INVOCATION0 = r"""
1212
main() {

tests/compiler/dart2js/codegen/code_motion_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'package:expect/expect.dart';
66
import 'package:async_helper/async_helper.dart';
7-
import '../compiler_helper.dart';
7+
import '../helpers/compiler_helper.dart';
88

99
const String TEST_ONE = r"""
1010
foo(int a, int b, bool param2) {

tests/compiler/dart2js/codegen/constant_folding_codeUnitAt_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Test constant folding on numbers.
55

66
import 'package:async_helper/async_helper.dart';
7-
import '../compiler_helper.dart';
7+
import '../helpers/compiler_helper.dart';
88

99
const String TEST_1 = """
1010
foo() {

0 commit comments

Comments
 (0)