Changeset 13211 in josm for trunk/test/unit/org
- Timestamp:
- 2017-12-17T17:05:12+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java
r12636 r13211 77 77 assertFalse(layer.isLocalFile()); 78 78 assertEquals(Color.MAGENTA, layer.getColorProperty().get()); 79 assertEquals("<html>0 tracks , 0 routes, 0 waypoints<br>Length: < 0.01 m<br></html>", layer.getToolTipText());79 assertEquals("<html>0 tracks (0 segments), 0 routes, 0 waypoints<br>Length: < 0.01 m<br></html>", layer.getToolTipText()); 80 80 81 81 GpxLayer layer2 = new GpxLayer(new GpxData(), "bar", true); … … 83 83 assertTrue(layer2.isLocalFile()); 84 84 assertEquals(Color.MAGENTA, layer2.getColorProperty().get()); 85 assertEquals("<html>0 tracks , 0 routes, 0 waypoints<br>Length: < 0.01 m<br></html>", layer2.getToolTipText());85 assertEquals("<html>0 tracks (0 segments), 0 routes, 0 waypoints<br>Length: < 0.01 m<br></html>", layer2.getToolTipText()); 86 86 87 87 assertTrue(layer.checkSaveConditions()); … … 102 102 assertEquals("<html>\n"+ 103 103 " <head>\n" + 104 " <style type=\"text/css\">\n" + 105 " <!--\n" + 106 " td { padding-top: 4px; padding-bottom: 4px; padding-right: 16px; padding-left: 16px }\n" + 107 " -->\n" + 108 " </style>\n" + 104 109 " \n" + 105 110 " </head>\n" + … … 112 117 assertEquals("<html>\n"+ 113 118 " <head>\n" + 119 " <style type=\"text/css\">\n" + 120 " <!--\n" + 121 " td { padding-top: 4px; padding-bottom: 4px; padding-right: 16px; padding-left: 16px }\n" + 122 " -->\n" + 123 " </style>\n" + 114 124 " \n" + 115 125 " </head>\n" + … … 118 128 " <tr align=\"center\">\n" + 119 129 " <td colspan=\"5\">\n" + 120 " 1 track \n" +130 " 1 track, 1 track segments\n" + 121 131 " </td>\n" + 122 132 " </tr>\n" + … … 135 145 " </td>\n" + 136 146 " <td>\n" + 147 " Number of<br>Segments\n" + 148 " </td>\n" + 149 " <td>\n" + 137 150 " URL\n" + 138 151 " </td>\n" + … … 150 163 " <td>\n" + 151 164 " 12.0 m\n" + 165 " </td>\n" + 166 " <td>\n" + 167 " 1\n" + 152 168 " </td>\n" + 153 169 " <td>\n" +
Note:
See TracChangeset
for help on using the changeset viewer.