Home
last modified time | relevance | path

Searched refs:story_set (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/telemetry/page/
Dpage_unittest.py48 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]],
62 story_set = story.StorySet(base_dir=base_dir,
64 story_set.AddStory(
65 page.Page('file://../otherdir/file.html', story_set,
[all …]
Dpage_test_unittest.py64 def __init__(self, url, story_set): argument
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()
121 story_set._wpr_archive_info = archive_info.WprArchiveInfo(
[all …]
Dpage_run_end_to_end_unittest.py144 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 …]
Dshared_page_state_unittest.py64 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/
Dstory_set_smoke_test.py30 def CheckArchive(self, story_set): argument
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:
51 story.url, story_set.archive_data_file))
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner_unittest.py50 def __init__(self, test, options, story_set): argument
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 …]
Dstory_runner.py138 def StoriesGroupedByStateClass(story_set, allow_multiple_groups): argument
156 StoryGroup(story_set[0].shared_state_class))
157 for story in story_set:
174 def Run(test, story_set, finder_options, results, max_failures=None, argument
183 stories = filter(story_module.StoryFilter.IsSelected, story_set)
185 if (not finder_options.use_live_sites and story_set.bucket and
187 serving_dirs = story_set.serving_dirs
190 story_set.bucket)
192 story_set.archive_data_file, story_set.wpr_archive_info,
206 story_set.allow_mixed_story_states)
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/story/
Dstory_set_unittest.py38 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 …]
/external/chromium-trace/catapult/telemetry/telemetry/value/
Dhistogram_unittest.py16 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))
23 self.story_set = story_set
27 return self.story_set.stories
Dtrace_unittest.py20 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))
27 self.story_set = story_set
38 return self.story_set.stories
Dskip_unittest.py16 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
Dscalar_unittest.py17 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))
24 self.story_set = story_set
28 return self.story_set.stories
Dvalue_unittest.py14 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
15 story_set.AddStory(
16 page_module.Page("http://www.bar.com/", story_set, story_set.base_dir))
17 story_set.AddStory(
18 page_module.Page("http://www.baz.com/", story_set, story_set.base_dir))
19 story_set.AddStory(
20 page_module.Page("http://www.foo.com/", story_set, story_set.base_dir))
21 self.story_set = story_set
25 return self.story_set.stories
Dmerge_values_unittest.py17 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))
24 self.story_set = story_set
28 return self.story_set.stories
Dlist_of_scalar_values_unittest.py57 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))
64 self.story_set = story_set
68 return self.story_set.stories
Dfailure_unittest.py18 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
Dsummary_unittest.py21 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
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))
26 story_set.AddStory(
27 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
28 self.story_set = story_set
32 return self.story_set.stories
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Dgtest_progress_reporter_unittest.py20 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))
27 story_set.AddStory(
28 page_module.Page('http://www.roz.com/', story_set, story_set.base_dir))
29 return story_set
Dbuildbot_output_formatter_unittest.py21 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])
Dhtml_output_formatter_unittest.py19 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))
26 return story_set
Dpage_test_results_unittest.py22 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))
26 self.story_set = story_set
30 return self.story_set.stories
302 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
303 story_set.AddStory(
304 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
305 story_set.AddStory(
[all …]
Dcsv_pivot_table_output_formatter_unittest.py17 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
Djson_output_formatter_unittest.py23 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
Dstory_run_unittest.py9 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/
Dtest_page_set.py11 def __init__(self, story_set): argument
12 super(InternalPage, self).__init__('file://bar.html', story=story_set)
26 def __init__(self, story_set): argument
29 page_set=story_set)

12