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. 4from telemetry.page import page as page_module 5from telemetry.page import page_set as page_set_module 6 7 8class ToughLayerCasesPage(page_module.Page): 9 10 def __init__(self, url, page_set): 11 super(ToughLayerCasesPage, self).__init__(url=url, page_set=page_set) 12 13 14class ToughLayerCasesPageSet(page_set_module.PageSet): 15 16 """ A collection of tests to measure layer performance. """ 17 18 def __init__(self): 19 super(ToughLayerCasesPageSet, self).__init__() 20 21 self.AddPage(ToughLayerCasesPage( 22 'file://layer_stress_tests/opacity.html', self)) 23 24