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

Unified Diff: tools/telemetry/telemetry/testing/options_for_unittests.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: tools/telemetry/telemetry/testing/options_for_unittests.py
diff --git a/tools/telemetry/telemetry/testing/options_for_unittests.py b/tools/telemetry/telemetry/testing/options_for_unittests.py
deleted file mode 100644
index 1c47fbfef732fe271a24cdb151acef2779e5603d..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/testing/options_for_unittests.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 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.
-
-"""This module provides the global variable options_for_unittests.
-
-This is set to a BrowserOptions object by the test harness, or None
-if unit tests are not running.
-
-This allows multiple unit tests to use a specific
-browser, in face of multiple options."""
-
-
-_options = []
-
-
-def Push(options):
- _options.append(options)
-
-
-def Pop():
- return _options.pop()
-
-
-def GetCopy():
- if not AreSet():
- return None
- return _options[-1].Copy()
-
-
-def AreSet():
- return bool(_options)
« no previous file with comments | « tools/telemetry/telemetry/testing/internal/fake_gpu_info.py ('k') | tools/telemetry/telemetry/testing/page_test_test_case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698