forked from webrtc/samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-tests.js
More file actions
64 lines (49 loc) · 2.11 KB
/
run-tests.js
File metadata and controls
64 lines (49 loc) · 2.11 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
54
55
56
57
58
59
60
61
62
63
64
/*
* 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.
*/
/* eslint-env node */
'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 peerconnection dtmf demo.
// Disabled for Firefox due not supporting DTMF.
// Disabled due to being flaky on Chrome.
// TODO(jansson): Fix flakiness
// require('../src/content/peerconnection/dtmf/js/test');
// Tests basic functionality of the peerconnection multiple demo.
require('../src/content/peerconnection/multiple/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 ice restart demo.
require('../src/content/peerconnection/restart-ice/js/test.js');
// 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('webrtc-utilities').seleniumLib.buildDriver();
driver.close()
.then(function() {
driver.quit().then(function() {
t.end();
});
});
});