Uses 1485K of libraries. Click here for Pure Java version (35708L/235K).
1 | srecord noeq G22SelfTests(G22Utils g22utils) {
|
2 | volatile bool started; |
3 | volatile OKOrError result; |
4 | |
5 | run {
|
6 | set started; |
7 | result = okOrError(l0 runImpl); |
8 | S msg = "Self Tests " + status(); |
9 | if (result.isOK()) |
10 | print(msg); |
11 | else |
12 | infoBox(msg); |
13 | } |
14 | |
15 | void runImpl {
|
16 | G22LAScriptIDE.selfTest(g22utils); |
17 | } |
18 | |
19 | S status() {
|
20 | ret !started ? "Not started" : result == null ? "Running" |
21 | : result.isOK() ? "OK" : "Failed"; |
22 | } |
23 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034510 |
| Snippet name: | G22SelfTests |
| Eternal ID of this version: | #1034510/6 |
| Text MD5: | f5079692fc367ac597a987530ca12bad |
| Transpilation MD5: | 77186f0b0c6d59d417e0bd5ab3e694ce |
| Author: | stefan |
| Category: | javax / gazelle 22 |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-10 07:13:00 |
| Source code size: | 488 bytes / 23 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 585 / 738 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |