HomeSort by relevance Sort by last modified time
    Searched refs:story_set (Results 1 - 25 of 35) sorted by null

1 2

  /external/chromium-trace/catapult/telemetry/telemetry/page/
page_unittest.py 48 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
49 story_set.AddStory(
50 page.Page('http://www.foo.com/', story_set, story_set.base_dir))
51 story_set.AddStory(
52 page.Page('http://www.bar.com/', story_set, story_set.base_dir))
54 pages = sorted([story_set.stories[0], story_set.stories[1]])
55 self.assertEquals([story_set.stories[1], story_set.stories[0]]
    [all...]
page_test_unittest.py 64 def __init__(self, url, story_set):
65 super(PageWithAction, self).__init__(url, story_set, story_set.base_dir)
79 story_set = self.CreateStorySetFromFileInUnittestDataDir('blank.html')
82 measurement, story_set, options=self._options)
86 story_set = self.CreateStorySetFromFileInUnittestDataDir(
90 measurement, story_set, options=self._options)
94 story_set = self.CreateStorySetFromFileInUnittestDataDir('blank.html')
97 measurement, story_set, options=self._options)
115 story_set = story.StorySet.PageSet(
    [all...]
page_run_end_to_end_unittest.py 144 story_set = story.StorySet()
145 story_set.AddStory(page_module.Page(
146 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
147 story_set.AddStory(page_module.Page(
148 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
149 story_set.AddStory(page_module.Page(
150 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
176 story_runner.Run(test, story_set, options, results)
184 story_set = story.StorySet()
185 story_set.AddStory(page_module.Page
    [all...]
shared_page_state_unittest.py 64 story_set = story_module.StorySet()
65 story_set.AddStory(story)
66 story.shared_state_class(test, self.options, story_set)
84 story_set = story_module.StorySet()
87 startup_url='http://www.google.com', page_set=story_set)
90 startup_url='https://www.example.com', page_set=story_set)
93 startup_url='https://www.gmail.com', page_set=story_set)
96 story_set.AddStory(p)
99 DummyTest(), self.options, story_set)
  /external/chromium-trace/catapult/telemetry/telemetry/testing/
story_set_smoke_test.py 30 def CheckArchive(self, story_set):
31 """Verify that all URLs of pages in story_set have an associated archive."""
33 if not story_set.archive_data_file:
34 logging.warning('Skipping %s: no archive data file', story_set.file_path)
37 logging.info('Testing %s', story_set.file_path)
39 archive_data_file_path = os.path.join(story_set.base_dir,
40 story_set.archive_data_file)
43 story_set.file_path)
46 archive_data_file_path, story_set.bucket)
47 for story in story_set.stories
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/results/
buildbot_output_formatter_unittest.py 21 story_set = story_module.StorySet(base_dir=os.path.dirname(__file__))
22 story_set.AddStory(page_module.Page('http://www.foo.com/', story_set,
23 story_set.base_dir))
27 results.WillRunPage(story_set.stories[0])
28 results.AddValue(scalar.ScalarValue(story_set.stories[0], 'a', 'ms', 42,
30 results.DidRunPage(story_set.stories[0])
html_output_formatter_unittest.py 19 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
20 story_set.AddStory(
21 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
22 story_set.AddStory(
23 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
24 story_set.AddStory(
25 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir)
    [all...]
gtest_progress_reporter_unittest.py 20 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
21 story_set.AddStory(
22 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
23 story_set.AddStory(
24 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
25 story_set.AddStory(
26 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir)
    [all...]
csv_pivot_table_output_formatter_unittest.py 17 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
18 story_set.AddStory(
19 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
20 story_set.AddStory(
21 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
22 return story_set
67 'story_set,page,name,value,units,run_index',
68 'story_set,http://www.foo.com/,foo,3,seconds,0'
    [all...]
page_test_results_unittest.py 22 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
23 story_set.AddStory(page_module.Page("http://www.bar.com/", story_set, story_set.base_dir))
24 story_set.AddStory(page_module.Page("http://www.baz.com/", story_set, story_set.base_dir))
25 story_set.AddStory(page_module.Page("http://www.foo.com/", story_set, story_set.base_dir)
    [all...]
json_output_formatter_unittest.py 23 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
24 story_set.AddStory(
25 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
26 story_set.AddStory(
27 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
28 return story_set
story_run_unittest.py 9 from telemetry.story import story_set
28 self.story_set = story_set.StorySet()
29 self.story_set.AddStory(StoryFoo())
33 return self.story_set.stories
  /external/chromium-trace/catapult/telemetry/telemetry/internal/testing/archive_files/
test_page_set.py 11 def __init__(self, story_set):
12 super(InternalPage, self).__init__('file://bar.html', story=story_set)
26 def __init__(self, story_set):
29 page_set=story_set)
  /external/chromium-trace/catapult/telemetry/telemetry/story/
story_set_unittest.py 38 story_set = StorySetFoo()
39 base_dir = story_set.base_dir
44 story_set = StorySetFoo()
46 story_set.file_path)
68 story_set = story.StorySet()
71 story_set.RemoveStory(foo_story)
74 story_set = story.StorySet()
76 story_set.AddStory(foo_story)
77 self.assertEqual([foo_story], story_set.stories)
79 story_set.RemoveStory(foo_story
    [all...]
__init__.py 10 from telemetry.story.story_set import StorySet
shared_state.py 12 def __init__(self, test, options, story_set):
20 story_set: a story.StorySet instance.
  /external/chromium-trace/catapult/telemetry/telemetry/internal/
story_runner_unittest.py 50 def __init__(self, test, options, story_set):
52 test, options, story_set)
121 story_set = MixedStateStorySet()
123 story_set = story_module.StorySet()
125 story_set.AddStory(DummyLocalStory(story_state))
126 return story_set
187 story_set = SetupStorySet(False, foo_states)
190 story_set, False))
192 story_set = SetupStorySet(False, mixed_states)
196 story_set, False
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/value/
skip_unittest.py 16 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
17 story_set.AddStory(
18 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
19 self.story_set = story_set
23 return self.story_set.stories
histogram_unittest.py 16 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
17 story_set.AddStory(
18 page_module.Page("http://www.bar.com/", story_set, story_set.base_dir))
19 story_set.AddStory(
20 page_module.Page("http://www.baz.com/", story_set, story_set.base_dir))
21 story_set.AddStory(
22 page_module.Page("http://www.foo.com/", story_set, story_set.base_dir)
    [all...]
scalar_unittest.py 17 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
18 story_set.AddStory(
19 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
20 story_set.AddStory(
21 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir))
22 story_set.AddStory(
23 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir)
    [all...]
trace_unittest.py 20 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
21 story_set.AddStory(
22 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
23 story_set.AddStory(
24 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir))
25 story_set.AddStory(
26 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir)
    [all...]
translate_common_values_unittest.py 29 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
30 p = page.Page('http://www.foo.com/', story_set, story_set.base_dir)
failure_unittest.py 18 self.story_set = story.StorySet(base_dir=os.path.dirname(__file__))
19 self.story_set.AddStory(page_module.Page(
20 'http://www.bar.com/', self.story_set, self.story_set.base_dir))
24 return self.story_set.stories
merge_values_unittest.py 17 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
18 story_set.AddStory(
19 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
20 story_set.AddStory(
21 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir))
22 story_set.AddStory(
23 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir)
    [all...]
list_of_scalar_values_unittest.py 57 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
58 story_set.AddStory(
59 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
60 story_set.AddStory(
61 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir))
62 story_set.AddStory(
63 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir)
    [all...]

Completed in 607 milliseconds

1 2