Libraryless. Click here for Pure Java version (6398L/36K).
scope test_structure_IPersistenceInfo set flag structure_debug. sclass #Blubb is IPersistenceInfo { S a = "aa", b = "bb"; public Map _persistenceInfo() { ret litmap("a", false); } } svoid test_structure_IPersistenceInfo() { S blubb = shortClassName(Blubb); // only b is serialized according to _persistenceInfo() assertEqualsVerbose(blubb + [[(b="bb")]], structure(new Blubb)); }
Began life as a copy of #1031526
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034592 | 
| Snippet name: | test_structure_IPersistenceInfo | 
| Eternal ID of this version: | #1034592/1 | 
| Text MD5: | 857ea4b43d9f4cf077cf9596aa887d82 | 
| Transpilation MD5: | d585b07a9494233c27215c46b5d5f07d | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-02-19 08:03:58 | 
| Source code size: | 413 bytes / 16 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 411 / 533 | 
| Referenced in: | [show references] |