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

6
LINES

< > BotCompany Repo | #1034227 // test_ClassNameResolver (OK)

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

Libraryless. Click here for Pure Java version (5541L/31K).

1  
svoid test_ClassNameResolver() {
2  
  new ClassNameResolver resolver;
3  
  resolver.printMe();
4  
  assertEqualsVerbose("java.lang.Math", resolver.findClass("Math"));
5  
  assertEqualsVerbose(null, resolver.findClass(aGlobalID()));
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034227
Snippet name: test_ClassNameResolver (OK)
Eternal ID of this version: #1034227/5
Text MD5: 7794b44e2fc0b2790c6f44ce6a36cdaa
Transpilation MD5: 167cb2ec8bf499e4c7ffc5494726e29f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-29 05:29:51
Source code size: 226 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 137 / 232
Version history: 4 change(s)
Referenced in: [show references]