gestament 0.1.0 → 0.3.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/README.md +4 -6
- package/dist/displaySession.d.ts +18 -0
- package/dist/displaySession.d.ts.map +1 -0
- package/dist/element.d.ts +2 -2
- package/dist/errors-6gj5YuLw.cjs +36 -0
- package/dist/errors-6gj5YuLw.cjs.map +1 -0
- package/dist/errors-CCW4ATME.js +37 -0
- package/dist/errors-CCW4ATME.js.map +1 -0
- package/dist/errors.d.ts +2 -2
- package/dist/errors.d.ts.map +1 -1
- package/dist/generated/packageMetadata.d.ts +4 -4
- package/dist/gestament-config.d.ts +2 -2
- package/dist/gestament-launcher-driver.cjs +656 -0
- package/dist/gestament-launcher-driver.cjs.map +1 -0
- package/dist/gestament-launcher-driver.d.ts +13 -0
- package/dist/gestament-launcher-driver.d.ts.map +1 -0
- package/dist/gestament-launcher-driver.mjs +655 -0
- package/dist/gestament-launcher-driver.mjs.map +1 -0
- package/dist/gestament-tray-host.cjs +1 -1
- package/dist/gestament-tray-host.d.ts +2 -2
- package/dist/gestament-tray-host.mjs +1 -1
- package/dist/gestament-xvfb-pool-probe.cjs +29 -0
- package/dist/gestament-xvfb-pool-probe.cjs.map +1 -0
- package/dist/gestament-xvfb-pool-probe.d.ts +13 -0
- package/dist/gestament-xvfb-pool-probe.d.ts.map +1 -0
- package/dist/gestament-xvfb-pool-probe.mjs +28 -0
- package/dist/gestament-xvfb-pool-probe.mjs.map +1 -0
- package/dist/gestament-xvfb-worker.d.ts +2 -2
- package/dist/gestament-xvfb.cjs +8 -2
- package/dist/gestament-xvfb.cjs.map +1 -1
- package/dist/gestament-xvfb.d.ts +2 -2
- package/dist/gestament-xvfb.mjs +8 -2
- package/dist/gestament-xvfb.mjs.map +1 -1
- package/dist/index.cjs +4 -1074
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +4 -1074
- package/dist/index.mjs.map +1 -1
- package/dist/launchGtkApp-BIO_5Xjn.cjs +2479 -0
- package/dist/launchGtkApp-BIO_5Xjn.cjs.map +1 -0
- package/dist/launchGtkApp-qi1qm5G4.js +2479 -0
- package/dist/launchGtkApp-qi1qm5G4.js.map +1 -0
- package/dist/launchGtkApp.d.ts +2 -2
- package/dist/launchGtkApp.d.ts.map +1 -1
- package/dist/launcherDriverProtocol.d.ts +107 -0
- package/dist/launcherDriverProtocol.d.ts.map +1 -0
- package/dist/{native-BRnrsqMn.cjs → native-CBXaFWP-.cjs} +14 -40
- package/dist/native-CBXaFWP-.cjs.map +1 -0
- package/dist/{native-DAhTiLnf.js → native-CWdUmdty.js} +48 -74
- package/dist/native-CWdUmdty.js.map +1 -0
- package/dist/native.d.ts +4 -2
- package/dist/native.d.ts.map +1 -1
- package/dist/prerequisites-BuZST2Dy.cjs +15 -0
- package/dist/prerequisites-BuZST2Dy.cjs.map +1 -0
- package/dist/prerequisites-JB0SKPVd.js +16 -0
- package/dist/prerequisites-JB0SKPVd.js.map +1 -0
- package/dist/prerequisites.d.ts +23 -0
- package/dist/prerequisites.d.ts.map +1 -0
- package/dist/testing.cjs +3 -0
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.ts +4 -2
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.mjs +4 -1
- package/dist/testing.mjs.map +1 -1
- package/dist/tray.d.ts +2 -2
- package/dist/types.d.ts +84 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/wait-DV5gkXs8.js +113 -0
- package/dist/wait-DV5gkXs8.js.map +1 -0
- package/dist/wait-eOIz4nZm.cjs +112 -0
- package/dist/wait-eOIz4nZm.cjs.map +1 -0
- package/dist/wait.d.ts +67 -0
- package/dist/wait.d.ts.map +1 -0
- package/package.json +8 -8
- package/prebuilds/linux-arm/gtk3/node.napi.armv7.glibc.node +0 -0
- package/prebuilds/linux-arm/gtk4/node.napi.armv7.glibc.node +0 -0
- package/prebuilds/linux-arm64/gtk3/node.napi.glibc.node +0 -0
- package/prebuilds/linux-arm64/gtk4/node.napi.glibc.node +0 -0
- package/prebuilds/linux-ia32/gtk3/node.napi.glibc.node +0 -0
- package/prebuilds/linux-ia32/gtk4/node.napi.glibc.node +0 -0
- package/prebuilds/linux-riscv64/gtk3/node.napi.glibc.node +0 -0
- package/prebuilds/linux-riscv64/gtk4/node.napi.glibc.node +0 -0
- package/prebuilds/linux-x64/gtk3/node.napi.glibc.node +0 -0
- package/prebuilds/linux-x64/gtk4/node.napi.glibc.node +0 -0
- package/dist/native-BRnrsqMn.cjs.map +0 -1
- package/dist/native-DAhTiLnf.js.map +0 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ describe('sample GTK app', () => {
|
|
|
66
66
|
- These APIs can be used to check and manipulate widget states.
|
|
67
67
|
- Captures the rendering output of GTK applications to verify the display area and clip state.
|
|
68
68
|
- Detects StatusNotifierItem-based tray icons and allows you to click them, retrieve metadata, and capture screenshots.
|
|
69
|
-
- Runs GTK applications on `xvfb` to enable stable testing in headless environments.
|
|
69
|
+
- Runs GTK applications on launcher-scoped `xvfb` sessions to enable stable testing in headless and concurrent environments.
|
|
70
70
|
|
|
71
71
|
### Environment
|
|
72
72
|
|
|
@@ -86,14 +86,12 @@ The following example is for Debian/Ubuntu:
|
|
|
86
86
|
```bash
|
|
87
87
|
sudo apt-get update
|
|
88
88
|
sudo apt-get install -y \
|
|
89
|
-
at-spi2-core dbus dbus-x11
|
|
90
|
-
libx11-6 libxtst6 \
|
|
91
|
-
xauth xvfb
|
|
89
|
+
at-spi2-core dbus dbus-x11 libx11-6 libxtst6 xauth xvfb
|
|
92
90
|
```
|
|
93
91
|
|
|
94
92
|
- `at-spi2-core` is the AT-SPI runtime environment that gestament uses to identify and operate widgets.
|
|
95
93
|
- `libx11-6` and `libxtst6` are used for X11 screen capture and input operations.
|
|
96
|
-
- `dbus` / `dbus-x11` and `xvfb` / `xauth` are used when running tests headlessly with `gestament-xvfb`.
|
|
94
|
+
- `dbus` / `dbus-x11` and `xvfb` / `xauth` are used when running tests headlessly with gestament's launcher-scoped internal Xvfb sessions or `gestament-xvfb`.
|
|
97
95
|
|
|
98
96
|
This completes the native environment setup.
|
|
99
97
|
|
|
@@ -115,7 +113,7 @@ npm install -D vitest @types/node gestament
|
|
|
115
113
|
|
|
116
114
|
## Documentation
|
|
117
115
|
|
|
118
|
-
|
|
116
|
+
More information, see [the repository documentation](https://github.com/kekyo/gestament/).
|
|
119
117
|
|
|
120
118
|
## License
|
|
121
119
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* name: gestament
|
|
3
|
+
* version: 0.3.0
|
|
4
|
+
* description: TypeScript based test driver for GTK
|
|
5
|
+
* author: Kouji Matsui (@kekyo@mi.kekyo.net)
|
|
6
|
+
* license: MIT
|
|
7
|
+
* repository.url: https://github.com/kekyo/gestament.git
|
|
8
|
+
* git.commit.hash: c15fe3b28fb1c2fb73504c57773b1ee751cbf8c4
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import { GtkAppLauncher, GtkAppLauncherOptions } from './types.js';
|
|
12
|
+
/**
|
|
13
|
+
* Creates a driver-backed launcher that owns a display session per launcher.
|
|
14
|
+
* @param options Launcher options.
|
|
15
|
+
* @returns GtkAppLauncher instance.
|
|
16
|
+
*/
|
|
17
|
+
export declare const createDriverBackedGtkAppLauncher: (options: GtkAppLauncherOptions) => GtkAppLauncher;
|
|
18
|
+
//# sourceMappingURL=displaySession.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"displaySession.d.ts","sourceRoot":"","sources":["../src/displaySession.ts"],"names":[],"mappings":";;;;;;;;;AAyCA,OAAO,KAAK,EAGV,cAAc,EACd,qBAAqB,EAUtB,MAAM,SAAS,CAAC;AAq1DjB;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,GAC3C,SAAS,qBAAqB,KAC7B,cAgCF,CAAC"}
|
package/dist/element.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* name: gestament
|
|
3
|
-
* version: 0.
|
|
3
|
+
* version: 0.3.0
|
|
4
4
|
* description: TypeScript based test driver for GTK
|
|
5
5
|
* author: Kouji Matsui (@kekyo@mi.kekyo.net)
|
|
6
6
|
* license: MIT
|
|
7
7
|
* repository.url: https://github.com/kekyo/gestament.git
|
|
8
|
-
* git.commit.hash:
|
|
8
|
+
* git.commit.hash: c15fe3b28fb1c2fb73504c57773b1ee751cbf8c4
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { NativeElementHandle } from './native.js';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const createGtkAutomationError = (code, message) => {
|
|
3
|
+
const error = new Error(message);
|
|
4
|
+
Object.defineProperty(error, "code", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
value: code
|
|
7
|
+
});
|
|
8
|
+
error.name = "GtkAutomationError";
|
|
9
|
+
return error;
|
|
10
|
+
};
|
|
11
|
+
const createGtkAppExitedError = (message) => createGtkAutomationError("APP_EXITED", message);
|
|
12
|
+
const createGtkInvalidArgumentError = (message) => createGtkAutomationError("INVALID_ARGUMENT", message);
|
|
13
|
+
const createGtkElementNotFoundError = (message) => createGtkAutomationError("ELEMENT_NOT_FOUND", message);
|
|
14
|
+
const createGtkStaleElementError = (message) => createGtkAutomationError("STALE_ELEMENT", message);
|
|
15
|
+
const createGtkOperationTimeoutError = (message) => createGtkAutomationError("TIMEOUT", message);
|
|
16
|
+
const createGtkOperationFailedError = (message) => createGtkAutomationError("OPERATION_FAILED", message);
|
|
17
|
+
const createGtkUnsupportedInterfaceError = (message) => createGtkAutomationError("UNSUPPORTED_INTERFACE", message);
|
|
18
|
+
const normalizeNativeError = (error) => {
|
|
19
|
+
if (error instanceof Error) {
|
|
20
|
+
const maybeCode = error.code;
|
|
21
|
+
if (maybeCode === "ELEMENT_NOT_FOUND" || maybeCode === "INVALID_ARGUMENT" || maybeCode === "NATIVE_LOAD_FAILED" || maybeCode === "OPERATION_FAILED" || maybeCode === "STALE_ELEMENT" || maybeCode === "TIMEOUT" || maybeCode === "UNSUPPORTED_INTERFACE") {
|
|
22
|
+
return createGtkAutomationError(maybeCode, error.message);
|
|
23
|
+
}
|
|
24
|
+
return createGtkAutomationError("OPERATION_FAILED", error.message);
|
|
25
|
+
}
|
|
26
|
+
return createGtkAutomationError("OPERATION_FAILED", String(error));
|
|
27
|
+
};
|
|
28
|
+
exports.createGtkAppExitedError = createGtkAppExitedError;
|
|
29
|
+
exports.createGtkElementNotFoundError = createGtkElementNotFoundError;
|
|
30
|
+
exports.createGtkInvalidArgumentError = createGtkInvalidArgumentError;
|
|
31
|
+
exports.createGtkOperationFailedError = createGtkOperationFailedError;
|
|
32
|
+
exports.createGtkOperationTimeoutError = createGtkOperationTimeoutError;
|
|
33
|
+
exports.createGtkStaleElementError = createGtkStaleElementError;
|
|
34
|
+
exports.createGtkUnsupportedInterfaceError = createGtkUnsupportedInterfaceError;
|
|
35
|
+
exports.normalizeNativeError = normalizeNativeError;
|
|
36
|
+
//# sourceMappingURL=errors-6gj5YuLw.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors-6gj5YuLw.cjs","sources":["../src/errors.ts"],"sourcesContent":["// gestament - TypeScript based test driver for GTK.\n// Copyright (c) Kouji Matsui. (@kekyo@mi.kekyo.net)\n// Under MIT.\n// https://github.com/kekyo/gestament\n\nimport type { GtkAutomationError, GtkAutomationErrorCode } from './types';\n\n/////////////////////////////////////////////////////////////////////////////////////////\n\nconst createGtkAutomationError = (\n code: GtkAutomationErrorCode,\n message: string\n): GtkAutomationError => {\n const error = new Error(message) as GtkAutomationError;\n Object.defineProperty(error, 'code', {\n enumerable: true,\n value: code,\n });\n error.name = 'GtkAutomationError';\n return error;\n};\n\n/** Creates an error for a GTK application that exited before an operation completed. */\nexport const createGtkAppExitedError = (message: string): GtkAutomationError =>\n createGtkAutomationError('APP_EXITED', message);\n\n/** Creates an error for an invalid public API argument. */\nexport const createGtkInvalidArgumentError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('INVALID_ARGUMENT', message);\n\n/** Creates an error for an accessible element that was not found. */\nexport const createGtkElementNotFoundError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('ELEMENT_NOT_FOUND', message);\n\n/** Creates an error for an element whose host object no longer exists. */\nexport const createGtkStaleElementError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('STALE_ELEMENT', message);\n\n/** Creates an error for an operation that exceeded its timeout. */\nexport const createGtkOperationTimeoutError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('TIMEOUT', message);\n\n/** Creates an error for an operation that failed. */\nexport const createGtkOperationFailedError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('OPERATION_FAILED', message);\n\n/** Creates an error for an operation that is not supported by the element. */\nexport const createGtkUnsupportedInterfaceError = (\n message: string\n): GtkAutomationError =>\n createGtkAutomationError('UNSUPPORTED_INTERFACE', message);\n\n/** Converts native addon errors into the public error shape. */\nexport const normalizeNativeError = (error: unknown): GtkAutomationError => {\n if (error instanceof Error) {\n const maybeCode = (error as { code?: unknown }).code;\n if (\n maybeCode === 'ELEMENT_NOT_FOUND' ||\n maybeCode === 'INVALID_ARGUMENT' ||\n maybeCode === 'NATIVE_LOAD_FAILED' ||\n maybeCode === 'OPERATION_FAILED' ||\n maybeCode === 'STALE_ELEMENT' ||\n maybeCode === 'TIMEOUT' ||\n maybeCode === 'UNSUPPORTED_INTERFACE'\n ) {\n return createGtkAutomationError(maybeCode, error.message);\n }\n\n return createGtkAutomationError('OPERATION_FAILED', error.message);\n }\n\n return createGtkAutomationError('OPERATION_FAILED', String(error));\n};\n"],"names":[],"mappings":";AASA,MAAM,2BAA2B,CAC/B,MACA,YACuB;AACvB,QAAM,QAAQ,IAAI,MAAM,OAAO;AAC/B,SAAO,eAAe,OAAO,QAAQ;AAAA,IACnC,YAAY;AAAA,IACZ,OAAO;AAAA,EAAA,CACR;AACD,QAAM,OAAO;AACb,SAAO;AACT;AAGO,MAAM,0BAA0B,CAAC,YACtC,yBAAyB,cAAc,OAAO;AAGzC,MAAM,gCAAgC,CAC3C,YACuB,yBAAyB,oBAAoB,OAAO;AAGtE,MAAM,gCAAgC,CAC3C,YACuB,yBAAyB,qBAAqB,OAAO;AAGvE,MAAM,6BAA6B,CACxC,YACuB,yBAAyB,iBAAiB,OAAO;AAGnE,MAAM,iCAAiC,CAC5C,YACuB,yBAAyB,WAAW,OAAO;AAG7D,MAAM,gCAAgC,CAC3C,YACuB,yBAAyB,oBAAoB,OAAO;AAGtE,MAAM,qCAAqC,CAChD,YAEA,yBAAyB,yBAAyB,OAAO;AAGpD,MAAM,uBAAuB,CAAC,UAAuC;AAC1E,MAAI,iBAAiB,OAAO;AAC1B,UAAM,YAAa,MAA6B;AAChD,QACE,cAAc,uBACd,cAAc,sBACd,cAAc,wBACd,cAAc,sBACd,cAAc,mBACd,cAAc,aACd,cAAc,yBACd;AACA,aAAO,yBAAyB,WAAW,MAAM,OAAO;AAAA,IAC1D;AAEA,WAAO,yBAAyB,oBAAoB,MAAM,OAAO;AAAA,EACnE;AAEA,SAAO,yBAAyB,oBAAoB,OAAO,KAAK,CAAC;AACnE;;;;;;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const createGtkAutomationError = (code, message) => {
|
|
2
|
+
const error = new Error(message);
|
|
3
|
+
Object.defineProperty(error, "code", {
|
|
4
|
+
enumerable: true,
|
|
5
|
+
value: code
|
|
6
|
+
});
|
|
7
|
+
error.name = "GtkAutomationError";
|
|
8
|
+
return error;
|
|
9
|
+
};
|
|
10
|
+
const createGtkAppExitedError = (message) => createGtkAutomationError("APP_EXITED", message);
|
|
11
|
+
const createGtkInvalidArgumentError = (message) => createGtkAutomationError("INVALID_ARGUMENT", message);
|
|
12
|
+
const createGtkElementNotFoundError = (message) => createGtkAutomationError("ELEMENT_NOT_FOUND", message);
|
|
13
|
+
const createGtkStaleElementError = (message) => createGtkAutomationError("STALE_ELEMENT", message);
|
|
14
|
+
const createGtkOperationTimeoutError = (message) => createGtkAutomationError("TIMEOUT", message);
|
|
15
|
+
const createGtkOperationFailedError = (message) => createGtkAutomationError("OPERATION_FAILED", message);
|
|
16
|
+
const createGtkUnsupportedInterfaceError = (message) => createGtkAutomationError("UNSUPPORTED_INTERFACE", message);
|
|
17
|
+
const normalizeNativeError = (error) => {
|
|
18
|
+
if (error instanceof Error) {
|
|
19
|
+
const maybeCode = error.code;
|
|
20
|
+
if (maybeCode === "ELEMENT_NOT_FOUND" || maybeCode === "INVALID_ARGUMENT" || maybeCode === "NATIVE_LOAD_FAILED" || maybeCode === "OPERATION_FAILED" || maybeCode === "STALE_ELEMENT" || maybeCode === "TIMEOUT" || maybeCode === "UNSUPPORTED_INTERFACE") {
|
|
21
|
+
return createGtkAutomationError(maybeCode, error.message);
|
|
22
|
+
}
|
|
23
|
+
return createGtkAutomationError("OPERATION_FAILED", error.message);
|
|
24
|
+
}
|
|
25
|
+
return createGtkAutomationError("OPERATION_FAILED", String(error));
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
createGtkAppExitedError as a,
|
|
29
|
+
createGtkStaleElementError as b,
|
|
30
|
+
createGtkOperationFailedError as c,
|
|
31
|
+
createGtkUnsupportedInterfaceError as d,
|
|
32
|
+
createGtkOperationTimeoutError as e,
|
|
33
|
+
createGtkInvalidArgumentError as f,
|
|
34
|
+
createGtkElementNotFoundError as g,
|
|
35
|
+
normalizeNativeError as n
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=errors-CCW4ATME.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors-CCW4ATME.js","sources":["../src/errors.ts"],"sourcesContent":["// gestament - TypeScript based test driver for GTK.\n// Copyright (c) Kouji Matsui. (@kekyo@mi.kekyo.net)\n// Under MIT.\n// https://github.com/kekyo/gestament\n\nimport type { GtkAutomationError, GtkAutomationErrorCode } from './types';\n\n/////////////////////////////////////////////////////////////////////////////////////////\n\nconst createGtkAutomationError = (\n code: GtkAutomationErrorCode,\n message: string\n): GtkAutomationError => {\n const error = new Error(message) as GtkAutomationError;\n Object.defineProperty(error, 'code', {\n enumerable: true,\n value: code,\n });\n error.name = 'GtkAutomationError';\n return error;\n};\n\n/** Creates an error for a GTK application that exited before an operation completed. */\nexport const createGtkAppExitedError = (message: string): GtkAutomationError =>\n createGtkAutomationError('APP_EXITED', message);\n\n/** Creates an error for an invalid public API argument. */\nexport const createGtkInvalidArgumentError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('INVALID_ARGUMENT', message);\n\n/** Creates an error for an accessible element that was not found. */\nexport const createGtkElementNotFoundError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('ELEMENT_NOT_FOUND', message);\n\n/** Creates an error for an element whose host object no longer exists. */\nexport const createGtkStaleElementError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('STALE_ELEMENT', message);\n\n/** Creates an error for an operation that exceeded its timeout. */\nexport const createGtkOperationTimeoutError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('TIMEOUT', message);\n\n/** Creates an error for an operation that failed. */\nexport const createGtkOperationFailedError = (\n message: string\n): GtkAutomationError => createGtkAutomationError('OPERATION_FAILED', message);\n\n/** Creates an error for an operation that is not supported by the element. */\nexport const createGtkUnsupportedInterfaceError = (\n message: string\n): GtkAutomationError =>\n createGtkAutomationError('UNSUPPORTED_INTERFACE', message);\n\n/** Converts native addon errors into the public error shape. */\nexport const normalizeNativeError = (error: unknown): GtkAutomationError => {\n if (error instanceof Error) {\n const maybeCode = (error as { code?: unknown }).code;\n if (\n maybeCode === 'ELEMENT_NOT_FOUND' ||\n maybeCode === 'INVALID_ARGUMENT' ||\n maybeCode === 'NATIVE_LOAD_FAILED' ||\n maybeCode === 'OPERATION_FAILED' ||\n maybeCode === 'STALE_ELEMENT' ||\n maybeCode === 'TIMEOUT' ||\n maybeCode === 'UNSUPPORTED_INTERFACE'\n ) {\n return createGtkAutomationError(maybeCode, error.message);\n }\n\n return createGtkAutomationError('OPERATION_FAILED', error.message);\n }\n\n return createGtkAutomationError('OPERATION_FAILED', String(error));\n};\n"],"names":[],"mappings":"AASA,MAAM,2BAA2B,CAC/B,MACA,YACuB;AACvB,QAAM,QAAQ,IAAI,MAAM,OAAO;AAC/B,SAAO,eAAe,OAAO,QAAQ;AAAA,IACnC,YAAY;AAAA,IACZ,OAAO;AAAA,EAAA,CACR;AACD,QAAM,OAAO;AACb,SAAO;AACT;AAGO,MAAM,0BAA0B,CAAC,YACtC,yBAAyB,cAAc,OAAO;AAGzC,MAAM,gCAAgC,CAC3C,YACuB,yBAAyB,oBAAoB,OAAO;AAGtE,MAAM,gCAAgC,CAC3C,YACuB,yBAAyB,qBAAqB,OAAO;AAGvE,MAAM,6BAA6B,CACxC,YACuB,yBAAyB,iBAAiB,OAAO;AAGnE,MAAM,iCAAiC,CAC5C,YACuB,yBAAyB,WAAW,OAAO;AAG7D,MAAM,gCAAgC,CAC3C,YACuB,yBAAyB,oBAAoB,OAAO;AAGtE,MAAM,qCAAqC,CAChD,YAEA,yBAAyB,yBAAyB,OAAO;AAGpD,MAAM,uBAAuB,CAAC,UAAuC;AAC1E,MAAI,iBAAiB,OAAO;AAC1B,UAAM,YAAa,MAA6B;AAChD,QACE,cAAc,uBACd,cAAc,sBACd,cAAc,wBACd,cAAc,sBACd,cAAc,mBACd,cAAc,aACd,cAAc,yBACd;AACA,aAAO,yBAAyB,WAAW,MAAM,OAAO;AAAA,IAC1D;AAEA,WAAO,yBAAyB,oBAAoB,MAAM,OAAO;AAAA,EACnE;AAEA,SAAO,yBAAyB,oBAAoB,OAAO,KAAK,CAAC;AACnE;"}
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* name: gestament
|
|
3
|
-
* version: 0.
|
|
3
|
+
* version: 0.3.0
|
|
4
4
|
* description: TypeScript based test driver for GTK
|
|
5
5
|
* author: Kouji Matsui (@kekyo@mi.kekyo.net)
|
|
6
6
|
* license: MIT
|
|
7
7
|
* repository.url: https://github.com/kekyo/gestament.git
|
|
8
|
-
* git.commit.hash:
|
|
8
|
+
* git.commit.hash: c15fe3b28fb1c2fb73504c57773b1ee751cbf8c4
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { GtkAutomationError } from './types.js';
|
package/dist/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";;;;;;;;;AAKA,OAAO,KAAK,EAAE,kBAAkB,EAA0B,MAAM,SAAS,CAAC;AAiB1E,2FAAwF;AACxF,eAAO,MAAM,uBAAuB,GAAI,SAAS,MAAM,KAAG,kBACT,CAAC;AAElD,2DAA2D;AAC3D,eAAO,MAAM,6BAA6B,GACxC,SAAS,MAAM,KACd,kBAA2E,CAAC;AAE/E,qEAAqE;AACrE,eAAO,MAAM,6BAA6B,GACxC,SAAS,MAAM,KACd,kBAA4E,CAAC;AAEhF,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B,GACrC,SAAS,MAAM,KACd,kBAAwE,CAAC;AAE5E,mEAAmE;AACnE,eAAO,MAAM,8BAA8B,GACzC,SAAS,MAAM,KACd,kBAAkE,CAAC;AAEtE,qDAAqD;AACrD,eAAO,MAAM,6BAA6B,GACxC,SAAS,MAAM,KACd,kBAA2E,CAAC;AAE/E,8EAA8E;AAC9E,eAAO,MAAM,kCAAkC,GAC7C,SAAS,MAAM,KACd,kBACyD,CAAC;AAE7D,gEAAgE;AAChE,eAAO,MAAM,oBAAoB,GAAI,OAAO,OAAO,KAAG,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";;;;;;;;;AAKA,OAAO,KAAK,EAAE,kBAAkB,EAA0B,MAAM,SAAS,CAAC;AAiB1E,2FAAwF;AACxF,eAAO,MAAM,uBAAuB,GAAI,SAAS,MAAM,KAAG,kBACT,CAAC;AAElD,2DAA2D;AAC3D,eAAO,MAAM,6BAA6B,GACxC,SAAS,MAAM,KACd,kBAA2E,CAAC;AAE/E,qEAAqE;AACrE,eAAO,MAAM,6BAA6B,GACxC,SAAS,MAAM,KACd,kBAA4E,CAAC;AAEhF,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B,GACrC,SAAS,MAAM,KACd,kBAAwE,CAAC;AAE5E,mEAAmE;AACnE,eAAO,MAAM,8BAA8B,GACzC,SAAS,MAAM,KACd,kBAAkE,CAAC;AAEtE,qDAAqD;AACrD,eAAO,MAAM,6BAA6B,GACxC,SAAS,MAAM,KACd,kBAA2E,CAAC;AAE/E,8EAA8E;AAC9E,eAAO,MAAM,kCAAkC,GAC7C,SAAS,MAAM,KACd,kBACyD,CAAC;AAE7D,gEAAgE;AAChE,eAAO,MAAM,oBAAoB,GAAI,OAAO,OAAO,KAAG,kBAmBrD,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* name: gestament
|
|
3
|
-
* version: 0.
|
|
3
|
+
* version: 0.3.0
|
|
4
4
|
* description: TypeScript based test driver for GTK
|
|
5
5
|
* author: Kouji Matsui (@kekyo@mi.kekyo.net)
|
|
6
6
|
* license: MIT
|
|
7
7
|
* repository.url: https://github.com/kekyo/gestament.git
|
|
8
|
-
* git.commit.hash:
|
|
8
|
+
* git.commit.hash: c15fe3b28fb1c2fb73504c57773b1ee751cbf8c4
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export declare const name = "gestament";
|
|
12
|
-
export declare const version = "0.
|
|
12
|
+
export declare const version = "0.3.0";
|
|
13
13
|
export declare const description = "TypeScript based test driver for GTK";
|
|
14
14
|
export declare const author = "Kouji Matsui (@kekyo@mi.kekyo.net)";
|
|
15
15
|
export declare const license = "MIT";
|
|
16
16
|
export declare const repository_url = "https://github.com/kekyo/gestament.git";
|
|
17
|
-
export declare const git_commit_hash = "
|
|
17
|
+
export declare const git_commit_hash = "c15fe3b28fb1c2fb73504c57773b1ee751cbf8c4";
|
|
18
18
|
//# sourceMappingURL=packageMetadata.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*!
|
|
3
3
|
* name: gestament
|
|
4
|
-
* version: 0.
|
|
4
|
+
* version: 0.3.0
|
|
5
5
|
* description: TypeScript based test driver for GTK
|
|
6
6
|
* author: Kouji Matsui (@kekyo@mi.kekyo.net)
|
|
7
7
|
* license: MIT
|
|
8
8
|
* repository.url: https://github.com/kekyo/gestament.git
|
|
9
|
-
* git.commit.hash:
|
|
9
|
+
* git.commit.hash: c15fe3b28fb1c2fb73504c57773b1ee751cbf8c4
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
export interface GestamentConfigOutput {
|