/external/chromium-trace/catapult/telemetry/telemetry/ |
D | decorators_unittest.py | 11 from telemetry.internal.browser import possible_browser 120 self.possible_browser = mock.Mock(spec_set=possible_browser.PossibleBrowser) 121 self.possible_browser.browser_type = 'browser_type' 122 self.possible_browser.platform = fake_platform 123 self.possible_browser.supports_tab_control = False 129 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0]) 132 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0]) 135 self.assertTrue(decorators.ShouldSkip(test, self.possible_browser)[0]) 138 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0]) 141 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0]) [all …]
|
D | decorators.py | 177 def IsEnabled(test, possible_browser): argument 187 should_skip, msg = ShouldSkip(test, possible_browser) 191 def ShouldSkip(test, possible_browser): argument 193 platform_attributes = _PlatformAttributes(possible_browser) 222 def ShouldBeIsolated(test, possible_browser): argument 223 platform_attributes = _PlatformAttributes(possible_browser) 235 def _PlatformAttributes(possible_browser): argument 238 possible_browser.browser_type, 239 possible_browser.platform.GetOSName(), 240 possible_browser.platform.GetOSVersionName(), [all …]
|
D | benchmark_runner.py | 43 def _IsBenchmarkEnabled(benchmark_class, possible_browser): argument 45 not benchmark_class.ShouldDisable(possible_browser) and 46 decorators.IsEnabled(benchmark_class, possible_browser)[0]) 49 def PrintBenchmarkList(benchmarks, possible_browser, output_pipe=sys.stdout): argument 72 'for %s ' % possible_browser.browser_type if possible_browser else '') 77 if not possible_browser or _IsBenchmarkEnabled(b, possible_browser): 85 possible_browser.browser_type) 147 possible_browser = browser_finder.FindBrowser(args) 157 f.write(_GetJsonBenchmarkList(possible_browser, 161 PrintBenchmarkList(args.benchmarks, possible_browser) [all …]
|
D | benchmark_runner_unittest.py | 81 def FakeShouldDisable(cls, possible_browser): argument 82 del possible_browser # unused 106 def FakeShouldDisable(cls, possible_browser): argument 107 return cls is BenchmarkBar and not 'Mock' in possible_browser.browser_type
|
D | benchmark.py | 81 def ShouldDisable(cls, possible_browser): argument
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | run_tests.py | 82 possible_browser = browser_finder.FindBrowser(args) 86 if not possible_browser: 119 possible_browser = None 122 possible_browser = browser_finder.FindBrowser(args) 123 platform = possible_browser.platform 164 runner.classifier = GetClassifier(args, possible_browser) 177 def GetClassifier(args, possible_browser): argument 201 should_skip, reason = decorators.ShouldSkip(method, possible_browser) 204 elif decorators.ShouldBeIsolated(method, possible_browser): 209 if possible_browser:
|
D | run_tests_unittest.py | 48 possible_browser = MockPossibleBrowser( 50 runner.classifier = run_tests.GetClassifier(MockArgs(), possible_browser)
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
D | shared_page_state.py | 109 possible_browser = browser_finder.FindBrowser(finder_options) 110 if not possible_browser: 114 return possible_browser 118 possible_browser = self._FindBrowser(finder_options) 120 possible_browser.browser_type) 122 enabled, msg = decorators.IsEnabled(test, possible_browser) 130 if possible_browser.IsRemote(): 131 possible_browser.RunRemote() 133 return possible_browser 424 possible_browser = self._FindBrowser(self._finder_options) [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
D | ios_browser_finder.py | 14 from telemetry.internal.browser import possible_browser 26 class PossibleIOSBrowser(possible_browser.PossibleBrowser):
|
D | cros_browser_finder.py | 15 from telemetry.internal.browser import possible_browser 19 class PossibleCrOSBrowser(possible_browser.PossibleBrowser):
|
D | android_browser_finder.py | 21 from telemetry.internal.browser import possible_browser 70 class PossibleAndroidBrowser(possible_browser.PossibleBrowser):
|
D | desktop_browser_finder.py | 16 from telemetry.internal.browser import possible_browser 23 class PossibleDesktopBrowser(possible_browser.PossibleBrowser):
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/ |
D | story_runner.py | 277 possible_browser = browser_finder.FindBrowser(finder_options) 278 if possible_browser and benchmark.ShouldDisable(possible_browser):
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/ |
D | __init__.py | 155 def ConfigurePossibleBrowser(self, possible_browser): argument
|