/external/chromium-trace/catapult/telemetry/telemetry/ |
decorators_unittest.py | 11 from telemetry.internal.browser import possible_browser 281 self.possible_browser = mock.Mock(spec_set=possible_browser.PossibleBrowser) 282 self.possible_browser.browser_type = 'browser_type' 283 self.possible_browser.platform = fake_platform 284 self.possible_browser.supports_tab_control = False 290 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0]) 293 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0]) 296 self.assertTrue(decorators.ShouldSkip(test, self.possible_browser)[0]) 299 self.assertFalse(decorators.ShouldSkip(test, self.possible_browser)[0] [all...] |
decorators.py | 208 def IsEnabled(test, possible_browser): 209 """Returns True iff |test| is enabled given the |possible_browser|. 216 possible_browser: A PossibleBrowser to check whether |test| may run against. 218 should_skip, msg = ShouldSkip(test, possible_browser) 222 def IsBenchmarkEnabled(benchmark, possible_browser): 223 return (not benchmark.ShouldDisable(possible_browser) and 224 IsEnabled(benchmark, possible_browser)[0]) 284 def ShouldSkip(test, possible_browser): 286 platform_attributes = _PlatformAttributes(possible_browser) 313 def ShouldBeIsolated(test, possible_browser) [all...] |
benchmark_runner.py | 47 def _IsBenchmarkEnabled(benchmark_class, possible_browser): 49 decorators.IsBenchmarkEnabled(benchmark_class, possible_browser)) 52 def PrintBenchmarkList(benchmarks, possible_browser, output_pipe=sys.stdout): 59 possible_browser: the possible_browser instance that's used for checking 77 'for %s ' % possible_browser.browser_type if possible_browser else '') 82 if not possible_browser or _IsBenchmarkEnabled(b, possible_browser): 90 possible_browser.browser_type [all...] |
benchmark_runner_unittest.py | 82 def FakeShouldDisable(cls, possible_browser): 83 del possible_browser # unused 107 def FakeShouldDisable(cls, possible_browser): 108 return cls is BenchmarkBar and not 'Mock' in possible_browser.browser_type
|
benchmark.py | 81 def ShouldDisable(cls, possible_browser):
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
run_tests.py | 97 possible_browser = browser_finder.FindBrowser(args) 101 if not possible_browser: 134 possible_browser = None 137 possible_browser = browser_finder.FindBrowser(args) 138 platform = possible_browser.platform 142 if possible_browser and possible_browser.browser_type == 'reference': 189 runner.classifier = GetClassifier(args, possible_browser) 206 def GetClassifier(args, possible_browser): 238 should_skip, reason = decorators.ShouldSkip(method, possible_browser) [all...] |
run_tests_unittest.py | 50 possible_browser = MockPossibleBrowser( 52 runner.classifier = run_tests.GetClassifier(args, possible_browser)
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
shared_page_state.py | 96 def possible_browser(self): member in class:SharedPageState 104 possible_browser = browser_finder.FindBrowser(finder_options) 105 if not possible_browser: 109 return possible_browser 112 """Return a possible_browser with the given options for |test|. """ 113 possible_browser = self._FindBrowser(finder_options) 115 possible_browser.browser_type) 117 enabled, msg = decorators.IsEnabled(test, possible_browser) 122 if possible_browser.IsRemote(): 123 possible_browser.RunRemote( [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
ios_browser_finder.py | 14 from telemetry.internal.browser import possible_browser 26 class PossibleIOSBrowser(possible_browser.PossibleBrowser):
|
cros_browser_finder.py | 15 from telemetry.internal.browser import possible_browser 19 class PossibleCrOSBrowser(possible_browser.PossibleBrowser):
|
android_browser_finder.py | 23 from telemetry.internal.browser import possible_browser 72 class PossibleAndroidBrowser(possible_browser.PossibleBrowser):
|
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/ |
story_runner.py | 309 possible_browser = browser_finder.FindBrowser(finder_options) 310 if not possible_browser: 315 if (possible_browser and 316 not decorators.IsBenchmarkEnabled(benchmark, possible_browser)): 356 if (possible_browser.platform.GetOSName() == 'chromeos' and
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/ |
__init__.py | 168 def ConfigurePossibleBrowser(self, possible_browser): 172 possible_browser.returned_browser.returned_system_info = ...
|