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

Unified Diff: build/android/pylib/instrumentation/instrumentation_test_instance_test.py

Issue 2901053003: 📷 Create RenderTestRule which fails after test method finishes. (Closed)
Patch Set: Typo in comment. Created 3 years, 7 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/instrumentation/instrumentation_test_instance.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/instrumentation/instrumentation_test_instance_test.py
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance_test.py b/build/android/pylib/instrumentation/instrumentation_test_instance_test.py
index 301f95a191ffb5f173e81d2c7044dc7845fd03e0..a0bf46493462bf29145d6ddc630cb783d35ec3ee 100755
--- a/build/android/pylib/instrumentation/instrumentation_test_instance_test.py
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance_test.py
@@ -46,15 +46,13 @@ class InstrumentationTestInstanceTest(unittest.TestCase):
'command_line_flags',
'device_flags_file',
'strict_mode',
- 'regenerate_goldens',
])
def createFlagAttributesArgs(
self, command_line_flags=None, device_flags_file=None,
- strict_mode=None, regenerate_goldens=None):
+ strict_mode=None):
return self._FlagAttributesArgs(
- command_line_flags, device_flags_file, strict_mode,
- regenerate_goldens)
+ command_line_flags, device_flags_file, strict_mode)
def test_initializeFlagAttributes_commandLineFlags(self):
o = self.createTestInstance()
@@ -84,13 +82,6 @@ class InstrumentationTestInstanceTest(unittest.TestCase):
o._initializeFlagAttributes(args)
self.assertEquals(o._flags, ['--enable-test-intents'])
- def test_initializeFlagAttributes_regenerateGoldens(self):
- o = self.createTestInstance()
- args = self.createFlagAttributesArgs(regenerate_goldens=True)
- o._initializeFlagAttributes(args)
- self.assertEquals(
- o._flags, ['--enable-test-intents', '--regenerate-goldens'])
-
def testGetTests_noFilter(self):
o = self.createTestInstance()
raw_tests = [
« no previous file with comments | « build/android/pylib/instrumentation/instrumentation_test_instance.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698