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).

!7

set flag defaultDefaultClassFinder_debug.

mainPackage gazelle
mainClassName main

sclass Bla {}

!include early #1030953 // Compact Module Include

module > DynTestModule {
  void test {
    assertEqualsVerbose("Bla", structure(new Bla));
    assertInstanceOf(Bla, unstructure("Bla"));
    assertInstanceOf(Bla, unstructure("loadableUtils.utils$Bla", false, _defaultClassFinder()));
  }
}

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: 102 / 225
Version history: 6 change(s)
Referenced in: [show references]