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

9
LINES

< > BotCompany Repo | #1029742 // test_isValidEmailAddress_simple (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2720L/17K).

svoid test_isValidEmailAddress_simple() {
  testFunctionValues isValidEmailAddress_simple(
    "hello@world.com", true,
    "hello@bla", false,
    "this no@yo.yo", false,
    "info~bla@a.b.c", true,
    rep('a', 254) + "@test.com", false, // too long
  );
}

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: #1029742
Snippet name: test_isValidEmailAddress_simple (OK)
Eternal ID of this version: #1029742/3
Text MD5: 54452eeb73aa539208dd1f59f9234170
Transpilation MD5: a760f52e019fcac6f5f4e969392a07f3
Author: stefan
Category: javax / mail
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-11 12:11:18
Source code size: 266 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 181 / 249
Version history: 2 change(s)
Referenced in: [show references]