forked from webrtc/samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.js
More file actions
53 lines (41 loc) · 1.64 KB
/
tests.js
File metadata and controls
53 lines (41 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
*/
/* jshint node: true */
/* globals require */
'use strict';
var test = require('tape');
// Add all test files here with a short comment.
// Tests basic functionality of the the gum demo.
require('../src/content/getusermedia/gum/js/test');
// Tests basic functionality of the pc1 demo.
require('../src/content/peerconnection/pc1/js/test');
// Tests basic functionality of the peerconnection audio demo.
require('../src/content/peerconnection/audio/js/test');
// Tests basic functionality of the munge-sdp demo.
require('../src/content/peerconnection/munge-sdp/js/test');
// Tests basic functionality of the trickle-ice demo.
require('../src/content/peerconnection/trickle-ice/js/test');
// Tests basic functionality of the datachannel textchat demo.
require('../src/content/datachannel/basic/js/test');
// Tests basic functionality of the datachannel datatransfer demo.
require('../src/content/datachannel/datatransfer/js/test');
// Tests basic functionality of the datachannel filetransfer demo.
require('../src/content/datachannel/filetransfer/js/test');
// Tests basic functionality of the input-output device demo.
require('../src/content/devices/input-output/js/test.js');
// This is run as a test so it is executed after all tests
// have completed.
test('Shutdown', function(t) {
var driver = require('./selenium-lib').buildDriver();
driver.close()
.then(function() {
driver.quit().then(function() {
t.end();
});
});
});