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

12
LINES

< > BotCompany Repo | #1009169 // Test getTag [WORKS]

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

Libraryless. Click here for Pure Java version (1207L/9K/29K).

!7

p {
  assertEqualsVerbose("bla", getTag("<bla>"));
  assertEqualsVerbose("bla", getTag("<bla"));
  assertEqualsVerbose("bla", getTag("<bla blabla=\"ja\">"));
  assertEqualsVerbose("/blu", getTag("</blu>"));
  assertEqualsVerbose("a:b:c", getTag("<a:b:c>"));
  assertEqualsVerbose("a:b:c:d", getTag("<a:b:c:d ja>"));
  assertEqualsVerbose("simple", getTag("<simple/>"));
  print("ok");
}

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: #1009169
Snippet name: Test getTag [WORKS]
Eternal ID of this version: #1009169/3
Text MD5: 70b7da6dbd8104e3ac96f627ab575fda
Transpilation MD5: bf5fc183049d58f87970480def0db0fd
Author: stefan
Category: javax / html
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-12 13:19:34
Source code size: 401 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 517
Version history: 2 change(s)
Referenced in: [show references]