1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 from telemetry
.page
import page
as page_module
5 from telemetry
import story
8 class ToughLayerCasesPage(page_module
.Page
):
10 def __init__(self
, url
, page_set
):
11 super(ToughLayerCasesPage
, self
).__init
__(url
=url
, page_set
=page_set
)
14 class ToughLayerCasesPageSet(story
.StorySet
):
16 """ A collection of tests to measure layer performance. """
19 super(ToughLayerCasesPageSet
, self
).__init
__()
21 self
.AddStory(ToughLayerCasesPage(
22 'file://layer_stress_tests/opacity.html', self
))