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

15
LINES

< > BotCompany Repo | #1007527 // Test Bot Clean-Up

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3893L/26K/87K).

1  
!7
2  
3  
p {
4  
  S botName = "CPU Monitor Bot";
5  
  assertFalse("Please stop " + botName + " prior to using this test", hasBot(botName));
6  
  Class bot = run(#1001405);
7  
  assertTrue("Bot not started", hasBot(botName));
8  
   
9  
  for (O o : unnull((L) getOpt(bot, "record_list")))
10  
    print("record: " + getClassName(o));
11  
  
12  
  cleanUp(bot);
13  
  assertFalse("Bot not cleaned up", hasBot(botName));
14  
  print("Bot clean-up OK!");
15  
}

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: #1007527
Snippet name: Test Bot Clean-Up
Eternal ID of this version: #1007527/5
Text MD5: 51674e46fd054c52912faf965352e2c6
Transpilation MD5: 5b3f6c5a2e9fdac58caa510d43c1b2cb
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-26 11:28:00
Source code size: 423 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 543 / 652
Version history: 4 change(s)
Referenced in: [show references]