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

9
LINES

< > BotCompany Repo | #1035355 // test_isPersistableClass

JavaX fragment (include)

scope test_isPersistableClass

sclass #X {}
sclass #Y is TransientObject {}

svoid test_isPersistableClass() {
  assertTrueVerbose(className(X), isPersistableClass(X));
  assertFalseVerbose(className(Y), isPersistableClass(Y));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035355
Snippet name: test_isPersistableClass
Eternal ID of this version: #1035355/2
Text MD5: 2d35a523aff7e84296892c29fbd10f9f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-01 21:04:18
Source code size: 237 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 151
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)