Changeset 8926 in josm for trunk/test/functional


Ignore:
Timestamp:
2015-10-22T02:01:00+02:00 (9 years ago)
Author:
Don-vip
Message:

javadoc fixes

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  
    1010import java.io.File;
    1111import java.io.FileInputStream;
     12import java.io.FileNotFoundException;
    1213import java.io.FileOutputStream;
    1314import java.io.IOException;
     
    174175    /**
    175176     * 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
    176180     */
    177181    @Before
    178     public void setUp() throws IOException, IllegalDataException {
     182    public void setUp() throws IOException, IllegalDataException, FileNotFoundException {
    179183        File f = new File(System.getProperty("java.io.tmpdir"), MultiFetchServerObjectReaderTest.class.getName() + ".dataset");
    180184        logger.info(MessageFormat.format("reading cached dataset ''{0}''", f.toString()));
  • trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java

    r8540 r8926  
    1010import java.io.File;
    1111import java.io.FileInputStream;
     12import java.io.FileNotFoundException;
    1213import java.io.FileOutputStream;
    1314import java.io.IOException;
     
    130131     * @param ds the data set
    131132     * @throws OsmTransferException if something goes wrong
     133     * @throws CyclicUploadDependencyException if a cyclic dependency is detected
    132134     */
    133135    public static void createDataSetOnServer(APIDataSet ds) throws OsmTransferException, CyclicUploadDependencyException {
     
    144146    static DataSet testDataSet;
    145147
     148    /**
     149     * Setup test.
     150     * @throws OsmTransferException if something goes wrong
     151     * @throws CyclicUploadDependencyException if a cyclic dependency is detected
     152     */
    146153    @BeforeClass
    147     public static void init() throws OsmTransferException, CyclicUploadDependencyException {
     154    public static void setUpBeforeClass() throws OsmTransferException, CyclicUploadDependencyException {
    148155        logger.info("initializing ...");
    149156
     
    195202    /**
    196203     * 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
    197207     */
    198208    @Before
    199     public void setUp() throws IOException, IllegalDataException {
     209    public void setUp() throws IOException, IllegalDataException, FileNotFoundException {
    200210        File f = new File(System.getProperty("java.io.tmpdir"), MultiFetchServerObjectReaderTest.class.getName() + ".dataset");
    201211        logger.info(MessageFormat.format("reading cached dataset ''{0}''", f.toString()));
Note: See TracChangeset for help on using the changeset viewer.