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

Unified Diff: build/android/pylib/gtest/test_package.py

Issue 2392643003: Removes files from //build that we don't need (Closed)
Patch Set: Created 4 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 | « build/android/pylib/gtest/test_options.py ('k') | build/android/pylib/gtest/test_package_apk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/test_package.py
diff --git a/build/android/pylib/gtest/test_package.py b/build/android/pylib/gtest/test_package.py
deleted file mode 100644
index 4042a98a1320ef0e58b12cbfba279f8559b70afc..0000000000000000000000000000000000000000
--- a/build/android/pylib/gtest/test_package.py
+++ /dev/null
@@ -1,76 +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.
-
-"""Base class representing GTest test packages."""
-# pylint: disable=R0201
-
-
-class TestPackage(object):
-
- """A helper base class for both APK and stand-alone executables.
-
- Args:
- suite_name: Name of the test suite (e.g. base_unittests).
- """
- def __init__(self, suite_name):
- self.suite_name = suite_name
-
- def ClearApplicationState(self, device):
- """Clears the application state.
-
- Args:
- device: Instance of DeviceUtils.
- """
- raise NotImplementedError('Method must be overridden.')
-
- def CreateCommandLineFileOnDevice(self, device, test_filter, test_arguments):
- """Creates a test runner script and pushes to the device.
-
- Args:
- device: Instance of DeviceUtils.
- test_filter: A test_filter flag.
- test_arguments: Additional arguments to pass to the test binary.
- """
- raise NotImplementedError('Method must be overridden.')
-
- def GetAllTests(self, device):
- """Returns a list of all tests available in the test suite.
-
- Args:
- device: Instance of DeviceUtils.
- """
- raise NotImplementedError('Method must be overridden.')
-
- def GetGTestReturnCode(self, _device):
- return None
-
- def SpawnTestProcess(self, device):
- """Spawn the test process.
-
- Args:
- device: Instance of DeviceUtils.
-
- Returns:
- An instance of pexpect spawn class.
- """
- raise NotImplementedError('Method must be overridden.')
-
- def Install(self, device):
- """Install the test package to the device.
-
- Args:
- device: Instance of DeviceUtils.
- """
- raise NotImplementedError('Method must be overridden.')
-
- def PullAppFiles(self, device, files, directory):
- """Pull application data from the device.
-
- Args:
- device: Instance of DeviceUtils.
- files: A list of paths relative to the application data directory to
- retrieve from the device.
- directory: The host directory to which files should be pulled.
- """
- raise NotImplementedError('Method must be overridden.')
« no previous file with comments | « build/android/pylib/gtest/test_options.py ('k') | build/android/pylib/gtest/test_package_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698