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