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