gestament 0.2.0 → 0.4.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.
Files changed (87) hide show
  1. package/README.md +6 -6
  2. package/dist/displaySession.d.ts +18 -0
  3. package/dist/displaySession.d.ts.map +1 -0
  4. package/dist/element.d.ts +2 -2
  5. package/dist/element.d.ts.map +1 -1
  6. package/dist/errors-6gj5YuLw.cjs +36 -0
  7. package/dist/errors-6gj5YuLw.cjs.map +1 -0
  8. package/dist/errors-CCW4ATME.js +37 -0
  9. package/dist/errors-CCW4ATME.js.map +1 -0
  10. package/dist/errors.d.ts +2 -2
  11. package/dist/errors.d.ts.map +1 -1
  12. package/dist/generated/packageMetadata.d.ts +4 -4
  13. package/dist/gestament-config.d.ts +2 -2
  14. package/dist/gestament-launcher-driver.cjs +683 -0
  15. package/dist/gestament-launcher-driver.cjs.map +1 -0
  16. package/dist/gestament-launcher-driver.d.ts +13 -0
  17. package/dist/gestament-launcher-driver.d.ts.map +1 -0
  18. package/dist/gestament-launcher-driver.mjs +682 -0
  19. package/dist/gestament-launcher-driver.mjs.map +1 -0
  20. package/dist/gestament-tray-host.cjs +1 -1
  21. package/dist/gestament-tray-host.d.ts +2 -2
  22. package/dist/gestament-tray-host.mjs +1 -1
  23. package/dist/gestament-xvfb-pool-probe.cjs +29 -0
  24. package/dist/gestament-xvfb-pool-probe.cjs.map +1 -0
  25. package/dist/gestament-xvfb-pool-probe.d.ts +13 -0
  26. package/dist/gestament-xvfb-pool-probe.d.ts.map +1 -0
  27. package/dist/gestament-xvfb-pool-probe.mjs +28 -0
  28. package/dist/gestament-xvfb-pool-probe.mjs.map +1 -0
  29. package/dist/gestament-xvfb-worker.d.ts +2 -2
  30. package/dist/gestament-xvfb.cjs +15 -4
  31. package/dist/gestament-xvfb.cjs.map +1 -1
  32. package/dist/gestament-xvfb.d.ts +2 -2
  33. package/dist/gestament-xvfb.mjs +15 -4
  34. package/dist/gestament-xvfb.mjs.map +1 -1
  35. package/dist/index.cjs +4 -1147
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.ts +2 -2
  38. package/dist/index.mjs +4 -1147
  39. package/dist/index.mjs.map +1 -1
  40. package/dist/launchGtkApp-BfELuV-H.cjs +2567 -0
  41. package/dist/launchGtkApp-BfELuV-H.cjs.map +1 -0
  42. package/dist/launchGtkApp-Bst1BFbD.js +2567 -0
  43. package/dist/launchGtkApp-Bst1BFbD.js.map +1 -0
  44. package/dist/launchGtkApp.d.ts +2 -2
  45. package/dist/launchGtkApp.d.ts.map +1 -1
  46. package/dist/launcherDriverProtocol.d.ts +110 -0
  47. package/dist/launcherDriverProtocol.d.ts.map +1 -0
  48. package/dist/{native-ie_XIt1J.cjs → native-BUWDWMBB.cjs} +20 -40
  49. package/dist/native-BUWDWMBB.cjs.map +1 -0
  50. package/dist/{native-DUeVYIBs.js → native-C6MsIBNF.js} +52 -72
  51. package/dist/native-C6MsIBNF.js.map +1 -0
  52. package/dist/native.d.ts +25 -2
  53. package/dist/native.d.ts.map +1 -1
  54. package/dist/prerequisites-BuZST2Dy.cjs +15 -0
  55. package/dist/prerequisites-BuZST2Dy.cjs.map +1 -0
  56. package/dist/prerequisites-JB0SKPVd.js +16 -0
  57. package/dist/prerequisites-JB0SKPVd.js.map +1 -0
  58. package/dist/prerequisites.d.ts +23 -0
  59. package/dist/prerequisites.d.ts.map +1 -0
  60. package/dist/testing.cjs +3 -0
  61. package/dist/testing.cjs.map +1 -1
  62. package/dist/testing.d.ts +4 -2
  63. package/dist/testing.d.ts.map +1 -1
  64. package/dist/testing.mjs +4 -1
  65. package/dist/testing.mjs.map +1 -1
  66. package/dist/tray.d.ts +2 -2
  67. package/dist/types.d.ts +158 -2
  68. package/dist/types.d.ts.map +1 -1
  69. package/dist/wait-DV5gkXs8.js +113 -0
  70. package/dist/wait-DV5gkXs8.js.map +1 -0
  71. package/dist/wait-eOIz4nZm.cjs +112 -0
  72. package/dist/wait-eOIz4nZm.cjs.map +1 -0
  73. package/dist/wait.d.ts +67 -0
  74. package/dist/wait.d.ts.map +1 -0
  75. package/package.json +7 -7
  76. package/prebuilds/linux-arm/gtk3/node.napi.armv7.glibc.node +0 -0
  77. package/prebuilds/linux-arm/gtk4/node.napi.armv7.glibc.node +0 -0
  78. package/prebuilds/linux-arm64/gtk3/node.napi.glibc.node +0 -0
  79. package/prebuilds/linux-arm64/gtk4/node.napi.glibc.node +0 -0
  80. package/prebuilds/linux-ia32/gtk3/node.napi.glibc.node +0 -0
  81. package/prebuilds/linux-ia32/gtk4/node.napi.glibc.node +0 -0
  82. package/prebuilds/linux-riscv64/gtk3/node.napi.glibc.node +0 -0
  83. package/prebuilds/linux-riscv64/gtk4/node.napi.glibc.node +0 -0
  84. package/prebuilds/linux-x64/gtk3/node.napi.glibc.node +0 -0
  85. package/prebuilds/linux-x64/gtk4/node.napi.glibc.node +0 -0
  86. package/dist/native-DUeVYIBs.js.map +0 -1
  87. package/dist/native-ie_XIt1J.cjs.map +0 -1
