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

Unified Diff: dart/frog/tests/frog/src/NodeConsoleHelper.dart

Issue 10164004: Remove frogsh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 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 | « dart/frog/tests/frog/src/NodeBufferTest.dart ('k') | dart/frog/tests/frog/src/NodeConsoleTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/tests/frog/src/NodeConsoleHelper.dart
diff --git a/dart/frog/tests/frog/src/NodeConsoleHelper.dart b/dart/frog/tests/frog/src/NodeConsoleHelper.dart
deleted file mode 100644
index df65886c20747aaa85c74a20e56aa256ff2e99bb..0000000000000000000000000000000000000000
--- a/dart/frog/tests/frog/src/NodeConsoleHelper.dart
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2011, 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.
-
-#library('ConsoleHelper');
-
-#import('../../../lib/node/node.dart');
-#import('NodeTestHelper.dart');
-
-// This program is designed to be executed as a sub-process by NodeConsoleTest
-// (Node doesn't expose "dup" or "dup2", so this is the only way to capture
-// the output of stderr, stdout during testing.)
-
-main() {
- printTestOutputBanner();
- var argv = process.argv;
- switch (argv[2]) {
- case 'log':
- console.log('log');
- break;
- case 'info':
- console.info('info');
- break;
- case 'warn':
- console.warn('warn');
- break;
- case 'error':
- console.error('error');
- break;
- case 'dir':
- console.dir(['dir1', 'dir2']);
- break;
- case 'time':
- console.time('a');
- console.timeEnd('a');
- break;
- case 'trace':
- console.trace();
- break;
- case 'assert-true':
- console.assert(true);
- break;
- case 'assert-true2':
- console.assert(true, "assert-true2");
- break;
- case 'assert-false':
- console.assert(false);
- break;
- case 'assert-false2':
- console.assert(false, "assert-false2");
- break;
- default:
- console.error("unknown argument. argv=${argv}");
- break;
- }
-}
« no previous file with comments | « dart/frog/tests/frog/src/NodeBufferTest.dart ('k') | dart/frog/tests/frog/src/NodeConsoleTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698