hotstaq 0.5.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +17 -0
- package/.eslintrc.js +11 -0
- package/.vscode/launch.json +199 -0
- package/.vscode/settings.json +2 -0
- package/.vscode/tasks.json +78 -0
- package/CONTRIBUTING.md +157 -0
- package/README.md +126 -0
- package/bin/hotstaq +3 -0
- package/bin/hotstaq.cmd +1 -0
- package/build/src/Hot.d.ts +167 -0
- package/build/src/Hot.d.ts.map +1 -0
- package/build/src/Hot.js +365 -0
- package/build/src/Hot.js.map +1 -0
- package/build/src/HotAPI.d.ts +130 -0
- package/build/src/HotAPI.d.ts.map +1 -0
- package/build/src/HotAPI.js +353 -0
- package/build/src/HotAPI.js.map +1 -0
- package/build/src/HotAgentAPI.d.ts +22 -0
- package/build/src/HotAgentAPI.d.ts.map +1 -0
- package/build/src/HotAgentAPI.js +85 -0
- package/build/src/HotAgentAPI.js.map +1 -0
- package/build/src/HotAgentRoute.d.ts +17 -0
- package/build/src/HotAgentRoute.d.ts.map +1 -0
- package/build/src/HotAgentRoute.js +109 -0
- package/build/src/HotAgentRoute.js.map +1 -0
- package/build/src/HotBuilder.d.ts +52 -0
- package/build/src/HotBuilder.d.ts.map +1 -0
- package/build/src/HotBuilder.js +239 -0
- package/build/src/HotBuilder.js.map +1 -0
- package/build/src/HotClient.d.ts +31 -0
- package/build/src/HotClient.d.ts.map +1 -0
- package/build/src/HotClient.js +19 -0
- package/build/src/HotClient.js.map +1 -0
- package/build/src/HotComponent.d.ts +118 -0
- package/build/src/HotComponent.d.ts.map +1 -0
- package/build/src/HotComponent.js +89 -0
- package/build/src/HotComponent.js.map +1 -0
- package/build/src/HotCreator.d.ts +92 -0
- package/build/src/HotCreator.d.ts.map +1 -0
- package/build/src/HotCreator.js +465 -0
- package/build/src/HotCreator.js.map +1 -0
- package/build/src/HotDB.d.ts +69 -0
- package/build/src/HotDB.d.ts.map +1 -0
- package/build/src/HotDB.js +29 -0
- package/build/src/HotDB.js.map +1 -0
- package/build/src/HotDBConnectionInterface.d.ts +40 -0
- package/build/src/HotDBConnectionInterface.d.ts.map +1 -0
- package/build/src/HotDBConnectionInterface.js +3 -0
- package/build/src/HotDBConnectionInterface.js.map +1 -0
- package/build/src/HotFile.d.ts +134 -0
- package/build/src/HotFile.d.ts.map +1 -0
- package/build/src/HotFile.js +454 -0
- package/build/src/HotFile.js.map +1 -0
- package/build/src/HotHTTPServer.d.ts +162 -0
- package/build/src/HotHTTPServer.d.ts.map +1 -0
- package/build/src/HotHTTPServer.js +863 -0
- package/build/src/HotHTTPServer.js.map +1 -0
- package/build/src/HotIO.d.ts +39 -0
- package/build/src/HotIO.d.ts.map +1 -0
- package/build/src/HotIO.js +195 -0
- package/build/src/HotIO.js.map +1 -0
- package/build/src/HotLog.d.ts +60 -0
- package/build/src/HotLog.d.ts.map +1 -0
- package/build/src/HotLog.js +126 -0
- package/build/src/HotLog.js.map +1 -0
- package/build/src/HotPage.d.ts +125 -0
- package/build/src/HotPage.d.ts.map +1 -0
- package/build/src/HotPage.js +178 -0
- package/build/src/HotPage.js.map +1 -0
- package/build/src/HotRoute.d.ts +82 -0
- package/build/src/HotRoute.d.ts.map +1 -0
- package/build/src/HotRoute.js +83 -0
- package/build/src/HotRoute.js.map +1 -0
- package/build/src/HotRouteMethod.d.ts +129 -0
- package/build/src/HotRouteMethod.d.ts.map +1 -0
- package/build/src/HotRouteMethod.js +84 -0
- package/build/src/HotRouteMethod.js.map +1 -0
- package/build/src/HotServer.d.ts +152 -0
- package/build/src/HotServer.d.ts.map +1 -0
- package/build/src/HotServer.js +109 -0
- package/build/src/HotServer.js.map +1 -0
- package/build/src/HotSetAsWeb.d.ts +2 -0
- package/build/src/HotSetAsWeb.d.ts.map +1 -0
- package/build/src/HotSetAsWeb.js +5 -0
- package/build/src/HotSetAsWeb.js.map +1 -0
- package/build/src/HotStaq.d.ts +601 -0
- package/build/src/HotStaq.d.ts.map +1 -0
- package/build/src/HotStaq.js +1258 -0
- package/build/src/HotStaq.js.map +1 -0
- package/build/src/HotStaqWeb.d.ts +18 -0
- package/build/src/HotStaqWeb.d.ts.map +1 -0
- package/build/src/HotStaqWeb.js +44 -0
- package/build/src/HotStaqWeb.js.map +1 -0
- package/build/src/HotTestDriver.d.ts +63 -0
- package/build/src/HotTestDriver.d.ts.map +1 -0
- package/build/src/HotTestDriver.js +187 -0
- package/build/src/HotTestDriver.js.map +1 -0
- package/build/src/HotTestElement.d.ts +71 -0
- package/build/src/HotTestElement.d.ts.map +1 -0
- package/build/src/HotTestElement.js +37 -0
- package/build/src/HotTestElement.js.map +1 -0
- package/build/src/HotTestMap.d.ts +83 -0
- package/build/src/HotTestMap.d.ts.map +1 -0
- package/build/src/HotTestMap.js +58 -0
- package/build/src/HotTestMap.js.map +1 -0
- package/build/src/HotTestSeleniumDriver.d.ts +82 -0
- package/build/src/HotTestSeleniumDriver.d.ts.map +1 -0
- package/build/src/HotTestSeleniumDriver.js +398 -0
- package/build/src/HotTestSeleniumDriver.js.map +1 -0
- package/build/src/HotTester.d.ts +188 -0
- package/build/src/HotTester.d.ts.map +1 -0
- package/build/src/HotTester.js +623 -0
- package/build/src/HotTester.js.map +1 -0
- package/build/src/HotTesterAPI.d.ts +15 -0
- package/build/src/HotTesterAPI.d.ts.map +1 -0
- package/build/src/HotTesterAPI.js +161 -0
- package/build/src/HotTesterAPI.js.map +1 -0
- package/build/src/HotTesterMocha.d.ts +50 -0
- package/build/src/HotTesterMocha.d.ts.map +1 -0
- package/build/src/HotTesterMocha.js +205 -0
- package/build/src/HotTesterMocha.js.map +1 -0
- package/build/src/HotTesterMochaSelenium.d.ts +70 -0
- package/build/src/HotTesterMochaSelenium.d.ts.map +1 -0
- package/build/src/HotTesterMochaSelenium.js +257 -0
- package/build/src/HotTesterMochaSelenium.js.map +1 -0
- package/build/src/HotTesterServer.d.ts +114 -0
- package/build/src/HotTesterServer.d.ts.map +1 -0
- package/build/src/HotTesterServer.js +575 -0
- package/build/src/HotTesterServer.js.map +1 -0
- package/build/src/api.d.ts +33 -0
- package/build/src/api.d.ts.map +1 -0
- package/build/src/api.js +78 -0
- package/build/src/api.js.map +1 -0
- package/build/src/cli.d.ts +2 -0
- package/build/src/cli.d.ts.map +1 -0
- package/build/src/cli.js +935 -0
- package/build/src/cli.js.map +1 -0
- package/build/src/schemas/HotDBInflux.d.ts +63 -0
- package/build/src/schemas/HotDBInflux.d.ts.map +1 -0
- package/build/src/schemas/HotDBInflux.js +239 -0
- package/build/src/schemas/HotDBInflux.js.map +1 -0
- package/build/src/schemas/HotDBMigration.d.ts +19 -0
- package/build/src/schemas/HotDBMigration.d.ts.map +1 -0
- package/build/src/schemas/HotDBMigration.js +15 -0
- package/build/src/schemas/HotDBMigration.js.map +1 -0
- package/build/src/schemas/HotDBMySQL.d.ts +65 -0
- package/build/src/schemas/HotDBMySQL.d.ts.map +1 -0
- package/build/src/schemas/HotDBMySQL.js +387 -0
- package/build/src/schemas/HotDBMySQL.js.map +1 -0
- package/build/src/schemas/HotDBSchema.d.ts +15 -0
- package/build/src/schemas/HotDBSchema.d.ts.map +1 -0
- package/build/src/schemas/HotDBSchema.js +19 -0
- package/build/src/schemas/HotDBSchema.js.map +1 -0
- package/build/src/schemas/influx/InfluxSchema.d.ts +14 -0
- package/build/src/schemas/influx/InfluxSchema.d.ts.map +1 -0
- package/build/src/schemas/influx/InfluxSchema.js +33 -0
- package/build/src/schemas/influx/InfluxSchema.js.map +1 -0
- package/build/src/schemas/mysql/MySQLSchema.d.ts +39 -0
- package/build/src/schemas/mysql/MySQLSchema.d.ts.map +1 -0
- package/build/src/schemas/mysql/MySQLSchema.js +151 -0
- package/build/src/schemas/mysql/MySQLSchema.js.map +1 -0
- package/build/src/schemas/mysql/MySQLSchemaField.d.ts +168 -0
- package/build/src/schemas/mysql/MySQLSchemaField.d.ts.map +1 -0
- package/build/src/schemas/mysql/MySQLSchemaField.js +260 -0
- package/build/src/schemas/mysql/MySQLSchemaField.js.map +1 -0
- package/build/src/schemas/mysql/MySQLSchemaTable.d.ts +49 -0
- package/build/src/schemas/mysql/MySQLSchemaTable.d.ts.map +1 -0
- package/build/src/schemas/mysql/MySQLSchemaTable.js +310 -0
- package/build/src/schemas/mysql/MySQLSchemaTable.js.map +1 -0
- package/build-web/HotStaq.js +2 -0
- package/build-web/HotStaq.min.js +125 -0
- package/builder/docker/Dockerfile.linux.gen +42 -0
- package/builder/docker/README.md +36 -0
- package/builder/docker/app/start.sh +8 -0
- package/builder/docker/dockerignore +3 -0
- package/builder/docker/scripts/build.bat +11 -0
- package/builder/docker/scripts/build.sh +11 -0
- package/builder/docker/scripts/start-app.bat +7 -0
- package/builder/docker/scripts/start-app.sh +7 -0
- package/builder/docker/scripts/stop-app.bat +5 -0
- package/builder/docker/scripts/stop-app.sh +5 -0
- package/builder/docker-compose/docker-compose.gen.yaml +41 -0
- package/builder/docker-compose/env-skeleton +4 -0
- package/creator/project/.vscode/launch.json +59 -0
- package/creator/project/README.md +20 -0
- package/creator/project/gitignore +118 -0
- package/creator/project/npmignore +118 -0
- package/creator/public/api-test.hott +28 -0
- package/creator/public/index.hott +12 -0
- package/creator/ts/src/AppAPI.ts +30 -0
- package/creator/ts/src/HelloWorld.ts +39 -0
- package/creator/ts/src/WebExport.ts +7 -0
- package/creator/ts/tsconfig-web.json +73 -0
- package/creator/ts/tsconfig.json +73 -0
- package/creator/ts/webpack-api.config.js +57 -0
- package/dbstart.sh +19 -0
- package/dbstop.sh +4 -0
- package/docs/.nojekyll +1 -0
- package/docs/README.md +128 -0
- package/docs/classes/Hot.md +477 -0
- package/docs/classes/HotAPI.md +369 -0
- package/docs/classes/HotClient.md +95 -0
- package/docs/classes/HotComponent.md +279 -0
- package/docs/classes/HotDB.md +247 -0
- package/docs/classes/HotDBInflux.md +404 -0
- package/docs/classes/HotDBMigration.md +80 -0
- package/docs/classes/HotDBMySQL.md +310 -0
- package/docs/classes/HotDBSchema.md +51 -0
- package/docs/classes/HotFile.md +353 -0
- package/docs/classes/HotHTTPServer.md +700 -0
- package/docs/classes/HotLog.md +162 -0
- package/docs/classes/HotPage.md +357 -0
- package/docs/classes/HotRoute.md +312 -0
- package/docs/classes/HotRouteMethod.md +271 -0
- package/docs/classes/HotServer.md +311 -0
- package/docs/classes/HotStaq.md +1153 -0
- package/docs/classes/HotTestDestination.md +58 -0
- package/docs/classes/HotTestDriver.md +332 -0
- package/docs/classes/HotTestElement.md +88 -0
- package/docs/classes/HotTestElementOptions.md +71 -0
- package/docs/classes/HotTestMap.md +92 -0
- package/docs/classes/HotTestSeleniumDriver.md +529 -0
- package/docs/classes/HotTester.md +653 -0
- package/docs/classes/HotTesterAPI.md +493 -0
- package/docs/classes/HotTesterMocha.md +843 -0
- package/docs/classes/HotTesterMochaSelenium.md +896 -0
- package/docs/classes/HotTesterServer.md +633 -0
- package/docs/classes/InfluxSchema.md +74 -0
- package/docs/classes/MySQLSchema.md +199 -0
- package/docs/classes/MySQLSchemaField.md +330 -0
- package/docs/classes/MySQLSchemaTable.md +176 -0
- package/docs/enums/ConnectionStatus.md +43 -0
- package/docs/enums/DeveloperMode.md +38 -0
- package/docs/enums/EventExecutionType.md +43 -0
- package/docs/enums/HTTPMethod.md +32 -0
- package/docs/enums/HotDBGenerationType.md +30 -0
- package/docs/enums/HotLogLevel.md +88 -0
- package/docs/interfaces/HotDBConnectionInterface.md +116 -0
- package/docs/interfaces/HotDestination.md +62 -0
- package/docs/interfaces/HotSite.md +187 -0
- package/docs/interfaces/HotSiteMapPath.md +37 -0
- package/docs/interfaces/HotSiteRoute.md +79 -0
- package/docs/interfaces/HotStartOptions.md +115 -0
- package/docs/interfaces/HotTestPage.md +44 -0
- package/docs/interfaces/HotTestStop.md +62 -0
- package/docs/interfaces/IHotComponent.md +135 -0
- package/docs/interfaces/IHotStaq.md +118 -0
- package/docs/interfaces/IHotTestElement.md +54 -0
- package/docs/interfaces/IHotTestElementOptions.md +43 -0
- package/docs/interfaces/MySQLResults.md +43 -0
- package/docs/interfaces/MySQLSchemaFieldResult.md +75 -0
- package/docs/modules.md +162 -0
- package/package.json +65 -0
- package/selenium-start.sh +7 -0
- package/selenium-stop.sh +3 -0
- package/src/Hot.ts +319 -0
- package/src/HotAPI.ts +378 -0
- package/src/HotAgentAPI.ts +43 -0
- package/src/HotAgentRoute.ts +44 -0
- package/src/HotBuilder.ts +221 -0
- package/src/HotClient.ts +40 -0
- package/src/HotComponent.ts +158 -0
- package/src/HotCreator.ts +482 -0
- package/src/HotDB.ts +79 -0
- package/src/HotDBConnectionInterface.ts +40 -0
- package/src/HotFile.ts +617 -0
- package/src/HotHTTPServer.ts +954 -0
- package/src/HotIO.ts +128 -0
- package/src/HotLog.ts +158 -0
- package/src/HotPage.ts +206 -0
- package/src/HotRoute.ts +137 -0
- package/src/HotRouteMethod.ts +216 -0
- package/src/HotServer.ts +211 -0
- package/src/HotSetAsWeb.ts +3 -0
- package/src/HotStaq.ts +1877 -0
- package/src/HotStaqWeb.ts +59 -0
- package/src/HotTestDriver.ts +172 -0
- package/src/HotTestElement.ts +97 -0
- package/src/HotTestMap.ts +130 -0
- package/src/HotTestSeleniumDriver.ts +374 -0
- package/src/HotTester.ts +697 -0
- package/src/HotTesterAPI.ts +126 -0
- package/src/HotTesterMocha.ts +133 -0
- package/src/HotTesterMochaSelenium.ts +189 -0
- package/src/HotTesterServer.ts +551 -0
- package/src/api.ts +102 -0
- package/src/cli.ts +1147 -0
- package/src/schemas/HotDBInflux.ts +211 -0
- package/src/schemas/HotDBMigration.ts +24 -0
- package/src/schemas/HotDBMySQL.ts +312 -0
- package/src/schemas/HotDBSchema.ts +21 -0
- package/src/schemas/influx/InfluxSchema.ts +19 -0
- package/src/schemas/mysql/MySQLSchema.ts +90 -0
- package/src/schemas/mysql/MySQLSchemaField.ts +408 -0
- package/src/schemas/mysql/MySQLSchemaTable.ts +353 -0
- package/tsconfig-web.json +74 -0
- package/tsconfig.json +73 -0
- package/webpack.config.js +51 -0
- package/webpack.config.tests.js +56 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
+
function step(op) {
|
|
31
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
+
while (_) try {
|
|
33
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
+
switch (op[0]) {
|
|
36
|
+
case 0: case 1: t = op; break;
|
|
37
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
+
default:
|
|
41
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
+
if (t[2]) _.ops.pop();
|
|
46
|
+
_.trys.pop(); continue;
|
|
47
|
+
}
|
|
48
|
+
op = body.call(thisArg, _);
|
|
49
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
54
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
55
|
+
};
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
exports.HotTesterMochaSelenium = void 0;
|
|
58
|
+
var mocha_1 = __importDefault(require("mocha"));
|
|
59
|
+
var mocha_2 = require("mocha");
|
|
60
|
+
var HotTester_1 = require("./HotTester");
|
|
61
|
+
var HotTestSeleniumDriver_1 = require("./HotTestSeleniumDriver");
|
|
62
|
+
/**
|
|
63
|
+
* The tester that uses Mocha to executes all tests.
|
|
64
|
+
*/
|
|
65
|
+
var HotTesterMochaSelenium = /** @class */ (function (_super) {
|
|
66
|
+
__extends(HotTesterMochaSelenium, _super);
|
|
67
|
+
function HotTesterMochaSelenium(processor, name, baseUrl, testMaps, onSetup, beforeAll, afterAll) {
|
|
68
|
+
if (testMaps === void 0) { testMaps = {}; }
|
|
69
|
+
if (onSetup === void 0) { onSetup = null; }
|
|
70
|
+
if (beforeAll === void 0) { beforeAll = null; }
|
|
71
|
+
if (afterAll === void 0) { afterAll = null; }
|
|
72
|
+
var _this = _super.call(this, processor, name, baseUrl, null, testMaps) || this;
|
|
73
|
+
_this.driver = new HotTestSeleniumDriver_1.HotTestSeleniumDriver();
|
|
74
|
+
_this.mocha = null;
|
|
75
|
+
_this.timeout = 10000;
|
|
76
|
+
_this.suite = null;
|
|
77
|
+
_this.onSetup = onSetup;
|
|
78
|
+
_this.beforeAll = beforeAll;
|
|
79
|
+
_this.afterAll = afterAll;
|
|
80
|
+
_this.waitForTesterData = true;
|
|
81
|
+
return _this;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Setup the Mocha/Selenium frameworks.
|
|
85
|
+
*
|
|
86
|
+
* @param tester The
|
|
87
|
+
* @param url If this is set, this url will be used instead of the url associated with this
|
|
88
|
+
* tester.
|
|
89
|
+
*/
|
|
90
|
+
HotTesterMochaSelenium.prototype.setup = function (isWebRoute, url, destinationKey) {
|
|
91
|
+
if (url === void 0) { url = ""; }
|
|
92
|
+
if (destinationKey === void 0) { destinationKey = ""; }
|
|
93
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
94
|
+
var testDriver, driver, loadDriverUrl, tempUrl;
|
|
95
|
+
return __generator(this, function (_a) {
|
|
96
|
+
switch (_a.label) {
|
|
97
|
+
case 0:
|
|
98
|
+
// Only execute web routes using Selenium.
|
|
99
|
+
if (isWebRoute === false)
|
|
100
|
+
return [2 /*return*/];
|
|
101
|
+
testDriver = this.driver;
|
|
102
|
+
return [4 /*yield*/, testDriver.loadSeleniumDriver()];
|
|
103
|
+
case 1:
|
|
104
|
+
_a.sent();
|
|
105
|
+
driver = testDriver.driver;
|
|
106
|
+
loadDriverUrl = true;
|
|
107
|
+
tempUrl = this.baseUrl;
|
|
108
|
+
if (url !== "")
|
|
109
|
+
tempUrl = url;
|
|
110
|
+
if (!(this.onSetup != null)) return [3 /*break*/, 3];
|
|
111
|
+
return [4 /*yield*/, this.onSetup(driver, tempUrl)];
|
|
112
|
+
case 2:
|
|
113
|
+
loadDriverUrl = _a.sent();
|
|
114
|
+
if (loadDriverUrl == null)
|
|
115
|
+
loadDriverUrl = true;
|
|
116
|
+
_a.label = 3;
|
|
117
|
+
case 3:
|
|
118
|
+
if (!(loadDriverUrl === true)) return [3 /*break*/, 6];
|
|
119
|
+
this.finishedLoading = false;
|
|
120
|
+
return [4 /*yield*/, driver.get(tempUrl)];
|
|
121
|
+
case 4:
|
|
122
|
+
_a.sent();
|
|
123
|
+
return [4 /*yield*/, this.waitForData()];
|
|
124
|
+
case 5:
|
|
125
|
+
_a.sent();
|
|
126
|
+
_a.label = 6;
|
|
127
|
+
case 6: return [2 /*return*/];
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Executed when destroying this tester.
|
|
134
|
+
*/
|
|
135
|
+
HotTesterMochaSelenium.prototype.destroy = function () {
|
|
136
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
137
|
+
return __generator(this, function (_a) {
|
|
138
|
+
switch (_a.label) {
|
|
139
|
+
case 0:
|
|
140
|
+
if (!(this.driver != null)) return [3 /*break*/, 2];
|
|
141
|
+
return [4 /*yield*/, this.driver.destroy()];
|
|
142
|
+
case 1:
|
|
143
|
+
_a.sent();
|
|
144
|
+
_a.label = 2;
|
|
145
|
+
case 2: return [2 /*return*/];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Executed when tests are started.
|
|
152
|
+
*/
|
|
153
|
+
HotTesterMochaSelenium.prototype.onTestStart = function (destination, url, destinationKey) {
|
|
154
|
+
if (destinationKey === void 0) { destinationKey = ""; }
|
|
155
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
156
|
+
var destinationName;
|
|
157
|
+
return __generator(this, function (_a) {
|
|
158
|
+
destinationName = "";
|
|
159
|
+
if (destinationKey !== "")
|
|
160
|
+
destinationName = " - ".concat(destinationKey);
|
|
161
|
+
this.mocha = new mocha_1.default();
|
|
162
|
+
this.suite = mocha_1.default.Suite.create(this.mocha.suite, "".concat(destination.page).concat(destinationName, " Tests"));
|
|
163
|
+
this.suite.timeout(this.timeout);
|
|
164
|
+
if (this.beforeAll != null)
|
|
165
|
+
this.suite.beforeAll(this.beforeAll);
|
|
166
|
+
return [2 /*return*/, (true)];
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
HotTesterMochaSelenium.prototype.onTestPagePathStart = function (destination, page, stop, continueWhenTestIsComplete) {
|
|
171
|
+
if (continueWhenTestIsComplete === void 0) { continueWhenTestIsComplete = false; }
|
|
172
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
173
|
+
var testPathName;
|
|
174
|
+
var _this = this;
|
|
175
|
+
return __generator(this, function (_a) {
|
|
176
|
+
switch (_a.label) {
|
|
177
|
+
case 0:
|
|
178
|
+
testPathName = stop.path;
|
|
179
|
+
if (!(continueWhenTestIsComplete === true)) return [3 /*break*/, 2];
|
|
180
|
+
return [4 /*yield*/, new Promise(function (resolve, reject) {
|
|
181
|
+
_this.suite.addTest(new mocha_2.Test(testPathName, function () { return __awaiter(_this, void 0, void 0, function () {
|
|
182
|
+
return __generator(this, function (_a) {
|
|
183
|
+
switch (_a.label) {
|
|
184
|
+
case 0:
|
|
185
|
+
// The true is a dumb hack to prevent any recursion.
|
|
186
|
+
return [4 /*yield*/, this.executeTestPagePath(destination, stop, true)];
|
|
187
|
+
case 1:
|
|
188
|
+
// The true is a dumb hack to prevent any recursion.
|
|
189
|
+
_a.sent();
|
|
190
|
+
resolve();
|
|
191
|
+
return [2 /*return*/];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}); }));
|
|
195
|
+
})];
|
|
196
|
+
case 1:
|
|
197
|
+
_a.sent();
|
|
198
|
+
return [3 /*break*/, 3];
|
|
199
|
+
case 2:
|
|
200
|
+
this.suite.addTest(new mocha_2.Test(testPathName, function () { return __awaiter(_this, void 0, void 0, function () {
|
|
201
|
+
return __generator(this, function (_a) {
|
|
202
|
+
switch (_a.label) {
|
|
203
|
+
case 0:
|
|
204
|
+
// The true is a dumb hack to prevent any recursion.
|
|
205
|
+
return [4 /*yield*/, this.executeTestPagePath(destination, stop, true)];
|
|
206
|
+
case 1:
|
|
207
|
+
// The true is a dumb hack to prevent any recursion.
|
|
208
|
+
_a.sent();
|
|
209
|
+
return [2 /*return*/];
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
}); }));
|
|
213
|
+
_a.label = 3;
|
|
214
|
+
case 3: return [2 /*return*/, (false)];
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
HotTesterMochaSelenium.prototype.onCommand = function (destination, page, stop, cmd, args, cmdFunc) {
|
|
220
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
221
|
+
var _this = this;
|
|
222
|
+
return __generator(this, function (_a) {
|
|
223
|
+
this.suite.addTest(new mocha_2.Test(cmd, function () { return __awaiter(_this, void 0, void 0, function () {
|
|
224
|
+
return __generator(this, function (_a) {
|
|
225
|
+
switch (_a.label) {
|
|
226
|
+
case 0: return [4 /*yield*/, cmdFunc(args)];
|
|
227
|
+
case 1:
|
|
228
|
+
_a.sent();
|
|
229
|
+
return [2 /*return*/];
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
}); }));
|
|
233
|
+
return [2 /*return*/];
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
};
|
|
237
|
+
HotTesterMochaSelenium.prototype.onTestEnd = function (destination) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
239
|
+
var _this = this;
|
|
240
|
+
return __generator(this, function (_a) {
|
|
241
|
+
switch (_a.label) {
|
|
242
|
+
case 0: return [4 /*yield*/, new Promise(function (resolve, reject) {
|
|
243
|
+
if (_this.afterAll != null)
|
|
244
|
+
_this.suite.afterAll(_this.afterAll);
|
|
245
|
+
_this.mocha.run(function (failures) {
|
|
246
|
+
resolve();
|
|
247
|
+
});
|
|
248
|
+
})];
|
|
249
|
+
case 1: return [2 /*return*/, (_a.sent())];
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
};
|
|
254
|
+
return HotTesterMochaSelenium;
|
|
255
|
+
}(HotTester_1.HotTester));
|
|
256
|
+
exports.HotTesterMochaSelenium = HotTesterMochaSelenium;
|
|
257
|
+
//# sourceMappingURL=HotTesterMochaSelenium.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HotTesterMochaSelenium.js","sourceRoot":"","sources":["../../src/HotTesterMochaSelenium.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,+BAAoC;AAGpC,yCAAqE;AAErE,iEAAgE;AAIhE;;GAEG;AACH;IAA4C,0CAAS;IAsCpD,gCAAa,SAAkB,EAAE,IAAY,EAAE,OAAe,EAC7D,QAA8C,EAC9C,OAAuD,EACvD,SAAqC,EACrC,QAAoC;QAHpC,yBAAA,EAAA,aAA8C;QAC9C,wBAAA,EAAA,cAAuD;QACvD,0BAAA,EAAA,gBAAqC;QACrC,yBAAA,EAAA,eAAoC;QAJrC,YAMC,k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,KAAK,CAAC,GAAG,CAAE,UAAC,QAAgB;gCAE/B,OAAO,EAAG,CAAC;4BACZ,CAAC,CAAC,CAAC;wBACL,CAAC,CAAC,EAAA;4BATH,sBAAO,CAAC,SASL,CAAC,EAAC;;;;KACL;IACF,6BAAC;AAAD,CAAC,AA/KD,CAA4C,qBAAS,GA+KpD;AA/KY,wDAAsB"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import * as http from "http";
|
|
3
|
+
import * as https from "https";
|
|
4
|
+
import express from "express";
|
|
5
|
+
import { HotServer } from "./HotServer";
|
|
6
|
+
import { HotStaq } from "./HotStaq";
|
|
7
|
+
import { HotRoute } from "./HotRoute";
|
|
8
|
+
import { HTTPMethod } from "./HotRouteMethod";
|
|
9
|
+
import { HotLogLevel } from "./HotLog";
|
|
10
|
+
import { HotTester } from "./HotTester";
|
|
11
|
+
/**
|
|
12
|
+
* An API server for use during testing.
|
|
13
|
+
*/
|
|
14
|
+
export declare class HotTesterServer extends HotServer {
|
|
15
|
+
/**
|
|
16
|
+
* The express app to use.
|
|
17
|
+
*/
|
|
18
|
+
expressApp: express.Express;
|
|
19
|
+
/**
|
|
20
|
+
* The HTTP listener to use.
|
|
21
|
+
*/
|
|
22
|
+
httpListener: http.Server;
|
|
23
|
+
/**
|
|
24
|
+
* The HTTPS listener to use.
|
|
25
|
+
*/
|
|
26
|
+
httpsListener: https.Server;
|
|
27
|
+
/**
|
|
28
|
+
* Any non-static routes that need to be added. These
|
|
29
|
+
* will be added during the preregistration phase, before
|
|
30
|
+
* all API routes are added.
|
|
31
|
+
*/
|
|
32
|
+
routes: {
|
|
33
|
+
/**
|
|
34
|
+
* The type of route.
|
|
35
|
+
*/
|
|
36
|
+
type: HTTPMethod;
|
|
37
|
+
/**
|
|
38
|
+
* The type of route.
|
|
39
|
+
*/
|
|
40
|
+
route: string;
|
|
41
|
+
/**
|
|
42
|
+
* The method to execute when this route is hit.
|
|
43
|
+
*/
|
|
44
|
+
method: (req: express.Request, res: express.Response) => Promise<void>;
|
|
45
|
+
}[];
|
|
46
|
+
constructor(processor: HotStaq | HotServer, httpPort?: number, httpsPort?: number);
|
|
47
|
+
/**
|
|
48
|
+
* Add a tester for use later.
|
|
49
|
+
*/
|
|
50
|
+
addTester(tester: HotTester): void;
|
|
51
|
+
/**
|
|
52
|
+
* Execute tests.
|
|
53
|
+
*/
|
|
54
|
+
executeTests(testerName: string, mapName: string): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Execute all web tests for all maps in the HotSite testing web object.
|
|
57
|
+
*/
|
|
58
|
+
executeAllWebTests(testerName: string): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Execute all api tests for all maps in the HotSite testing api object.
|
|
61
|
+
*/
|
|
62
|
+
executeAllAPITests(testerName: string): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Add a route. This will be registered before any APIs are registered.
|
|
65
|
+
*/
|
|
66
|
+
addRoute(route: string, method: (req: express.Request, res: express.Response) => Promise<void>, type?: HTTPMethod): void;
|
|
67
|
+
/**
|
|
68
|
+
* Register a route.
|
|
69
|
+
*/
|
|
70
|
+
registerRoute(route: HotRoute): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Check if a file exists.
|
|
73
|
+
*/
|
|
74
|
+
static checkIfFileExists(filepath: string): Promise<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* The routes to add before registering a route.
|
|
77
|
+
*/
|
|
78
|
+
preregisterRoute(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Set the error handlers. This will create two express routes at the bottom of the
|
|
81
|
+
* route stack. The first will be to capture any 404 errors, the second would be to
|
|
82
|
+
* catch any remaining errors.
|
|
83
|
+
*/
|
|
84
|
+
setErrorHandlingRoutes(handle404?: (req: express.Request, res: express.Response, next: any) => void, handleOther?: (err: any, req: express.Request, res: express.Response, next: any) => void): void;
|
|
85
|
+
/**
|
|
86
|
+
* Clear the last two express routes, which are reserved for the
|
|
87
|
+
* error handlers.
|
|
88
|
+
*/
|
|
89
|
+
clearErrorHandlingRoutes(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Start listening for requests.
|
|
92
|
+
*/
|
|
93
|
+
listen(): Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Setup the tester api.
|
|
96
|
+
*/
|
|
97
|
+
setupTesterAPI(baseUrl: string): Promise<void>;
|
|
98
|
+
/**
|
|
99
|
+
* Start the server.
|
|
100
|
+
*
|
|
101
|
+
* @param httpPort The HTTP port to listen on.
|
|
102
|
+
* @param httpsPort The HTTPS port to listen on.
|
|
103
|
+
* @param processor The HotStaq or parent server being used for communication.
|
|
104
|
+
*/
|
|
105
|
+
static startServer(baseUrl?: string, httpPort?: number, httpsPort?: number, processor?: HotServer | HotStaq, logLevel?: HotLogLevel): Promise<{
|
|
106
|
+
processor: HotServer | HotStaq;
|
|
107
|
+
server: HotTesterServer;
|
|
108
|
+
}>;
|
|
109
|
+
/**
|
|
110
|
+
* Shutdown the server.
|
|
111
|
+
*/
|
|
112
|
+
shutdown(): Promise<void>;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=HotTesterServer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HotTesterServer.d.ts","sourceRoot":"","sources":["../../src/HotTesterServer.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAkB,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9D,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,OAAO,EAAE,SAAS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