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

10
LINES

< > BotCompany Repo | #1001681 // sendTestResult

JavaX fragment (include)

static void sendTestResult(boolean success) {
  startBot("Test Result Collector Bot", "#1001321");
  sendToLocalBot("Test Result Collector Bot", format3("New entry. success: *. date: *, program: *, computer: *",
    success, now(), getProgramID(), computerID()));
  try {
    updateMyCommentOnSnippet(programID(), (success ? "Success" : "Failure") + " on " + getComputerID());
  } catch (Exception e) {
    print(e);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001681
Snippet name: sendTestResult
Eternal ID of this version: #1001681/1
Text MD5: 106f40253d4b49fea1e07dd8c76e89ac
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-02 17:50:57
Source code size: 433 bytes / 10 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 661 / 867
Referenced in: [show references]