1# Copyright 2015 The Chromium OS 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 5AUTHOR = "Chrome OS Team" 6NAME = "power_FlashVideoSuspend" 7ATTRIBUTES = "suite:bvt-perbuild" 8SUITE = "bvt-perbuild" 9TIME = "SHORT" 10TEST_CATEGORY = "Functional" 11TEST_CLASS = "power" 12TEST_TYPE = "client" 13 14DOC = """ 15Suspends the system with a YouTube video playing in flash mode. 16 17Checks that video is playing when DUT is resumed. 18""" 19 20video_url = "http://www.youtube.com/embed/Lv-sY_z8MNs?enablejsapi=1&nohtml5=1" 21job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True) 22job.run_test('power_FlashVideoSuspend', video_url = video_url) 23