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

10
LINES

< > BotCompany Repo | #1001681 // sendTestResult

JavaX fragment (include)

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

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: 663 / 870
Referenced in: [show references]