Changeset 6552 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2013-12-28T00:30:15+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/OsmChangesetContentParserTest.groovy
r2690 r6552 2 2 package org.openstreetmap.josm.io; 3 3 4 import org.junit.Test 4 import org.junit.Test 5 import org.openstreetmap.josm.tools.Utils 5 6 6 7 import static org.junit.Assert.*; … … 42 43 43 44 // should be OK 44 parser = new OsmChangesetContentParser(new ByteArrayInputStream(doc.getBytes( "UTF-8")))45 parser = new OsmChangesetContentParser(new ByteArrayInputStream(doc.getBytes(Utils.UTF_8))) 45 46 parser.parse null 46 47 47 48 // should be OK 48 parser = new OsmChangesetContentParser(new ByteArrayInputStream(doc.getBytes( "UTF-8")))49 parser = new OsmChangesetContentParser(new ByteArrayInputStream(doc.getBytes(Utils.UTF_8))) 49 50 parser.parse NullProgressMonitor.INSTANCE 50 51
Note:
See TracChangeset
for help on using the changeset viewer.