Changeset 8837 in josm for trunk/test/unit


Ignore:
Timestamp:
2015-10-08T02:05:12+02:00 (7 years ago)
Author:
Don-vip
Message:

fix unit test broken in last commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/session/SessionWriterTest.java

    r8836 r8837  
    3232public class SessionWriterTest {
    3333
    34     private static class OsmHeadlessJosExporter extends OsmDataSessionExporter {
    35         OsmHeadlessJosExporter(OsmDataLayer layer) {
     34    protected static final class OsmHeadlessJosExporter extends OsmDataSessionExporter {
     35        public OsmHeadlessJosExporter(OsmDataLayer layer) {
    3636            super(layer);
    3737        }
     
    4343    }
    4444
    45     private static class OsmHeadlessJozExporter extends OsmDataSessionExporter {
    46         OsmHeadlessJozExporter(OsmDataLayer layer) {
     45    protected static final class OsmHeadlessJozExporter extends OsmDataSessionExporter {
     46        public OsmHeadlessJozExporter(OsmDataLayer layer) {
    4747            super(layer);
    4848        }
     
    5454    }
    5555
    56     private static class GpxHeadlessJosExporter extends GpxTracksSessionExporter {
    57         GpxHeadlessJosExporter(GpxLayer layer) {
     56    protected static final class GpxHeadlessJosExporter extends GpxTracksSessionExporter {
     57        public GpxHeadlessJosExporter(GpxLayer layer) {
    5858            super(layer);
    5959        }
     
    6565    }
    6666
    67     private static class GpxHeadlessJozExporter extends GpxTracksSessionExporter {
    68         GpxHeadlessJozExporter(GpxLayer layer) {
     67    protected static final class GpxHeadlessJozExporter extends GpxTracksSessionExporter {
     68        public GpxHeadlessJozExporter(GpxLayer layer) {
    6969            super(layer);
    7070        }
     
    197197    }
    198198
     199    /**
     200     * Tests to write a .joz file containing an imagery layer.
     201     * @throws IOException if any I/O error occurs
     202     */
    199203    @Test
    200204    public void testWriteImageryLayer() throws IOException {
Note: See TracChangeset for help on using the changeset viewer.