-
Notifications
You must be signed in to change notification settings - Fork 63
/
all-tests.js
89 lines (80 loc) · 4.02 KB
/
all-tests.js
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*!
GPII Universal Tests
Copyright 2013 OCAD University
Copyright 2014 Emergya
Copyright 2014 Technosite
Copyright 2014 Raising the Floor - International
Copyright 2017-2018 OCAD University
Licensed under the New BSD license. You may not use this file except in
compliance with this License.
The research leading to these results has received funding from the European Union's
Seventh Framework Programme (FP7/2007-2013) under grant agreement no. 289016.
You may obtain a copy of the License at
https://github.com/GPII/universal/blob/master/LICENSE.txt
*/
"use strict";
var fluid = require("infusion"),
kettle = fluid.require("kettle");
// Ensure this happens first, to catch errors during code loading, especially before KETTLE-67 is fixed
kettle.loadTestingSupport();
// We must pass the current `require` to `fluid.require`, as nyc's instrumentation is hooked into it.
fluid.require("%gpii-universal", require);
var testIncludes = [
"./DevelopmentTests.js",
"./platform/cloud/CloudStatusTests.js",
"./platform/cloud/CloudRevisionGetTests.js",
"./platform/cloud/SettingsGetTests.js",
"./platform/cloud/SettingsPutTests.js",
"./CloseConflictingAppsTests.js",
"./DeviceReporterErrorTests.js",
"./ErrorTests.js",
"./IntegrationTests.js",
"./JournalIntegrationTests.js",
"./MultiSettingsHandlerTests.js",
"./PayloadSizeTest.js",
"./PSPIntegrationTests.js",
"./ResetAtStartTests.js",
"./SuppressHttpEndpointsTests.js",
"./UntrustedBrowserChannelTests.js",
"./UntrustedDevelopmentTests.js",
"./UntrustedPSPIntegrationTests.js",
"./UntrustedResetAtStartTests.js",
"./UntrustedSuppressHttpEndpointsTests.js",
"./UntrustedUserLogonHandlersTests.js",
"./UntrustedUserLogonRequestTests.js",
"./UserLogonHandlersEventsTests.js",
"./UserLogonHandlersTests.js",
"./UserLogonRequestTests.js",
"../gpii/node_modules/accessRequester/test/AccessRequesterTests.js",
"../gpii/node_modules/deviceReporter/test/StaticDeviceReporterTests.js",
"../gpii/node_modules/eventLog/test/all-tests.js",
"../gpii/node_modules/flatMatchMaker/test/FlatMatchMakerTests.js",
"../gpii/node_modules/flowManager/test/BrowserChannelTests.js",
"../gpii/node_modules/flowManager/test/CaptureTests.js",
"../gpii/node_modules/flowManager/test/DefaultSettingsLoaderTests.js",
"../gpii/node_modules/flowManager/test/PrefsServerDataSourceTests.js",
"../gpii/node_modules/flowManager/test/PSPChannelTests.js",
"../gpii/node_modules/flowManager/test/SettingsDataSourceTests.js",
"../gpii/node_modules/gpii-db-operation/test/DbDataStoreTests.js",
"../gpii/node_modules/gpii-ini-file/test/iniFileTests.js",
"../gpii/node_modules/gpii-oauth2/gpii-oauth2-authz-server/test/authGrantFinderTests.js",
"../gpii/node_modules/gpii-oauth2/gpii-oauth2-authz-server/test/authorizationServiceTests.js",
"../gpii/node_modules/gpii-oauth2/gpii-oauth2-utilities/test/OAuth2UtilitiesTests.js",
"../gpii/node_modules/matchMakerFramework/test/MatchMakerFrameworkTests.js",
"../gpii/node_modules/ontologyHandler/test/node/OntologyHandlerTests.js",
"../gpii/node_modules/preferencesServer/test/preferencesServerTests.js",
"../gpii/node_modules/preferencesServer/test/preferencesServiceTests.js",
"../gpii/node_modules/settingsHandlers/test/INISettingsHandlerTests.js",
"../gpii/node_modules/settingsHandlers/test/JSONSettingsHandlerTests.js",
"../gpii/node_modules/settingsHandlers/test/NoSettingsHandlerTests.js",
"../gpii/node_modules/settingsHandlers/test/SettingsHandlerUtilitiesTests.js",
"../gpii/node_modules/settingsHandlers/test/WebSocketsSettingsHandlerTests.js",
"../gpii/node_modules/settingsHandlers/test/XMLSettingsHandlerTests.js",
"../gpii/node_modules/singleInstance/test/SingleInstanceTests.js",
"../gpii/node_modules/solutionsRegistry/test/all-tests.js",
"../gpii/node_modules/transformer/test/TransformerTests.js",
"../gpii/node_modules/userListeners/test/all-tests.js"
];
fluid.each(testIncludes, function (path) {
require(path);
});