Changeset 8926 in josm for trunk/test/functional/org/openstreetmap/josm
- Timestamp:
- 2015-10-22T02:01:00+02:00 (9 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
r8510 r8926 10 10 import java.io.File; 11 11 import java.io.FileInputStream; 12 import java.io.FileNotFoundException; 12 13 import java.io.FileOutputStream; 13 14 import java.io.IOException; … … 174 175 /** 175 176 * Setup test. 177 * @throws IOException if any I/O error occurs 178 * @throws IllegalDataException if an error was found while parsing the OSM data 179 * @throws FileNotFoundException if the dataset file cannot be found 176 180 */ 177 181 @Before 178 public void setUp() throws IOException, IllegalDataException {182 public void setUp() throws IOException, IllegalDataException, FileNotFoundException { 179 183 File f = new File(System.getProperty("java.io.tmpdir"), MultiFetchServerObjectReaderTest.class.getName() + ".dataset"); 180 184 logger.info(MessageFormat.format("reading cached dataset ''{0}''", f.toString())); -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r8540 r8926 10 10 import java.io.File; 11 11 import java.io.FileInputStream; 12 import java.io.FileNotFoundException; 12 13 import java.io.FileOutputStream; 13 14 import java.io.IOException; … … 130 131 * @param ds the data set 131 132 * @throws OsmTransferException if something goes wrong 133 * @throws CyclicUploadDependencyException if a cyclic dependency is detected 132 134 */ 133 135 public static void createDataSetOnServer(APIDataSet ds) throws OsmTransferException, CyclicUploadDependencyException { … … 144 146 static DataSet testDataSet; 145 147 148 /** 149 * Setup test. 150 * @throws OsmTransferException if something goes wrong 151 * @throws CyclicUploadDependencyException if a cyclic dependency is detected 152 */ 146 153 @BeforeClass 147 public static void init() throws OsmTransferException, CyclicUploadDependencyException {154 public static void setUpBeforeClass() throws OsmTransferException, CyclicUploadDependencyException { 148 155 logger.info("initializing ..."); 149 156 … … 195 202 /** 196 203 * Setup test. 204 * @throws IOException if any I/O error occurs 205 * @throws IllegalDataException if an error was found while parsing the OSM data 206 * @throws FileNotFoundException if the dataset file cannot be found 197 207 */ 198 208 @Before 199 public void setUp() throws IOException, IllegalDataException {209 public void setUp() throws IOException, IllegalDataException, FileNotFoundException { 200 210 File f = new File(System.getProperty("java.io.tmpdir"), MultiFetchServerObjectReaderTest.class.getName() + ".dataset"); 201 211 logger.info(MessageFormat.format("reading cached dataset ''{0}''", f.toString()));
Note:
See TracChangeset
for help on using the changeset viewer.