@intuitionrobotics/testelot 0.47.59 → 1.0.0
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/LICENSE +3 -0
- package/README.md +3 -0
- package/{core → dist/core}/Action.d.ts +7 -4
- package/dist/core/Action.d.ts.map +1 -0
- package/dist/core/Action.js +214 -0
- package/dist/core/Action.js.map +1 -0
- package/{core → dist/core}/Action_Container.d.ts +6 -3
- package/dist/core/Action_Container.d.ts.map +1 -0
- package/dist/core/Action_Container.js +97 -0
- package/dist/core/Action_Container.js.map +1 -0
- package/{core → dist/core}/Action_Custom.d.ts +2 -1
- package/dist/core/Action_Custom.d.ts.map +1 -0
- package/dist/core/Action_Custom.js +32 -0
- package/dist/core/Action_Custom.js.map +1 -0
- package/{core → dist/core}/Action_Http.d.ts +2 -1
- package/dist/core/Action_Http.d.ts.map +1 -0
- package/dist/core/Action_Http.js +181 -0
- package/dist/core/Action_Http.js.map +1 -0
- package/{core → dist/core}/Action_Log.d.ts +2 -1
- package/dist/core/Action_Log.d.ts.map +1 -0
- package/dist/core/Action_Log.js +36 -0
- package/dist/core/Action_Log.js.map +1 -0
- package/{core → dist/core}/Action_Sleep.d.ts +2 -1
- package/dist/core/Action_Sleep.d.ts.map +1 -0
- package/dist/core/Action_Sleep.js +34 -0
- package/dist/core/Action_Sleep.js.map +1 -0
- package/{core → dist/core}/Action_ThrowException.d.ts +2 -1
- package/dist/core/Action_ThrowException.d.ts.map +1 -0
- package/dist/core/Action_ThrowException.js +33 -0
- package/dist/core/Action_ThrowException.js.map +1 -0
- package/{core → dist/core}/ContainerContext.d.ts +1 -0
- package/dist/core/ContainerContext.d.ts.map +1 -0
- package/{core → dist/core}/ContainerContext.js +5 -10
- package/dist/core/ContainerContext.js.map +1 -0
- package/{core → dist/core}/Reporter.d.ts +2 -1
- package/dist/core/Reporter.d.ts.map +1 -0
- package/{core → dist/core}/Reporter.js +36 -40
- package/dist/core/Reporter.js.map +1 -0
- package/{core → dist/core}/Scenario.d.ts +2 -1
- package/dist/core/Scenario.d.ts.map +1 -0
- package/dist/core/Scenario.js +31 -0
- package/dist/core/Scenario.js.map +1 -0
- package/{core → dist/core}/TestException.d.ts +1 -0
- package/dist/core/TestException.d.ts.map +1 -0
- package/{core → dist/core}/TestException.js +2 -6
- package/dist/core/TestException.js.map +1 -0
- package/{core → dist/core}/_base_apis.d.ts +3 -2
- package/dist/core/_base_apis.d.ts.map +1 -0
- package/dist/core/_base_apis.js +81 -0
- package/dist/core/_base_apis.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/{test-app → dist/test-app}/AppTester.d.ts +2 -1
- package/dist/test-app/AppTester.d.ts.map +1 -0
- package/dist/test-app/AppTester.js +47 -0
- package/dist/test-app/AppTester.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +23 -12
- package/core/Action.js +0 -210
- package/core/Action.js.map +0 -1
- package/core/Action_Container.js +0 -112
- package/core/Action_Container.js.map +0 -1
- package/core/Action_Custom.js +0 -46
- package/core/Action_Custom.js.map +0 -1
- package/core/Action_Http.js +0 -197
- package/core/Action_Http.js.map +0 -1
- package/core/Action_Log.js +0 -48
- package/core/Action_Log.js.map +0 -1
- package/core/Action_Sleep.js +0 -48
- package/core/Action_Sleep.js.map +0 -1
- package/core/Action_ThrowException.js +0 -47
- package/core/Action_ThrowException.js.map +0 -1
- package/core/ContainerContext.js.map +0 -1
- package/core/Reporter.js.map +0 -1
- package/core/Scenario.js +0 -44
- package/core/Scenario.js.map +0 -1
- package/core/TestException.js.map +0 -1
- package/core/_base_apis.js +0 -99
- package/core/_base_apis.js.map +0 -1
- package/index.d.ts +0 -13
- package/index.js +0 -47
- package/index.js.map +0 -1
- package/test-app/AppTester.js +0 -59
- package/test-app/AppTester.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action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AC;YACjD,IAAI,CAAC,UAAU,CAAC,OAAO,YAAY,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;YACzG,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;QAC9C,CAAC;QAED,OAAO,YAAY,CAAC;IACrB,CAAC;CACD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Created by IR on 3/18/17.
|
|
3
3
|
*/
|
|
4
|
-
import { Action } from "./Action";
|
|
4
|
+
import { Action } from "./Action.js";
|
|
5
5
|
import { LogLevel } from "@intuitionrobotics/ts-common";
|
|
6
6
|
export declare class Action_Log extends Action {
|
|
7
7
|
private readonly logMessage;
|
|
@@ -9,3 +9,4 @@ export declare class Action_Log extends Action {
|
|
|
9
9
|
protected constructor(logMessage: string, level: LogLevel);
|
|
10
10
|
protected execute(): Promise<void>;
|
|
11
11
|
}
|
|
12
|
+
//# sourceMappingURL=Action_Log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action_Log.d.ts","sourceRoot":"","sources":["../../src/main/core/Action_Log.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,QAAQ,EAAC,MAAM,8BAA8B,CAAC;AAGtD,qBAAa,UACZ,SAAQ,MAAM;IACd,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IAEjC,SAAS,aAAa,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ;cAOzC,OAAO;CAGvB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Testelot is a typescript scenario composing framework
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Created by IR on 3/18/17.
|
|
20
|
+
*/
|
|
21
|
+
import { Action } from "./Action.js";
|
|
22
|
+
import { LogLevel } from "@intuitionrobotics/ts-common";
|
|
23
|
+
export class Action_Log extends Action {
|
|
24
|
+
logMessage;
|
|
25
|
+
level;
|
|
26
|
+
constructor(logMessage, level) {
|
|
27
|
+
super(Action_Log);
|
|
28
|
+
this.setLabel();
|
|
29
|
+
this.logMessage = logMessage;
|
|
30
|
+
this.level = level;
|
|
31
|
+
}
|
|
32
|
+
async execute() {
|
|
33
|
+
this.log(this.level, false, [this.logMessage]);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=Action_Log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action_Log.js","sourceRoot":"","sources":["../../src/main/core/Action_Log.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,QAAQ,EAAC,MAAM,8BAA8B,CAAC;AAGtD,MAAM,OAAO,UACZ,SAAQ,MAAM;IACG,UAAU,CAAS;IACnB,KAAK,CAAW;IAEjC,YAAsB,UAAkB,EAAE,KAAe;QACxD,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACpB,CAAC;IAES,KAAK,CAAC,OAAO;QACtB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAChD,CAAC;CACD"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Created by IR on 3/18/17.
|
|
3
3
|
*/
|
|
4
|
-
import { Action } from "./Action";
|
|
4
|
+
import { Action } from "./Action.js";
|
|
5
5
|
export declare class Action_Sleep extends Action {
|
|
6
6
|
private readonly sleepMs;
|
|
7
7
|
protected constructor(sleepMs: number);
|
|
8
8
|
protected execute(): Promise<unknown>;
|
|
9
9
|
}
|
|
10
|
+
//# sourceMappingURL=Action_Sleep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action_Sleep.d.ts","sourceRoot":"","sources":["../../src/main/core/Action_Sleep.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAInC,qBAAa,YACZ,SAAQ,MAAM;IACd,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IAEjC,SAAS,aAAa,OAAO,EAAE,MAAM;cAMrB,OAAO;CAGvB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Testelot is a typescript scenario composing framework
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Created by IR on 3/18/17.
|
|
20
|
+
*/
|
|
21
|
+
import { Action } from "./Action.js";
|
|
22
|
+
import { timeout } from "@intuitionrobotics/ts-common";
|
|
23
|
+
export class Action_Sleep extends Action {
|
|
24
|
+
sleepMs;
|
|
25
|
+
constructor(sleepMs) {
|
|
26
|
+
super(Action_Sleep);
|
|
27
|
+
this.setLabel(`Sleeping for ${sleepMs} ms`);
|
|
28
|
+
this.sleepMs = sleepMs;
|
|
29
|
+
}
|
|
30
|
+
async execute() {
|
|
31
|
+
return timeout(this.sleepMs);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=Action_Sleep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action_Sleep.js","sourceRoot":"","sources":["../../src/main/core/Action_Sleep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,OAAO,EAAC,MAAM,8BAA8B,CAAC;AAGrD,MAAM,OAAO,YACZ,SAAQ,MAAM;IACG,OAAO,CAAS;IAEjC,YAAsB,OAAe;QACpC,KAAK,CAAC,YAAY,CAAC,CAAC;QACpB,IAAI,CAAC,QAAQ,CAAC,gBAAgB,OAAO,KAAK,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;IAES,KAAK,CAAC,OAAO;QACtB,OAAO,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;CACD"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Created by IR on 3/18/17.
|
|
3
3
|
*/
|
|
4
|
-
import { Action } from "./Action";
|
|
4
|
+
import { Action } from "./Action.js";
|
|
5
5
|
export declare class Action_ThrowException extends Action {
|
|
6
6
|
private readonly message;
|
|
7
7
|
protected constructor(message: string, tag?: string);
|
|
8
8
|
protected execute(): Promise<void>;
|
|
9
9
|
}
|
|
10
|
+
//# sourceMappingURL=Action_ThrowException.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action_ThrowException.d.ts","sourceRoot":"","sources":["../../src/main/core/Action_ThrowException.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAInC,qBAAa,qBACZ,SAAQ,MAAM;IACd,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IAEjC,SAAS,aAAa,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;cAKnC,OAAO;CAGvB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Testelot is a typescript scenario composing framework
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Created by IR on 3/18/17.
|
|
20
|
+
*/
|
|
21
|
+
import { Action } from "./Action.js";
|
|
22
|
+
import { Exception } from "@intuitionrobotics/ts-common";
|
|
23
|
+
export class Action_ThrowException extends Action {
|
|
24
|
+
message;
|
|
25
|
+
constructor(message, tag) {
|
|
26
|
+
super(Action_ThrowException, tag);
|
|
27
|
+
this.message = message;
|
|
28
|
+
}
|
|
29
|
+
async execute() {
|
|
30
|
+
throw new Exception(this.message);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=Action_ThrowException.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action_ThrowException.js","sourceRoot":"","sources":["../../src/main/core/Action_ThrowException.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAGvD,MAAM,OAAO,qBACZ,SAAQ,MAAM;IACG,OAAO,CAAS;IAEjC,YAAsB,OAAe,EAAE,GAAY;QAClD,KAAK,CAAC,qBAAqB,EAAE,GAAG,CAAC,CAAC;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;IAES,KAAK,CAAC,OAAO;QACtB,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContainerContext.d.ts","sourceRoot":"","sources":["../../src/main/core/ContainerContext.ts"],"names":[],"mappings":"AAkBA;;GAEG;AAEH,qBAAa,UAAU,CAAC,CAAC;IACxB,SAAgB,GAAG,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,CAAC;gBAEZ,GAAG,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC;CAIzC;AAED,qBAAa,YAAY;IAExB,OAAO,CAAC,GAAG,CAA4C;IAEvD,MAAM,CAAC,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC;IAI3B,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,UAAU,CAAC,SAAS,CAAC,GACR,SAAS;IAG1C,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,UAAU,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,SAAS;IAI3D,KAAK;CAGL"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/*
|
|
3
2
|
* Testelot is a typescript scenario composing framework
|
|
4
3
|
*
|
|
@@ -16,22 +15,19 @@
|
|
|
16
15
|
* See the License for the specific language governing permissions and
|
|
17
16
|
* limitations under the License.
|
|
18
17
|
*/
|
|
19
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.TypedHashMap = exports.ContextKey = void 0;
|
|
21
18
|
/**
|
|
22
19
|
* Created by IR on 3/18/17.
|
|
23
20
|
*/
|
|
24
|
-
class ContextKey {
|
|
21
|
+
export class ContextKey {
|
|
22
|
+
key;
|
|
23
|
+
defaultValue;
|
|
25
24
|
constructor(key, defaultValue) {
|
|
26
25
|
this.key = key;
|
|
27
26
|
this.defaultValue = defaultValue;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
constructor() {
|
|
33
|
-
this.map = new Map();
|
|
34
|
-
}
|
|
29
|
+
export class TypedHashMap {
|
|
30
|
+
map = new Map();
|
|
35
31
|
delete(key) {
|
|
36
32
|
return this.map.delete(key.key);
|
|
37
33
|
}
|
|
@@ -45,5 +41,4 @@ class TypedHashMap {
|
|
|
45
41
|
return this.map.clear();
|
|
46
42
|
}
|
|
47
43
|
}
|
|
48
|
-
exports.TypedHashMap = TypedHashMap;
|
|
49
44
|
//# sourceMappingURL=ContainerContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContainerContext.js","sourceRoot":"","sources":["../../src/main/core/ContainerContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AAEH,MAAM,OAAO,UAAU;IACN,GAAG,CAAS;IACrB,YAAY,CAAK;IAExB,YAAY,GAAW,EAAE,YAAgB;QACxC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IAClC,CAAC;CACD;AAED,MAAM,OAAO,YAAY;IAEhB,GAAG,GAAqB,IAAI,GAAG,EAAe,CAAC;IAEvD,MAAM,CAAC,GAAoB;QAC1B,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;IAED,GAAG,CAAY,GAA0B;QACxC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAc,CAAC;IAC3C,CAAC;IAED,GAAG,CAAY,GAA0B,EAAE,KAAgB;QAC1D,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACtC,CAAC;IAEA,KAAK;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;IACzB,CAAC;CACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action } from "./Action";
|
|
1
|
+
import { Action } from "./Action.js";
|
|
2
2
|
import { Logger } from "@intuitionrobotics/ts-common";
|
|
3
3
|
declare class ReportSummary {
|
|
4
4
|
Running: number;
|
|
@@ -25,3 +25,4 @@ export declare class ActionReport {
|
|
|
25
25
|
appendLog(logMessage: string): void;
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
28
|
+
//# sourceMappingURL=Reporter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reporter.d.ts","sourceRoot":"","sources":["../../src/main/core/Reporter.ts"],"names":[],"mappings":"AAkBA,OAAO,EACN,MAAM,EAEN,MAAM,aAAa,CAAC;AAErB,OAAO,EAGN,MAAM,EASN,MAAM,8BAA8B,CAAC;AAEtC,cAAM,aAAa;IAClB,OAAO,EAAE,MAAM,CAAK;IACpB,OAAO,EAAE,MAAM,CAAK;IACpB,OAAO,EAAE,MAAM,CAAK;IACpB,KAAK,EAAE,MAAM,CAAK;CAClB;AAED,qBAAa,QACZ,SAAQ,MAAM;IAEd,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAC/D,SAAgB,OAAO,EAAE,aAAa,CAAuB;IAE7D,OAAO,CAAC,MAAM,CAAgB;IAE9B,OAAO,CAAC,QAAQ,CAA+B;;IAO/C,IAAI;IAGJ,UAAU,CAAC,UAAU,EAAE,MAAM;IAK7B,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC;IAMnC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC;CAmBjC;AAGD,qBAAa,YAAY;gBACZ,MAAM,EAAE,MAAM;IAI1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,IAAI,CAAc;IAE1B,MAAM;IAIN,SAAS,CAAC,UAAU,EAAE,MAAM;CAG5B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/*
|
|
3
2
|
* Testelot is a typescript scenario composing framework
|
|
4
3
|
*
|
|
@@ -16,25 +15,22 @@
|
|
|
16
15
|
* See the License for the specific language governing permissions and
|
|
17
16
|
* limitations under the License.
|
|
18
17
|
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const Action_1 = require("./Action");
|
|
22
|
-
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
18
|
+
import { Action, Status } from "./Action.js";
|
|
19
|
+
import { BeLogged, LogClient, Logger, LogLevel, NoColor, _logger_convertLogParamsToStrings, _logger_indentNewLineBy, DefaultLogPrefixComposer, LogClient_Terminal } from "@intuitionrobotics/ts-common";
|
|
23
20
|
class ReportSummary {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
this.Error = 0;
|
|
29
|
-
}
|
|
21
|
+
Running = 0;
|
|
22
|
+
Skipped = 0;
|
|
23
|
+
Success = 0;
|
|
24
|
+
Error = 0;
|
|
30
25
|
}
|
|
31
|
-
class Reporter extends
|
|
26
|
+
export class Reporter extends Logger {
|
|
27
|
+
reports = {};
|
|
28
|
+
summary = new ReportSummary();
|
|
29
|
+
report;
|
|
30
|
+
reporter = new ReporterLogClient(this);
|
|
32
31
|
constructor() {
|
|
33
32
|
super("Testelot");
|
|
34
|
-
this.
|
|
35
|
-
this.summary = new ReportSummary();
|
|
36
|
-
this.reporter = new ReporterLogClient(this);
|
|
37
|
-
ts_common_1.BeLogged.addClient(this.reporter);
|
|
33
|
+
BeLogged.addClient(this.reporter);
|
|
38
34
|
}
|
|
39
35
|
init() {
|
|
40
36
|
}
|
|
@@ -49,13 +45,13 @@ class Reporter extends ts_common_1.Logger {
|
|
|
49
45
|
}
|
|
50
46
|
onActionEnded(action) {
|
|
51
47
|
switch (action.status) {
|
|
52
|
-
case
|
|
53
|
-
case
|
|
48
|
+
case Status.Ready:
|
|
49
|
+
case Status.Running:
|
|
54
50
|
this.logWarning(`action state: ${action.status} found in action ended event`);
|
|
55
51
|
break;
|
|
56
|
-
case
|
|
57
|
-
case
|
|
58
|
-
case
|
|
52
|
+
case Status.Skipped:
|
|
53
|
+
case Status.Success:
|
|
54
|
+
case Status.Error:
|
|
59
55
|
this.reporter.onContainerEnded();
|
|
60
56
|
if (action.isContainer()) {
|
|
61
57
|
return;
|
|
@@ -65,12 +61,12 @@ class Reporter extends ts_common_1.Logger {
|
|
|
65
61
|
}
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
|
-
|
|
69
|
-
class ActionReport {
|
|
64
|
+
export class ActionReport {
|
|
70
65
|
constructor(action) {
|
|
71
|
-
this.logs = "";
|
|
72
66
|
this.action = action;
|
|
73
67
|
}
|
|
68
|
+
action;
|
|
69
|
+
logs = "";
|
|
74
70
|
getLog() {
|
|
75
71
|
return this.logs;
|
|
76
72
|
}
|
|
@@ -78,7 +74,6 @@ class ActionReport {
|
|
|
78
74
|
this.logs += `${logMessage}\n`;
|
|
79
75
|
}
|
|
80
76
|
}
|
|
81
|
-
exports.ActionReport = ActionReport;
|
|
82
77
|
function pad(value, length) {
|
|
83
78
|
let s = "" + value;
|
|
84
79
|
while (s.length < (length || 2)) {
|
|
@@ -86,26 +81,28 @@ function pad(value, length) {
|
|
|
86
81
|
}
|
|
87
82
|
return s;
|
|
88
83
|
}
|
|
89
|
-
class ReporterLogClient extends
|
|
84
|
+
class ReporterLogClient extends LogClient {
|
|
85
|
+
report;
|
|
86
|
+
indent = "";
|
|
87
|
+
static indent = " ";
|
|
90
88
|
constructor(report) {
|
|
91
89
|
super();
|
|
92
|
-
this.indent = "";
|
|
93
|
-
this.composer = (tag, level) => {
|
|
94
|
-
const successPart = `\x1b[32m${pad(this.report.summary.Success, 3)}${ts_common_1.NoColor}`;
|
|
95
|
-
const skippedPart = `\x1b[90m\x1b[1m${pad(this.report.summary.Skipped, 3)}${ts_common_1.NoColor}`;
|
|
96
|
-
const errorPart = `\x1b[31m${pad(this.report.summary.Error, 3)}${ts_common_1.NoColor}`;
|
|
97
|
-
const status = `${errorPart}/${skippedPart}/${successPart}`;
|
|
98
|
-
const defaultPrefix = (0, ts_common_1.DefaultLogPrefixComposer)("Testelot", level);
|
|
99
|
-
const color = ts_common_1.LogClient_Terminal.getColor(level);
|
|
100
|
-
return ` ${defaultPrefix} ${ts_common_1.NoColor}[${status}]:${color} ${this.indent}`;
|
|
101
|
-
};
|
|
102
90
|
this.report = report;
|
|
103
91
|
this.setComposer(this.composer);
|
|
104
92
|
}
|
|
93
|
+
composer = (tag, level) => {
|
|
94
|
+
const successPart = `\x1b[32m${pad(this.report.summary.Success, 3)}${NoColor}`;
|
|
95
|
+
const skippedPart = `\x1b[90m\x1b[1m${pad(this.report.summary.Skipped, 3)}${NoColor}`;
|
|
96
|
+
const errorPart = `\x1b[31m${pad(this.report.summary.Error, 3)}${NoColor}`;
|
|
97
|
+
const status = `${errorPart}/${skippedPart}/${successPart}`;
|
|
98
|
+
const defaultPrefix = DefaultLogPrefixComposer("Testelot", level);
|
|
99
|
+
const color = LogClient_Terminal.getColor(level);
|
|
100
|
+
return ` ${defaultPrefix} ${NoColor}[${status}]:${color} ${this.indent}`;
|
|
101
|
+
};
|
|
105
102
|
logMessage(level, bold, prefix, toLog) {
|
|
106
|
-
const color =
|
|
107
|
-
const paramsAsStrings =
|
|
108
|
-
paramsAsStrings.forEach(str => console.log(
|
|
103
|
+
const color = LogClient_Terminal.getColor(level, bold);
|
|
104
|
+
const paramsAsStrings = _logger_convertLogParamsToStrings(toLog);
|
|
105
|
+
paramsAsStrings.forEach(str => console.log(_logger_indentNewLineBy(color + prefix, str), NoColor));
|
|
109
106
|
}
|
|
110
107
|
onContainerStarted() {
|
|
111
108
|
this.indent += ReporterLogClient.indent;
|
|
@@ -115,5 +112,4 @@ class ReporterLogClient extends ts_common_1.LogClient {
|
|
|
115
112
|
return;
|
|
116
113
|
}
|
|
117
114
|
}
|
|
118
|
-
ReporterLogClient.indent = " ";
|
|
119
115
|
//# sourceMappingURL=Reporter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reporter.js","sourceRoot":"","sources":["../../src/main/core/Reporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACN,MAAM,EACN,MAAM,EACN,MAAM,aAAa,CAAC;AAErB,OAAO,EACN,QAAQ,EACR,SAAS,EACT,MAAM,EACN,QAAQ,EACR,OAAO,EACP,iCAAiC,EACjC,uBAAuB,EACvB,wBAAwB,EACxB,kBAAkB,EAGlB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,aAAa;IAClB,OAAO,GAAW,CAAC,CAAC;IACpB,OAAO,GAAW,C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|
4
|
+
import { Action_Container } from "./Action_Container.js";
|
|
5
5
|
export declare class Scenario extends Action_Container {
|
|
6
6
|
protected constructor();
|
|
7
7
|
run: () => Promise<void>;
|
|
8
8
|
}
|
|
9
|
+
//# sourceMappingURL=Scenario.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scenario.d.ts","sourceRoot":"","sources":["../../src/main/core/Scenario.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAEvD,qBAAa,QACZ,SAAQ,gBAAgB;IAExB,SAAS;IAIF,GAAG,sBAGR;CACF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Testelot is a typescript scenario composing framework
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Created by IR on 3/18/17.
|
|
20
|
+
*/
|
|
21
|
+
import { Action_Container } from "./Action_Container.js";
|
|
22
|
+
export class Scenario extends Action_Container {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(Scenario);
|
|
25
|
+
}
|
|
26
|
+
run = async () => {
|
|
27
|
+
// @ts-expect-error TS struggles with this dynamic typing
|
|
28
|
+
await this._execute();
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=Scenario.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scenario.js","sourceRoot":"","sources":["../../src/main/core/Scenario.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAEvD,MAAM,OAAO,QACZ,SAAQ,gBAAgB;IAExB;QACC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACjB,CAAC;IAEM,GAAG,GAAG,KAAK,IAAI,EAAE;QACvB,yDAAyD;QACzD,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;IACvB,CAAC,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestException.d.ts","sourceRoot":"","sources":["../../src/main/core/TestException.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAG7D,qBAAa,aACZ,SAAQ,eAAe;gBAEX,OAAO,EAAE,MAAM;CAG3B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/*
|
|
3
2
|
* Testelot is a typescript scenario composing framework
|
|
4
3
|
*
|
|
@@ -16,16 +15,13 @@
|
|
|
16
15
|
* See the License for the specific language governing permissions and
|
|
17
16
|
* limitations under the License.
|
|
18
17
|
*/
|
|
19
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.TestException = void 0;
|
|
21
18
|
/**
|
|
22
19
|
* Created by IR on 3/18/17.
|
|
23
20
|
*/
|
|
24
|
-
|
|
25
|
-
class TestException extends
|
|
21
|
+
import { CustomException } from "@intuitionrobotics/ts-common";
|
|
22
|
+
export class TestException extends CustomException {
|
|
26
23
|
constructor(message) {
|
|
27
24
|
super(TestException, message);
|
|
28
25
|
}
|
|
29
26
|
}
|
|
30
|
-
exports.TestException = TestException;
|
|
31
27
|
//# sourceMappingURL=TestException.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestException.js","sourceRoot":"","sources":["../../src/main/core/TestException.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAG7D,MAAM,OAAO,aACZ,SAAQ,eAAe;IAEvB,YAAY,OAAe;QAC1B,KAAK,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;IAC9B,CAAC;CACD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LogLevel } from "@intuitionrobotics/ts-common";
|
|
2
|
-
import { Action_Custom, Action_Http, Action_Log, Action_Sleep, Action_ThrowException, ContextKey, HttpMethod, Scenario } from "../index";
|
|
3
|
-
import { Reporter } from "./Reporter";
|
|
2
|
+
import { Action_Custom, Action_Http, Action_Log, Action_Sleep, Action_ThrowException, ContextKey, HttpMethod, Scenario } from "../index.js";
|
|
3
|
+
import { Reporter } from "./Reporter.js";
|
|
4
4
|
export declare function __log(logMessage: string, level?: LogLevel): Action_Log;
|
|
5
5
|
export declare function __sleep(sleepMs: number): Action_Sleep;
|
|
6
6
|
export declare function __http<T extends object = any>(method: HttpMethod): Action_Http;
|
|
@@ -10,3 +10,4 @@ export declare function __scenario(label: string | (() => string), reporter?: Re
|
|
|
10
10
|
export declare function __throwException(message: string): Action_ThrowException;
|
|
11
11
|
export declare function enableTerminalLogReWrite(): void;
|
|
12
12
|
export declare function _executeScenario(scenario: Scenario): void;
|
|
13
|
+
//# sourceMappingURL=_base_apis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_base_apis.d.ts","sourceRoot":"","sources":["../../src/main/core/_base_apis.ts"],"names":[],"mappings":"AAmBA,OAAO,EAEN,QAAQ,EACR,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,YAAY,EACZ,qBAAqB,EACrB,UAAU,EACV,UAAU,EACV,QAAQ,EAER,MAAM,aAAa,CAAC;AAErB,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAGvC,wBAAgB,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,GAAE,QAA2B,GAAG,UAAU,CAGxF;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAGrD;AAED,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,EAAE,MAAM,EAAE,UAAU,GAAG,WAAW,CAG9E;AAED,wBAAgB,QAAQ,CAAC,CAAC,GAAE,GAAG,EAAE,CAAC,GAAE,GAAG,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,aAAa,CAGhH;AAED,wBAAgB,aAAa,CAAC,CAAC,GAAE,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,aAAa,CAK7F;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,CASxF;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB,CAGvE;AAED,wBAAgB,wBAAwB,SAYvC;AAGD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,QAUlD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Testelot is a typescript scenario composing framework
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { execSync } from "child_process";
|
|
19
|
+
import { BeLogged, LogLevel } from "@intuitionrobotics/ts-common";
|
|
20
|
+
import { Action_Custom, Action_Http, Action_Log, Action_Sleep, Action_ThrowException, ContextKey, HttpMethod, Scenario, TestException, } from "../index.js";
|
|
21
|
+
import { Reporter } from "./Reporter.js";
|
|
22
|
+
import objectHash from "object-hash";
|
|
23
|
+
export function __log(logMessage, level = LogLevel.Verbose) {
|
|
24
|
+
// @ts-expect-error TS struggles with this dynamic typing
|
|
25
|
+
return new Action_Log(logMessage, level);
|
|
26
|
+
}
|
|
27
|
+
export function __sleep(sleepMs) {
|
|
28
|
+
// @ts-expect-error TS struggles with this dynamic typing
|
|
29
|
+
return new Action_Sleep(sleepMs);
|
|
30
|
+
}
|
|
31
|
+
export function __http(method) {
|
|
32
|
+
// @ts-expect-error protected constructor
|
|
33
|
+
return new Action_Http(method);
|
|
34
|
+
}
|
|
35
|
+
export function __custom(action) {
|
|
36
|
+
// @ts-expect-error TS struggles with this dynamic typing
|
|
37
|
+
return new Action_Custom(action);
|
|
38
|
+
}
|
|
39
|
+
export function __compareKeys(key1, key2) {
|
|
40
|
+
return __custom(async (action) => {
|
|
41
|
+
if (objectHash(action.get(key1)) !== objectHash(action.get(key2)))
|
|
42
|
+
throw new TestException(`NON matched values for keys '${key1.key}' !== '${key2.key}'`);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
export function __scenario(label, reporter) {
|
|
46
|
+
// @ts-expect-error TS struggles with this dynamic typing
|
|
47
|
+
const scenario = new Scenario();
|
|
48
|
+
scenario.setLabel(label);
|
|
49
|
+
if (reporter) {
|
|
50
|
+
scenario.setReporter(reporter);
|
|
51
|
+
}
|
|
52
|
+
return scenario;
|
|
53
|
+
}
|
|
54
|
+
export function __throwException(message) {
|
|
55
|
+
// @ts-expect-error TS struggles with this dynamic typing
|
|
56
|
+
return new Action_ThrowException(message);
|
|
57
|
+
}
|
|
58
|
+
export function enableTerminalLogReWrite() {
|
|
59
|
+
BeLogged.rewriteConsole = (lineCount => {
|
|
60
|
+
let rewriteCommand = "";
|
|
61
|
+
for (let i = 0; i < lineCount; i++) {
|
|
62
|
+
rewriteCommand += "tput cuu1 tput el;";
|
|
63
|
+
}
|
|
64
|
+
try {
|
|
65
|
+
execSync(rewriteCommand, { stdio: 'inherit' });
|
|
66
|
+
}
|
|
67
|
+
catch (_e) {
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
export function _executeScenario(scenario) {
|
|
72
|
+
new Promise(scenario.run)
|
|
73
|
+
.then(() => {
|
|
74
|
+
scenario.logInfo("-------------- COMPLETED -----------------");
|
|
75
|
+
})
|
|
76
|
+
.catch(reason => {
|
|
77
|
+
scenario.logError("---------------- ERROR -----------------");
|
|
78
|
+
scenario.logError(reason);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=_base_apis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_base_apis.js","sourceRoot":"","sources":["../../src/main/core/_base_apis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EACN,QAAQ,EACR,QAAQ,EACR,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,YAAY,EACZ,qBAAqB,EACrB,UAAU,EACV,UAAU,EACV,QAAQ,EACR,a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;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,OAAe;IAC/C,yDAAyD;IACzD,OAAO,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,wBAAwB;IACvC,QAAQ,CAAC,cAAc,GAAG,CAAC,SAAS,CAAC,EAAE;QACtC,IAAI,cAAc,GAAG,EAAE,CAAC;QACxB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC;YACpC,cAAc,IAAI,oBAAoB,CAAA;QACvC,CAAC;QAED,IAAI,CAAC;YACJ,QAAQ,CAAC,cAAc,EAAE,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC,CAAC;QAC9C,CAAC;QAAC,OAAO,EAAE,EAAE,CAAC;QACd,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC;AAGD,MAAM,UAAU,gBAAgB,CAAC,QAAkB;IAClD,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;SACvB,IAAI,CAAC,GAAG,EAAE;QACV,QAAQ,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC;IAChE,CAAC,CAAC;SACD,KAAK,CAAC,MAAM,CAAC,EAAE;QACf,QAAQ,CAAC,QAAQ,CAAC,0CAA0C,CAAC,CAAC;QAC9D,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;AAEL,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './core/TestException.js';
|
|
2
|
+
export * from './core/Action.js';
|
|
3
|
+
export * from './core/Action_Container.js';
|
|
4
|
+
export * from './core/Action_Custom.js';
|
|
5
|
+
export * from './core/Action_Http.js';
|
|
6
|
+
export * from './core/Action_Log.js';
|
|
7
|
+
export * from './core/Action_Sleep.js';
|
|
8
|
+
export * from './core/Action_ThrowException.js';
|
|
9
|
+
export * from './core/ContainerContext.js';
|
|
10
|
+
export * from './core/Reporter.js';
|
|
11
|
+
export * from './core/Scenario.js';
|
|
12
|
+
export * from './core/_base_apis.js';
|
|
13
|
+
export * from './test-app/AppTester.js';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/main/index.ts"],"names":[],"mappings":"AAkBA,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"}
|