Ignore:
Timestamp:
2014-02-24T17:49:12+01:00 (8 years ago)
Author:
Don-vip
Message:

javadoc/code style/minor refactorization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/tagging/TaggingPresetReaderTest.java

    r6562 r6881  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.gui.tagging;
     3
     4import static org.CustomMatchers.hasSize;
     5import static org.hamcrest.CoreMatchers.is;
     6import static org.junit.Assert.assertThat;
     7
     8import java.io.IOException;
     9import java.util.Collection;
     10import java.util.List;
    311
    412import org.junit.Assert;
     
    1018import org.xml.sax.SAXException;
    1119
    12 import java.io.IOException;
    13 import java.util.Collection;
    14 import java.util.List;
    15 
    16 import static org.CustomMatchers.hasSize;
    17 import static org.hamcrest.CoreMatchers.is;
    18 import static org.junit.Assert.assertThat;
    19 
    2020/**
    2121 * Unit tests of {@link TaggingPresetReader} class.
     
    2323public class TaggingPresetReaderTest {
    2424
     25    /**
     26     * Setup test.
     27     */
    2528    @BeforeClass
    26     public static void setUpClass() {
     29    public static void setUp() {
    2730        Main.initApplicationPreferences();
    2831    }
     
    3033    /**
    3134     * Gets path to test data directory for given ticketid.
    32      * @param ticketid 
    33      * @return 
     35     * @param ticketid
     36     * @return
    3437     */
    3538    protected static String getRegressionDataDir(int ticketid) {
     
    4144     * @param ticketid
    4245     * @param filename
    43      * @return 
     46     * @return
    4447     */
    4548    protected static String getRegressionDataFile(int ticketid, String filename) {
     
    8588        Assert.assertTrue("Default presets are empty", presets.size()>0);
    8689    }
    87    
    8890}
Note: See TracChangeset for help on using the changeset viewer.