Home
last modified time | relevance | path

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

12345

/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dstory_set_smoke_test.py12 from telemetry import story as story_module
47 for story in story_set.stories:
48 if isinstance(story, page.Page) and story.url.startswith('http'):
49 self.assertTrue(wpr_archive_info.WprFilePathForStory(story),
51 story.url, story_set.archive_data_file))
55 for story in story_set.stories:
56 if not isinstance(story, page.Page):
59 if story.credentials_path:
61 os.path.join(story.base_dir, story.credentials_path))
63 (story.url, story_set.file_path, story.credentials))
[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
78 for story in self.stories:
79 if story.serving_dir:
80 all_serving_dirs.add(story.serving_dir)
99 def AddStory(self, story): argument
100 assert isinstance(story, story_module.Story)
101 self.stories.append(story)
103 def RemoveStory(self, story): argument
108 self.stories.remove(story)
131 def WprFilePathForStory(self, story): argument
[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.labels.intersection(self._labels))
70 def IsSelected(cls, story): argument
72 if cls._exclude_labels.HasLabelIn(story):
74 if cls._exclude_regex.HasMatch(story):
77 if cls._include_labels and not cls._include_labels.HasLabelIn(story):
79 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/chromium-trace/catapult/telemetry/telemetry/internal/
Dstory_runner.py20 from telemetry import story as story_module
71 def _RunStoryAndProcessErrorIfNeeded(story, results, state, test): argument
73 results.AddValue(failure.FailureValue(story, sys.exc_info()))
77 state.WillRunStory(story)
78 if not state.CanRunStory(story):
80 story,
95 skip.SkipValue(story, 'Unsupported page action: %s' % e))
99 story, sys.exc_info(), 'Unhandlable exception raised.'))
132 def AddStory(self, story): argument
133 assert (story.shared_state_class is
[all …]
/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/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
/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 …]
/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/page_sets/
Dexample_domain.py5 from telemetry import story
9 class ExampleDomainPageSet(story.StorySet):
13 cloud_storage_bucket=story.PUBLIC_BUCKET)
/external/chromium-trace/catapult/telemetry/examples/benchmarks/
Dsimple_story_set.py5 from telemetry import story
34 class SimpleStorySet(story.StorySet):
38 cloud_storage_bucket=story.PARTNER_BUCKET)
/external/chromium-trace/catapult/telemetry/telemetry/wpr/
Darchive_info.py100 def WprFilePathForStory(self, story): argument
103 wpr_file = self._story_name_to_wpr_file.get(story.display_name, None)
104 if wpr_file is None and hasattr(story, 'url'):
107 wpr_file = self._story_name_to_wpr_file.get(story.url, None)
124 for story in stories:
125 self._SetWprFileForStory(story.display_name, target_wpr_file)
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Dstory_run.py10 def __init__(self, story): argument
11 self._story = story
18 def story(self): member in StoryRun

12345