Home
last modified time | relevance | path

Searched refs:possible_browser (Results 1 – 14 of 14) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/
Ddecorators_unittest.py11 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 …]
Ddecorators.py177 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 …]
Dbenchmark_runner.py43 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 …]
Dbenchmark_runner_unittest.py81 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
Dbenchmark.py81 def ShouldDisable(cls, possible_browser): argument
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Drun_tests.py82 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:
Drun_tests_unittest.py48 possible_browser = MockPossibleBrowser(
50 runner.classifier = run_tests.GetClassifier(MockArgs(), possible_browser)
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dshared_page_state.py109 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/
Dios_browser_finder.py14 from telemetry.internal.browser import possible_browser
26 class PossibleIOSBrowser(possible_browser.PossibleBrowser):
Dcros_browser_finder.py15 from telemetry.internal.browser import possible_browser
19 class PossibleCrOSBrowser(possible_browser.PossibleBrowser):
Dandroid_browser_finder.py21 from telemetry.internal.browser import possible_browser
70 class PossibleAndroidBrowser(possible_browser.PossibleBrowser):
Ddesktop_browser_finder.py16 from telemetry.internal.browser import possible_browser
23 class PossibleDesktopBrowser(possible_browser.PossibleBrowser):
/external/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner.py277 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__.py155 def ConfigurePossibleBrowser(self, possible_browser): argument