Package slash.navigation.rest

Examples of slash.navigation.rest.Post


        assertTrue(request2.isForbidden());
    }

    @Test
    public void testDelete() throws Exception {
        Post request1 = createFile("filestest.gpx");
        request1.executeAsString();
        String result1 = request1.getLocation();
        int key = parseFileKey(result1);
        HttpRequest request2 = deleteFile(key);
        String result2 = request2.executeAsString();
        assertEquals("file " + key + " deleted", result2);
        assertEquals(200, request2.getStatusCode());
View Full Code Here

TOP

Related Classes of slash.navigation.rest.Post

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.