Changeset 19134 in josm for trunk/test
- Timestamp:
- 2024-07-09T23:13:53+02:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/Tag2LinkTest.java
r18475 r19134 42 42 * Unit test for links that may come in multiple forms. 43 43 * Example: <a href="https://wiki.osm.org/wiki/Key:contact:facebook">https://wiki.openstreetmap.org/wiki/Key:contact:facebook</a> 44 * 44 * <p> 45 45 * See also JOSM #21794 46 46 * @param value The tag value for "contact:facebook" … … 54 54 } 55 55 Tag2Link.getLinksForTag("contact:facebook", value, this::addLink); 56 this.checkLinks("Open unavatar.now.sh // https://unavatar.now.sh/facebook/FacebookUserName",57 "Open facebook.com // https://www.facebook.com/FacebookUserName",56 this.checkLinks("Open facebook.com // https://www.facebook.com/FacebookUserName", 57 "Open unavatar.now.sh // https://unavatar.now.sh/facebook/FacebookUserName", 58 58 "Open messenger.com // https://www.messenger.com/t/FacebookUserName"); 59 59 } … … 146 146 /** 147 147 * Unit test of function {@link Tag2Link#getLinksForTag}. 148 * 149 * Non-regression test for https://josm.openstreetmap.de/ticket/19754#comment:9148 * <p> 149 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/19754#comment:9">comment:9:ticket:19754</a> 150 150 */ 151 151 @Test
Note:
See TracChangeset
for help on using the changeset viewer.