package/README.md CHANGED
@@ -65,8 +65,10 @@ describe('sample GTK app', () => {
65
65
  - Provides APIs for identifying GTK application windows and widgets within those windows.
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
+ - Exposes top-level window bounds, resize hints, and X11 metadata without requiring helper tools.
68
69
  - 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.
70
+ - Runs GTK applications on launcher-scoped `xvfb` sessions to enable stable testing in headless and concurrent environments.
71
+ - Exposes the final GTK session environment so helper processes can join the same Xvfb and DBus session.
70
72
 
71
73
  ### Environment
72
74
 
@@ -86,14 +88,12 @@ The following example is for Debian/Ubuntu:
86
88
  ```bash
87
89
  sudo apt-get update
88
90
  sudo apt-get install -y \
89
- at-spi2-core dbus dbus-x11 \
90
- libx11-6 libxtst6 \
91
- xauth xvfb
91
+ at-spi2-core dbus dbus-x11 libx11-6 libxtst6 xauth xvfb
92
92
  ```
93
93
 
94
94
  - `at-spi2-core` is the AT-SPI runtime environment that gestament uses to identify and operate widgets.
95
95
  - `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`.
96
+ - `dbus` / `dbus-x11` and `xvfb` / `xauth` are used when running tests headlessly with gestament's launcher-scoped internal Xvfb sessions or `gestament-xvfb`.
97
97
 
98
98
  This completes the native environment setup.
99
99
 
@@ -115,7 +115,7 @@ npm install -D vitest @types/node gestament
115
115
 
116
116
  ## Documentation
117
117
 
118
- See [the repository documentation](https://github.com/kekyo/gestament/).
118
+ More information, see [the repository documentation](https://github.com/kekyo/gestament/).
119
119
 
120
120
  ## License
121
121
 
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * name: gestament
3
+ * version: 0.4.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: 99e5b39d6b18c635721584cf2d8b9381d0b1df66
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":";;;;;;;;;AA0CA,OAAO,KAAK,EAIV,cAAc,EACd,qBAAqB,EAatB,MAAM,SAAS,CAAC;AAq6DjB;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,GAC3C,SAAS,qBAAqB,KAC7B,cA6CF,CAAC"}
package/dist/element.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * name: gestament
3
- * version: 0.2.0
3
+ * version: 0.4.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: 82eaccb340f7304524549a1f95888845deb4a156
8
+ * git.commit.hash: 99e5b39d6b18c635721584cf2d8b9381d0b1df66
9
9
  */
10
10
 
11
11
  import { NativeElementHandle } from './native.js';
@@ -1 +1 @@
1
- {"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../src/element.ts"],"names":[],"mappings":";;;;;;;;;AAKA,OAAO,EAgCL,KAAK,mBAAmB,EAEzB,MAAM,UAAU,CAAC;AAMlB,OAAO,KAAK,EAUV,gBAAgB,EAEjB,MAAM,YAAS,CAAC;AAs2BjB,yEAAsE;AACtE,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,mBAAmB,KAC1B,gBAwIF,CAAC"}
1
+ {"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../src/element.ts"],"names":[],"mappings":";;;;;;;;;AAKA,OAAO,EAmCL,KAAK,mBAAmB,EAEzB,MAAM,UAAU,CAAC;AAMlB,OAAO,KAAK,EAWV,gBAAgB,EAIjB,MAAM,YAAS,CAAC;AAq3BjB,yEAAsE;AACtE,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,mBAAmB,KAC1B,gBA2IF,CAAC"}
@@ -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.2.0
3
+ * version: 0.4.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: 82eaccb340f7304524549a1f95888845deb4a156
8
+ * git.commit.hash: 99e5b39d6b18c635721584cf2d8b9381d0b1df66
9
9
  */
10
10
 
11
11
  import { GtkAutomationError } from './types.js';
@@ -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,kBAkBrD,CAAC"}
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.2.0
3
+ * version: 0.4.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: 82eaccb340f7304524549a1f95888845deb4a156
8
+ * git.commit.hash: 99e5b39d6b18c635721584cf2d8b9381d0b1df66
9
9
  */
10
10
 
11
11
  export declare const name = "gestament";
12
- export declare const version = "0.2.0";
12
+ export declare const version = "0.4.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 = "82eaccb340f7304524549a1f95888845deb4a156";
17
+ export declare const git_commit_hash = "99e5b39d6b18c635721584cf2d8b9381d0b1df66";
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.2.0
4
+ * version: 0.4.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: 82eaccb340f7304524549a1f95888845deb4a156
9
+ * git.commit.hash: 99e5b39d6b18c635721584cf2d8b9381d0b1df66
10
10
  */
11
11
 
12
12
  export interface GestamentConfigOutput {