Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#15468 closed enhancement (fixed)

Use proper domain name (example.com) in tests

Reported by: rorym Owned by: team
Priority: minor Milestone: 17.10
Component: Unit tests Version:
Keywords: Cc:

Description

One part of the JOSM test suite uses something.com as a domain name. However example.com is reserved as a domain for documentation. This should be used instead.

https://en.wikipedia.org/wiki/Example.com

  • test/unit/org/openstreetmap/josm/gui/layer/markerlayer/WebMarkerTest.java

     
    3434    public void testWebMarker() throws MalformedURLException {
    3535        WebMarker marker = new WebMarker(
    3636                LatLon.ZERO,
    37                 new URL("http://something.com"),
     37                new URL("http://example.com"),
    3838                new MarkerLayer(new GpxData(), null, null, null),
    3939                1d, 2d);
    4040        marker.actionPerformed(null);

Attachments (0)

Change History (3)

comment:1 by Don-vip, 6 years ago

Component: CoreUnit tests
Priority: normalminor
Type: defectenhancement

comment:2 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 13031/josm:

fix #15468 - Use proper domain name (example.com) in test (patch by rorym)

comment:3 by Don-vip, 6 years ago

Milestone: 17.10

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.