Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

23
LINES

< > BotCompany Repo | #1034510 // G22SelfTests

JavaX fragment (include) [tags: use-pretranspiled]

Uses 1485K of libraries. Click here for Pure Java version (35708L/235K).

srecord noeq G22SelfTests(G22Utils g22utils) {
  volatile bool started;
  volatile OKOrError result;
  
  run {
    set started;
    result = okOrError(l0 runImpl);
    S msg = "Self Tests " + status();
    if (result.isOK())
      print(msg);
    else
      infoBox(msg);
  }
  
  void runImpl {
    G22LAScriptIDE.selfTest(g22utils);
  }
  
  S status() {
    ret !started ? "Not started" : result == null ? "Running"
      : result.isOK() ? "OK" : "Failed";
  }
}

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: 76 / 158
Version history: 5 change(s)
Referenced in: [show references]