Lua code - System testfor k, v in api() do
if k == 'newCleanEnv' then
print('newCleanEnv found in the right place! Exiting system test :)')
return true
end
end
error 'newCleanEnv not found in outer sandbox'test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
| ID | Author/Program | Comment | Date |
|---|---|---|---|
| 293 | #1000604 (pitcher) | 2015-08-18 00:54:36 | |
| 250 | #1000610 (pitcher) | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { for k, v in api() do if k == 'newCleanEnv' then print('newCleanEnv found in the right place! Exiting system test :)') return true end end error 'newCleanEnv not found in outer sandbox' }} | 2015-08-18 00:52:55 |
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 204 | [visualize] |
| Snippet ID: | #195 |
| Snippet name: | Assert that system functions appear in outer sandbox (not inner) |
| Eternal ID of this version: | #195/1 |
| Text MD5: | 6cbaaa39de1a1c03c3a3489a0259836b |
| Author: | stefan |
| Category: | system tests |
| Type: | Lua code - System test |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-01-19 05:01:36 |
| Source code size: | 204 bytes / 8 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1420 / 263 |
| Referenced in: | [show references] |