Download Jar. Libraryless. Click here for Pure Java version (8168L/58K).
1 | !7 |
2 | |
3 | p-exp {
|
4 | O o = new DynamicObject; |
5 | set flag setOpt_debug. |
6 | setOpt(o, test := "yo"); |
7 | printStruct(o); |
8 | print(o/DynamicObject.fieldValues); |
9 | assertEqualsVerbose("yo", getString(o, "test"));
|
10 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025343 |
| Snippet name: | Test setOpt and DynamicObject |
| Eternal ID of this version: | #1025343/1 |
| Text MD5: | 568bb960590c655d67c9f0578477be64 |
| Transpilation MD5: | 784b30447a31dcd4dcbee6b58df2184e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-09-24 01:42:19 |
| Source code size: | 210 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 537 / 1553 |
| Referenced in: | [show references] |