Changeset 7902 in josm for trunk/test/unit/org/openstreetmap


Ignore:
Timestamp:
2014-12-28T18:59:56+01:00 (10 years ago)
Author:
Don-vip
Message:

see #10696 - allow URLs without protocol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/InternetTagsTest.java

    r7824 r7902  
    3737
    3838        // Valid URLs
     39        testUrl("url", "www.domain.com", true);                                // No protocol
    3940        testUrl("url", "http://josm.openstreetmap.de", true);                  // Simple HTTP
    4041        testUrl("url", "http://josm.openstreetmap.de/", true);                 // Simple HTTP + slash
     
    4849
    4950        // Invalid URLs
    50         testUrl("url", "www.domain.com", false);                               // No protocol
    5151        testUrl("url", "something://www.domain.com", false);                   // invalid protocol
    5252        testUrl("url", "http://www.domain.invalidtld", false);                 // invalid TLD
Note: See TracChangeset for help on using the changeset viewer.