Changeset 19136 in josm for trunk


Ignore:
Timestamp:
2024-07-10T13:21:05+02:00 (4 months ago)
Author:
taylor.smock
Message:

See #23754: Fix test for UploadPrimitivesTask

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java

    r19135 r19136  
    7979        ensureParameterNotNull(strategy, "strategy");
    8080        ensureParameterNotNull(changeset, "changeset");
     81        ensureParameterNotNull(toUpload, "toUpload");
    8182        this.toUpload = toUpload;
    8283        this.numObjectsToUpload = toUpload.getSize();
  • trunk/test/unit/org/openstreetmap/josm/gui/io/UploadPrimitivesTaskTest.java

    r18853 r19136  
    55
    66import org.junit.jupiter.api.Test;
     7import org.openstreetmap.josm.data.APIDataSet;
    78import org.openstreetmap.josm.data.osm.Changeset;
    89import org.openstreetmap.josm.data.osm.DataSet;
     
    2223                new UploadStrategySpecification(),
    2324                new OsmDataLayer(new DataSet(), null, null),
    24                 null,
     25                new APIDataSet(),
    2526                new Changeset()));
    2627    }
Note: See TracChangeset for help on using the changeset viewer.