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

18
LINES

< > BotCompany Repo | #1031329 // structure/unstructure test with custom main class [cmodule]

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

Uses 1951K of libraries. Click here for Pure Java version (2934L/22K).

1  
!7
2  
3  
set flag defaultDefaultClassFinder_debug.
4  
5  
mainPackage gazelle
6  
mainClassName main
7  
8  
sclass Bla {}
9  
10  
!include early #1030953 // Compact Module Include
11  
12  
module > DynTestModule {
13  
  void test {
14  
    assertEqualsVerbose("Bla", structure(new Bla));
15  
    assertInstanceOf(Bla, unstructure("Bla"));
16  
    assertInstanceOf(Bla, unstructure("loadableUtils.utils$Bla", false, _defaultClassFinder()));
17  
  }
18  
}

Author comment

Began life as a copy of #1031327

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031329
Snippet name: structure/unstructure test with custom main class [cmodule]
Eternal ID of this version: #1031329/7
Text MD5: 5355739a8722449dd0894721b5771161
Transpilation MD5: fa610cfa8c72c92b263e31c50a37166a
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-05 02:43:40
Source code size: 410 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 198 / 333
Version history: 6 change(s)
Referenced in: [show references]