HomeSort by relevance Sort by last modified time
    Searched refs:possible_browser (Results 1 - 14 of 14) sorted by null

  /external/chromium-trace/catapult/telemetry/telemetry/
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]
    [all...]
decorators.py 177 def IsEnabled(test, possible_browser):
178 """Returns True iff |test| is enabled given the |possible_browser|.
185 possible_browser: A PossibleBrowser to check whether |test| may run against.
187 should_skip, msg = ShouldSkip(test, possible_browser)
191 def ShouldSkip(test, possible_browser):
193 platform_attributes = _PlatformAttributes(possible_browser)
222 def ShouldBeIsolated(test, possible_browser):
223 platform_attributes = _PlatformAttributes(possible_browser)
235 def _PlatformAttributes(possible_browser):
238 possible_browser.browser_type
    [all...]
benchmark_runner.py 43 def _IsBenchmarkEnabled(benchmark_class, possible_browser):
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):
56 possible_browser: the possible_browser instance that's used for checking
72 'for %s ' % possible_browser.browser_type if possible_browser else '')
77 if not possible_browser or _IsBenchmarkEnabled(b, possible_browser)
    [all...]
benchmark_runner_unittest.py 81 def FakeShouldDisable(cls, possible_browser):
82 del possible_browser # unused
106 def FakeShouldDisable(cls, possible_browser):
107 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 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):
201 should_skip, reason = decorators.ShouldSkip(method, possible_browser)
204 elif decorators.ShouldBeIsolated(method, possible_browser):
209 if possible_browser
    [all...]
run_tests_unittest.py 48 possible_browser = MockPossibleBrowser(
50 runner.classifier = run_tests.GetClassifier(MockArgs(), possible_browser)
  /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 21 from telemetry.internal.browser import possible_browser
70 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/page/
shared_page_state.py 109 possible_browser = browser_finder.FindBrowser(finder_options)
110 if not possible_browser:
114 return possible_browser
117 """Return a possible_browser with the given options for |test|. """
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
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/
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/
__init__.py 155 def ConfigurePossibleBrowser(self, possible_browser):
159 possible_browser.returned_browser.returned_system_info = ...

Completed in 150 milliseconds