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

Unified Diff: tests/compiler/dart2js/kernel/binary_operators_test.dart

Issue 2297853003: implement kernel -> ssa for simple binary expression (Closed)
Patch Set: add TODO, rename adapter method Created 4 years, 4 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: tests/compiler/dart2js/kernel/binary_operators_test.dart
diff --git a/tests/compiler/dart2js/serialization/analysis4_test.dart b/tests/compiler/dart2js/kernel/binary_operators_test.dart
similarity index 53%
copy from tests/compiler/dart2js/serialization/analysis4_test.dart
copy to tests/compiler/dart2js/kernel/binary_operators_test.dart
index ff5c1ac5c5e427b3041a5619f52c09d722d78a14..1afaeb8a4b1c38f441e2c3aebd5b1b0d2680d85e 100644
--- a/tests/compiler/dart2js/serialization/analysis4_test.dart
+++ b/tests/compiler/dart2js/kernel/binary_operators_test.dart
@@ -2,11 +2,14 @@
// 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.
-library dart2js.serialization.analysis4_test;
+import 'package:test/test.dart';
-import 'analysis_test_helper.dart' as test;
-import 'test_helper.dart';
+import 'helper.dart' show check;
main() {
- test.main(testSegment(4, test.SPLIT_COUNT, test.SKIP_COUNT));
+ group('compile binary operators', () {
+ test('plus on ints', () {
+ return check('main() { return 1 + 2; }');
+ });
+ });
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart ('k') | tests/compiler/dart2js/kernel/simple_function_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698