Changeset 14191 in josm for trunk


Ignore:
Timestamp:
2018-08-28T22:33:11+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16637 - javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/tools/HttpClientTest.java

    r13358 r14191  
    3939public class HttpClientTest {
    4040
     41    /**
     42     * Setup test
     43     */
    4144    @Rule
    4245    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     
    7376    }
    7477
     78    /**
     79     * Test constructor, getters and setters
     80     * @throws IOException if an I/O error occurs
     81     */
    7582    @Test
    7683    public void testConstructorGetterSetter() throws IOException {
     
    9097    }
    9198
     99    /**
     100     * Test HTTP GET
     101     * @throws IOException if an I/O error occurs
     102     */
    92103    @Test
    93104    public void testGet() throws IOException {
     
    109120    }
    110121
     122    /**
     123     * Test JOSM User-Agent
     124     * @throws IOException if an I/O error occurs
     125     */
    111126    @Test
    112127    public void testUserAgent() throws IOException {
     
    117132    }
    118133
     134    /**
     135     * Test UTF-8 encoded content
     136     * @throws IOException if an I/O error occurs
     137     */
    119138    @Test
    120139    public void testFetchUtf8Content() throws IOException {
     
    126145    }
    127146
     147    /**
     148     * Test HTTP POST
     149     * @throws IOException if an I/O error occurs
     150     */
    128151    @Test
    129152    public void testPost() throws IOException {
     
    169192    }
    170193
     194    /**
     195     * Test maximum number of redirections.
     196     * @throws IOException if an I/O error occurs
     197     */
    171198    @Test(expected = IOException.class)
    172199    public void testTooMuchRedirects() throws IOException {
     
    174201    }
    175202
     203    /**
     204     * Test HTTP error 418
     205     * @throws IOException if an I/O error occurs
     206     */
    176207    @Test
    177208    public void testHttp418() throws IOException {
     
    186217    }
    187218
     219    /**
     220     * Test HTTP error 401
     221     * @throws IOException if an I/O error occurs
     222     */
    188223    @Test
    189224    public void testHttp401() throws IOException {
     
    198233    }
    199234
     235    /**
     236     * Test HTTP error 402
     237     * @throws IOException if an I/O error occurs
     238     */
    200239    @Test
    201240    public void testHttp402() throws IOException {
     
    210249    }
    211250
     251    /**
     252     * Test HTTP error 403
     253     * @throws IOException if an I/O error occurs
     254     */
    212255    @Test
    213256    public void testHttp403() throws IOException {
     
    222265    }
    223266
     267    /**
     268     * Test HTTP error 404
     269     * @throws IOException if an I/O error occurs
     270     */
    224271    @Test
    225272    public void testHttp404() throws IOException {
     
    234281    }
    235282
     283    /**
     284     * Test HTTP error 500
     285     * @throws IOException if an I/O error occurs
     286     */
    236287    @Test
    237288    public void testHttp500() throws IOException {
Note: See TracChangeset for help on using the changeset viewer.