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

10
LINES

< > BotCompany Repo | #1008446 // Test getHtmlTagParameter with minus parameter names (auto-info="bla")

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

Libraryless. Click here for Pure Java version (1865L/14K/43K).

1  
!7
2  
3  
p {
4  
  S s = [[<tag auto-info="bla">]];
5  
  printStruct(tok_joinMinusIdentifiers(javaTok(s)));
6  
  set getHtmlTagParameters_debug;
7  
  assertEquals("bla", getHtmlTagParameter(s, "auto-info");
8  
  assertTrue(htmlCheckParams(s, "auto-info", "bla"));
9  
  print("OK");
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008446
Snippet name: Test getHtmlTagParameter with minus parameter names (auto-info="bla")
Eternal ID of this version: #1008446/6
Text MD5: 98213d426bce726e2c65582fa1f8672c
Transpilation MD5: 8d34285c7f6a6ff7c8c0a5ffa8a48009
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-15 19:40:09
Source code size: 268 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 522 / 621
Version history: 5 change(s)
Referenced in: [show references]