• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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 Project, chromeos-video@google.com"
6NAME = "video_WebRtcSanity"
7PURPOSE = "Test that WebRTC getUserMedia succeeds with fake devices"
8CRITERIA = "This test will fail if WebRTC getUserMedia fails"
9ATTRIBUTES = "suite:bvt-perbuild"
10TIME = "MEDIUM"
11TEST_CATEGORY = "General"
12TEST_CLASS = "video"
13TEST_TYPE = "client"
14BUG_TEMPLATE = {
15    "labels": ["OS-Chrome"],
16    "components": ["OS>Kernel>Video"],
17}
18
19DOC = """
20This test runs a WebRTC getUserMedia call and assigns the camera stream to
21one video tag. This test will fail if any of these steps fail on the
22javascript level; it does not check if the frames we receive are actually
23sane. Furthermore, this test uses fake devices and not the real webcam.
24Frames and real webcams are checked by the video_WebRtcCamera test though.
25"""
26
27job.run_test("video_WebRtcSanity")
28