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

14
LINES

< > BotCompany Repo | #1021853 // Test hijackPrint

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (841L/6K).

1  
!7
2  
3  
cmodule TestHijackPrint > DynPrintLog {
4  
  start {
5  
    pcall {
6  
      print(main.print_byThread);
7  
      print(loadableUtils.utils.print_byThread);
8  
      print(print_byThread());
9  
      print("Testing.");
10  
      assertEqualsVerbose("Yo!\n", hijackPrint(r { print("Yo!") }));
11  
      print("Tested.");
12  
    }
13  
  }
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021853
Snippet name: Test hijackPrint
Eternal ID of this version: #1021853/5
Text MD5: 823dd9a6421e1f7c41675b3d28499086
Transpilation MD5: b16f5f190a0c0522a22c5081568197f8
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-02 18:04:08
Source code size: 322 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 327 / 555
Version history: 4 change(s)
Referenced in: [show references]