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

9
LINES

< > BotCompany Repo | #1016318 // Test containsUnsafePlatformCmdLineChar (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (2154L/14K).

!7

p {
  for (S s : ll("#", "a&b", "\"", "\\", "a b", "aa\nbb", "\r", "\t"))
    assertTrue(containsUnsafePlatformCmdLineChar(printStruct(s)));
  for (S s : ll("bla", ""))
    assertFalse(containsUnsafePlatformCmdLineChar(printStruct(s)));
  print("OK");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016318
Snippet name: Test containsUnsafePlatformCmdLineChar (OK)
Eternal ID of this version: #1016318/7
Text MD5: 343471d6bb9ae69bd09f81dbcd8d8bd1
Transpilation MD5: 3066a4bc08e9da45bae36fe97f0828f6
Author: stefan
Category: javax / os
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-14 12:17:29
Source code size: 265 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 421 / 1091
Version history: 6 change(s)
Referenced in: [show references]