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

Side by Side Diff: tests/language/rewrite_nested_if2_test.dart

Issue 288343014: dart2dart: Test cases for better code coverage in dart_tree rewritings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: SVN rebase Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 6
7 check_true_true(x, y) { 7 check_true_true(x, y) {
8 if (x) { 8 if (x) {
9 if (y) { 9 if (y) {
10 return true; 10 return true;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 Expect.equals(false, check_false_true(true, true)); 63 Expect.equals(false, check_false_true(true, true));
64 Expect.equals(false, check_false_true(true, false)); 64 Expect.equals(false, check_false_true(true, false));
65 Expect.equals(true, check_false_true(false, true)); 65 Expect.equals(true, check_false_true(false, true));
66 Expect.equals(false, check_false_true(false, false)); 66 Expect.equals(false, check_false_true(false, false));
67 67
68 Expect.equals(false, check_false_false(true, true)); 68 Expect.equals(false, check_false_false(true, true));
69 Expect.equals(false, check_false_false(true, false)); 69 Expect.equals(false, check_false_false(true, false));
70 Expect.equals(false, check_false_false(false, true)); 70 Expect.equals(false, check_false_false(false, true));
71 Expect.equals(true, check_false_false(false, false)); 71 Expect.equals(true, check_false_false(false, false));
72 } 72 }
OLDNEW
« no previous file with comments | « tests/language/rewrite_nested_if1_test.dart ('k') | tests/language/rewrite_nested_if3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698