1 | scope test_structure_nonTransientPersistenceInfo |
2 | |
3 | set flag structure_debug. |
4 | |
5 | sclass #Blubb { |
6 | S a = "aa", b = "bb"; |
7 | Map<S, O> _persistenceInfo; |
8 | } |
9 | |
10 | svoid test_structure_nonTransientPersistenceInfo() { |
11 | assertEqualsVerbose([[test_structure_nonTransientPersistenceInfo_Blubb(_persistenceInfo=hm{"a"=f}, b="bb")]], structure(nu(Blubb, _persistenceInfo := litmap("a", false))); |
12 | assertEqualsVerbose([[test_structure_nonTransientPersistenceInfo_Blubb(a="aa", b="bb")]], structure(nu(Blubb, _persistenceInfo := null))); |
13 | assertEqualsVerbose([[test_structure_nonTransientPersistenceInfo_Blubb(_persistenceInfo=hm{"a"=t}, a="aa", b="bb")]], structure(nu(Blubb, _persistenceInfo := litmap("a", true)))); |
14 | } |
Began life as a copy of #1017333
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031525 |
Snippet name: | test_structure_nonTransientPersistenceInfo (OK) |
Eternal ID of this version: | #1031525/3 |
Text MD5: | 3d339357a4a287100190da701aaac8e8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-18 20:02:09 |
Source code size: | 714 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 156 / 189 |
Version history: | 2 change(s) |
Referenced in: | [show references] |