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

Side by Side Diff: pkg/kernel/test/verify_self_check.dart

Issue 2549793002: Add 'self_check' runtime for running self-checking unit tests (Closed)
Patch Set: Address comments Created 4 years 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
« no previous file with comments | « pkg/kernel/test/self_check_util.dart ('k') | tools/testing/dart/runtime_configuration.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'package:kernel/kernel.dart'; 5 import 'package:kernel/kernel.dart';
5 import 'package:kernel/verifier.dart'; 6 import 'package:kernel/verifier.dart';
6 7
7 main() { 8 import 'self_check_util.dart';
8 Program program = loadProgramFromBinary('test/data/dart2js.dill'); 9
9 CheckParentPointers.check(program); 10 main(List<String> args) {
11 runSelfCheck(args, (String filename) {
12 verifyProgram(loadProgramFromBinary(filename));
13 });
10 } 14 }
OLDNEW
« no previous file with comments | « pkg/kernel/test/self_check_util.dart ('k') | tools/testing/dart/runtime_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698