Changeset 16322 in josm for trunk/test/unit
- Timestamp:
- 2020-04-17T20:50:39+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDialogTest.java
r16257 r16322 115 115 // CHECKSTYLE.OFF: LineLength 116 116 String baseText = 117 "Styles Cache for \"node\":\n" + 118 "\n" + 119 "> applying mapcss style \"JOSM default (MapCSS)\"\n" + 120 "\n" + 121 "Range:|s119.4328566955879-Infinity\n" + 122 " default: \n" + 123 "Cascade{ font-size:8.0; major-z-index:4.95; symbol-fill-color:#FF0000; symbol-shape:Keyword{square}; symbol-size:6.0; symbol-stroke-color:#FF0000; }\n" + 124 "\n" + 125 "> skipping \"Potlatch 2\" (not active)\n" + 117 "Styles for \"node\":\n" + 118 "==================\n" + 119 "MapCSS style \"JOSM default (MapCSS)\"\n" + 120 "------------------------------------\n" + 121 "Display range: |z119.4329-Infinity\n" + 122 "Layer default\n" + 123 " * Cascade{ font-size:8.0; major-z-index:4.95; symbol-fill-color:#FF0000; symbol-shape:Keyword{square}; symbol-size:6.0; symbol-stroke-color:#FF0000; }\n" + 126 124 "\n" + 127 125 "List of generated Styles:\n" + 126 "-------------------------\n" + 128 127 " * NodeElement{z_idx=[4.95/0.0/0.0] symbol=[symbolShape=SQUARE size=6 stroke=java.awt.BasicStroke strokeColor=java.awt.Color[r=255,g=0,b=0] fillColor=java.awt.Color[r=255,g=0,b=0]]}\n" + 129 128 "\n" + … … 144 143 ds.addPrimitive(n); 145 144 ds.addSelected(n); 146 assertEquals(baseText + baseText + "The 2 selected objects have identical style caches. ",145 assertEquals(baseText + baseText + "The 2 selected objects have identical style caches.\n", 147 146 InspectPrimitiveDialog.buildMapPaintText().replaceAll("@(\\p{XDigit})+", "")); 148 147 } finally {
Note:
See TracChangeset
for help on using the changeset viewer.