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

Unified Diff: client/tests/client/json/cmd_json_test.dart

Issue 8418013: Huge internal clean-up of unittestsuite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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: client/tests/client/json/cmd_json_test.dart
diff --git a/client/tests/client/json/cmd_json_test.dart b/client/tests/client/json/cmd_json_test.dart
deleted file mode 100644
index 602e72d54677f08b000b4cae5d6468f8569854a9..0000000000000000000000000000000000000000
--- a/client/tests/client/json/cmd_json_test.dart
+++ /dev/null
@@ -1,31 +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.
-
-typedef void Test();
-
-/**
- * Commandline-runner for JSON unit tests.
- */
-class CmdJsonTest {
- List<Test> _tests;
-
- CmdJsonTest() : _tests = new List<Test>() {}
-
- void addTest(Test test) {
- _tests.add(test);
- }
-
- void run() {
- setUpTestSuite();
- for (final test in _tests) { test(); }
- }
-
- void setUpTestSuite() {
- JsonTest.setUpTestSuite(this);
- }
-
- static void main(List args) {
- new CmdJsonTest().run();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698