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

Unified Diff: tools/isolate/tests/gtest_fake/gtest_fake_base.py

Issue 11045023: Move src/tools/isolate to src/tools/swarm_client as a DEPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use r159961 Created 8 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
« no previous file with comments | « tools/isolate/tests/gtest_fake/__init__.py ('k') | tools/isolate/tests/gtest_fake/gtest_fake_error.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/tests/gtest_fake/gtest_fake_base.py
diff --git a/tools/isolate/tests/gtest_fake/gtest_fake_base.py b/tools/isolate/tests/gtest_fake/gtest_fake_base.py
deleted file mode 100644
index 74cc4d280e153c01882bd10743c9becdaa0f7b28..0000000000000000000000000000000000000000
--- a/tools/isolate/tests/gtest_fake/gtest_fake_base.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Provide common functionality to simulate a google-test executable.
-
-http://code.google.com/p/googletest/
-"""
-
-def get_test_output(test_name):
- fixture, case = test_name.split('.', 1)
- return (
- '[==========] Running 1 test from 1 test case.\n'
- '[----------] Global test environment set-up.\n'
- '[----------] 1 test from %(fixture)s\n'
- '[ RUN ] %(fixture)s.%(case)s\n'
- '[ OK ] %(fixture)s.%(case)s (0 ms)\n'
- '[----------] 1 test from %(fixture)s (0 ms total)\n'
- '\n') % {
- 'fixture': fixture,
- 'case': case,
- }
-
-
-def get_footer(number, total):
- return (
- '[----------] Global test environment tear-down\n'
- '[==========] %(number)d test from %(total)d test case ran. (0 ms total)\n'
- '[ PASSED ] %(number)d test.\n'
- '\n'
- ' YOU HAVE 5 DISABLED TESTS\n'
- '\n'
- ' YOU HAVE 2 tests with ignored failures (FAILS prefix)\n') % {
- 'number': number,
- 'total': total,
- }
« no previous file with comments | « tools/isolate/tests/gtest_fake/__init__.py ('k') | tools/isolate/tests/gtest_fake/gtest_fake_error.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698