Commit e5a4b69c authored by rnephew's avatar rnephew Committed by Commit Bot

[Telemetry] Move dromaeo story disabling to StoryExpectations

Bug: 713222
Change-Id: Ice1cd5d0061aff3470aa61420de0244a6fd414a4
Reviewed-on: https://chromium-review.googlesource.com/521662
Commit-Queue: rnephew <rnephew@chromium.org>
Reviewed-by: default avatarCharlie Andrews <charliea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#476458}
parent 26510e44
......@@ -141,6 +141,11 @@ class DromaeoDomCoreAttr(_DromaeoBenchmark):
def Name(cls):
return 'dromaeo.domcoreattr'
def GetExpectations(self):
class StoryExpectations(story.expectations.StoryExpectations):
def SetExpectations(self):
pass # http://dromaeo.com?dom-attr not disabled.
return StoryExpectations()
@benchmark.Owner(emails=['yukishiino@chromium.org',
'bashi@chromium.org',
......@@ -157,6 +162,12 @@ class DromaeoDomCoreModify(_DromaeoBenchmark):
def Name(cls):
return 'dromaeo.domcoremodify'
def GetExpectations(self):
class StoryExpectations(story.expectations.StoryExpectations):
def SetExpectations(self):
pass # http://dromaeo.com?dom-modify not disabled.
return StoryExpectations()
@benchmark.Owner(emails=['yukishiino@chromium.org',
'bashi@chromium.org',
......@@ -173,6 +184,12 @@ class DromaeoDomCoreQuery(_DromaeoBenchmark):
def Name(cls):
return 'dromaeo.domcorequery'
def GetExpectations(self):
class StoryExpectations(story.expectations.StoryExpectations):
def SetExpectations(self):
pass # http://dromaeo.com?dom-query not disabled.
return StoryExpectations()
@benchmark.Owner(emails=['yukishiino@chromium.org',
'bashi@chromium.org',
......@@ -188,3 +205,9 @@ class DromaeoDomCoreTraverse(_DromaeoBenchmark):
@classmethod
def Name(cls):
return 'dromaeo.domcoretraverse'
def GetExpectations(self):
class StoryExpectations(story.expectations.StoryExpectations):
def SetExpectations(self):
pass # http://dromaeo.com?dom-traverse not disabled.
return StoryExpectations()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment