1# Copyright 2014 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 = "Mussa Kiroga"
6NAME = "video_GlitchDetection_chameleon_h264_480p"
7PURPOSE = "Verify that Chrome Video Playback is glitch and corruption free"
8CRITERIA = """
9
10"""
11ATTRIBUTES = "suite:video_image_comparison_chameleon"
12SUITE = "video_image_comparison_chameleon"
13TIME = "LONG"
14TEST_CATEGORY = "General"
15TEST_CLASS = "video"
16TEST_TYPE = "client"
17DEPENDENCIES = "video_glitch_detection, chameleon:hdmi"
18BUG_TEMPLATE = {
19    'owner': 'avkodipelli@chromium.org',
20    'cc': ['mussa@chromium.org', 'rohitbm@chromium.org'],
21    'labels': ['VideoTestFailure', 'OS-Chrome']
22}
23
24DOC = """
25This test uses cloud based image comparison to determine test PASS or FAIL.
26Images are captured using Chameleon and compared locally first. If that
27comparison fails, images will be uploaded to a web comparer for viewing test
28results.
29
30"""
31host = next(iter(job.hosts))
32
33job.run_test('video_GlitchDetection',
34              source_path=('https://storage.googleapis.com/'
35              'chromiumos-test-assets-public/Shaka-Dash/480.mp4'),
36              codec='h264',
37              resolution='480p',
38              host=host,
39              args=args)