Changeset 12159 in josm for trunk/test/unit
- Timestamp:
- 2017-05-15T15:26:15+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/OsmDataLayerTest.java
r11261 r12159 148 148 public void testGetToolTipText() { 149 149 DataSet ds = new DataSet(); 150 assertEquals(" 0 nodes, 0 ways, 0 relations", new OsmDataLayer(ds, "", null).getToolTipText());151 fillDataSet(ds); 152 assertEquals(" 1 node, 1 way, 1 relation", new OsmDataLayer(ds, "", null).getToolTipText());153 assertEquals("<html>1 node , 1 way,1 relation<br>data.osm</html>", new OsmDataLayer(ds, "", new File("data.osm")).getToolTipText());150 assertEquals("<html>0 nodes<br>0 ways<br>0 relations</html>", new OsmDataLayer(ds, "", null).getToolTipText()); 151 fillDataSet(ds); 152 assertEquals("<html>1 node<br>1 way<br>1 relation</html>", new OsmDataLayer(ds, "", null).getToolTipText()); 153 assertEquals("<html>1 node<br>1 way<br>1 relation<br>data.osm</html>", new OsmDataLayer(ds, "", new File("data.osm")).getToolTipText()); 154 154 } 155 155
Note:
See TracChangeset
for help on using the changeset viewer.