Home
last modified time | relevance | path

Searched refs:story (Results 1 – 25 of 110) sorted by relevance

12345

/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dstory_set_smoke_test.py13 from telemetry import story as story_module
48 for story in story_set.stories:
49 if isinstance(story, page.Page) and story.url.startswith('http'):
50 self.assertTrue(wpr_archive_info.WprFilePathForStory(story),
52 story.url, story_set.archive_data_file))
56 for story in story_set.stories:
57 if not isinstance(story, page.Page):
60 if story.credentials_path:
62 os.path.join(story.base_dir, story.credentials_path))
64 (story.url, story_set.file_path, story.credentials))
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner.py23 from telemetry import story as story_module
70 def _RunStoryAndProcessErrorIfNeeded(story, results, state, test): argument
72 state.DumpStateUponFailure(story, results)
73 results.AddValue(failure.FailureValue(story, sys.exc_info(), description))
79 'START %s' % (story.name if story.name else str(story)))
82 state.WillRunStory(story)
83 if not state.CanRunStory(story):
85 story,
101 skip.SkipValue(story, 'Unsupported page action: %s' % e))
119 'END %s' % (story.name if story.name else str(story)))
[all …]
Dstory_runner_unittest.py27 from telemetry import story as story_module
78 def WillRunStory(self, story): argument
79 self._current_story = story
81 def CanRunStory(self, story): argument
93 def DumpStateUponFailure(self, story, results): argument
482 def WillRunStory(self, story): argument
582 def DumpStateUponFailure(self, story, results): argument
742 def WillRunStory(self, story): argument
743 self._current_story = story
751 def CanRunStory(self, story): argument
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/story/
Dstory_set_unittest.py8 from telemetry import story
12 class SharedStateBar(story.SharedState):
16 class StoryFoo(story.Story):
22 class StorySetFoo(story.StorySet):
49 blank_story_set = story.StorySet()
52 public_story_set = story.StorySet(
53 cloud_storage_bucket=story.PUBLIC_BUCKET)
54 self.assertEqual(public_story_set.bucket, story.PUBLIC_BUCKET)
56 partner_story_set = story.StorySet(
57 cloud_storage_bucket=story.PARTNER_BUCKET)
[all …]
Dstory_set.py8 from telemetry.story import story as story_module
79 for story in self.stories:
80 if story.serving_dir:
81 all_serving_dirs.add(story.serving_dir)
104 def AddStory(self, story): argument
105 assert isinstance(story, story_module.Story)
106 assert self._IsUnique(story), ('Tried to add story with duplicate display '
108 'unique.' % story.display_name)
109 self._stories.append(story)
111 story.display_name_and_grouping_key_tuple)
[all …]
Dstory_filter.py24 def HasMatch(self, story): argument
26 self._regex.search(story.display_name) or
27 (story.name and self._regex.search(story.name)))
37 def HasLabelIn(self, story): argument
38 return self and bool(story.tags.intersection(self._tags))
71 def IsSelected(cls, story): argument
73 if cls._exclude_tags.HasLabelIn(story):
75 if cls._exclude_regex.HasMatch(story):
78 if cls._include_tags and not cls._include_tags.HasLabelIn(story):
80 if cls._include_regex and not cls._include_regex.HasMatch(story):
Dstory_unittest.py7 from telemetry import story
8 from telemetry.story import shared_state
16 class StoryFoo(story.Story):
24 s0 = story.Story(SharedStateBar, 'foo')
25 s1 = story.Story(SharedStateBar, 'bar')
41 s = story.Story(SharedStateBar)
47 s = story.Story(SharedStateBar, 'Foo')
53 s = story.Story(SharedStateBar)
56 s = story.Story(SharedStateBar, make_javascript_deterministic=False)
59 s = story.Story(SharedStateBar, make_javascript_deterministic=True)
D__init__.py7 from telemetry.story.shared_state import SharedState
8 from telemetry.story.story import Story
9 from telemetry.story.story_filter import StoryFilter
10 from telemetry.story.story_set import StorySet
/external/libxml2/result/
Dslashdot16.xml.rde4 1 1 story 0 0
52 1 15 story 0 0
55 1 1 story 0 0
103 1 15 story 0 0
106 1 1 story 0 0
154 1 15 story 0 0
157 1 1 story 0 0
205 1 15 story 0 0
208 1 1 story 0 0
256 1 15 story 0 0
[all …]
Dslashdot16.xml.rdr4 1 1 story 0 0
52 1 15 story 0 0
55 1 1 story 0 0
103 1 15 story 0 0
106 1 1 story 0 0
154 1 15 story 0 0
157 1 1 story 0 0
205 1 15 story 0 0
208 1 1 story 0 0
256 1 15 story 0 0
[all …]
Dslashdot.xml.rde4 1 1 story 0 0
52 1 15 story 0 0
55 1 1 story 0 0
103 1 15 story 0 0
106 1 1 story 0 0
154 1 15 story 0 0
157 1 1 story 0 0
205 1 15 story 0 0
208 1 1 story 0 0
256 1 15 story 0 0
[all …]
Dslashdot.xml.rdr4 1 1 story 0 0
52 1 15 story 0 0
55 1 1 story 0 0
103 1 15 story 0 0
106 1 1 story 0 0
154 1 15 story 0 0
157 1 1 story 0 0
205 1 15 story 0 0
208 1 1 story 0 0
256 1 15 story 0 0
[all …]
Dslashdot16.xml.sax6 SAX.startElement(story)
54 SAX.endElement(story)
57 SAX.startElement(story)
105 SAX.endElement(story)
108 SAX.startElement(story)
156 SAX.endElement(story)
159 SAX.startElement(story)
207 SAX.endElement(story)
210 SAX.startElement(story)
258 SAX.endElement(story)
[all …]
Dslashdot.xml.sax6 SAX.startElement(story)
54 SAX.endElement(story)
57 SAX.startElement(story)
105 SAX.endElement(story)
108 SAX.startElement(story)
156 SAX.endElement(story)
159 SAX.startElement(story)
207 SAX.endElement(story)
210 SAX.startElement(story)
258 SAX.endElement(story)
[all …]
Dslashdot16.xml.sax26 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
54 SAX.endElementNs(story, NULL, NULL)
57 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
105 SAX.endElementNs(story, NULL, NULL)
108 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
156 SAX.endElementNs(story, NULL, NULL)
159 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
207 SAX.endElementNs(story, NULL, NULL)
210 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
258 SAX.endElementNs(story, NULL, NULL)
[all …]
Dslashdot.xml.sax26 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
54 SAX.endElementNs(story, NULL, NULL)
57 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
105 SAX.endElementNs(story, NULL, NULL)
108 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
156 SAX.endElementNs(story, NULL, NULL)
159 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
207 SAX.endElementNs(story, NULL, NULL)
210 SAX.startElementNs(story, NULL, NULL, 0, 0, 0)
258 SAX.endElementNs(story, NULL, NULL)
[all …]
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/
DHpackDecodeTestBase.java46 for (Story story : stories) { in createStories()
47 result.add(new Story[] { story }); in createStories()
56 private final Story story; field in HpackDecodeTestBase
58 public HpackDecodeTestBase(Story story) { in HpackDecodeTestBase() argument
59 this.story = story; in HpackDecodeTestBase()
67 testDecoder(story); in testDecoder()
70 protected void testDecoder(Story story) throws Exception { in testDecoder() argument
71 for (Case caze : story.getCases()) { in testDecoder()
90 return story; in getStory()
DHpackRoundTripTest.java47 public HpackRoundTripTest(Story story) { in HpackRoundTripTest() argument
48 super(story); in HpackRoundTripTest()
53 Story story = getStory().clone(); in testRoundTrip() local
55 for (Case caze : story.getCases()) { in testRoundTrip()
60 testDecoder(story); in testRoundTrip()
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/
DStory.java50 Story story = new Story(); in clone() local
51 story.fileName = this.fileName; in clone()
52 story.cases = new ArrayList<>(); in clone()
54 story.cases.add(caze.clone()); in clone()
56 story.draft = draft; in clone()
57 story.description = description; in clone()
58 return story; in clone()
/external/chromium-trace/catapult/telemetry/telemetry/wpr/
Darchive_info.py102 for story in story_archives:
104 if story_archives[story].get(target_platform):
106 story_archives[story][target_platform])
112 def WprFilePathForStory(self, story, target_platform=_DEFAULT_PLATFORM): argument
116 wpr_file = self._story_name_to_wpr_file.get(story.display_name, None)
117 if wpr_file is None and hasattr(story, 'url'):
120 wpr_file = self._story_name_to_wpr_file.get(story.url, None)
140 for story in stories:
142 if not story.platform_specific:
147 story.display_name, target_wpr_file, current_target_platform)
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/android/
Dshared_android_state.py7 from telemetry import story as story_module
52 def WillRunStory(self, story): argument
54 self._current_story = story
56 story.start_intent, story.is_app_ready_predicate)
59 def CanRunStory(self, story): argument
80 def DumpStateUponFailure(self, story, results): argument
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dpage_unittest.py8 from telemetry import story
48 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
62 story_set = story.StorySet(base_dir=base_dir,
70 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
80 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
90 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
100 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
110 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
121 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
131 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
[all …]
Dcache_temperature_unittest.py9 from telemetry import story
45 story_set = story.StorySet()
58 story_set = story.StorySet()
70 story_set = story.StorySet()
88 story_set = story.StorySet()
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/archive_files/
Dtest_page_set.py5 from telemetry import story
12 super(InternalPage, self).__init__('file://bar.html', story=story_set)
14 class TestPageSet(story.StorySet):
22 bucket=story.PUBLIC_BUCKET)
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/test_page_sets/
Dexample_domain.py5 from telemetry import story
9 class ExampleDomainPageSet(story.StorySet):
13 cloud_storage_bucket=story.PUBLIC_BUCKET)

12345