blob: ac1ef9174d1e866e8bdbf52701c570dd092824b0 [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
NAME = "power_FlashVideoSuspend"
ATTRIBUTES = "suite:bvt-perbuild"
SUITE = "bvt-perbuild"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "power"
TEST_TYPE = "client"
DOC = """
Suspends the system with a YouTube video playing in flash mode.
Checks that video is playing when DUT is resumed.
"""
video_url = "http://www.youtube.com/embed/Lv-sY_z8MNs?enablejsapi=1&nohtml5=1"
job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True)
job.run_test('power_FlashVideoSuspend', video_url = video_url)