source: josm/trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImportHandlerTest.java@ 8510

Last change on this file since 8510 was 8509, checked in by Don-vip, 9 years ago

fix many checkstyle violations

File size: 605 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io.remotecontrol.handler;
3
4import static org.junit.Assert.assertThat;
5
6import org.hamcrest.CoreMatchers;
7import org.junit.Test;
8
9public class ImportHandlerTest {
10
11 @Test
12 public void test7434() throws Exception {
13
14 final ImportHandler req = new ImportHandler();
15 req.setUrl("http://localhost:8111/import?url=http://localhost:8888/relations?relations=19711&mode=recursive");
16 assertThat(req.args.get("url"), CoreMatchers.is("http://localhost:8888/relations?relations=19711&mode=recursive"));
17 }
18}
Note: See TracBrowser for help on using the repository browser.