source: josm/branch/0.5/test/functional/SelectionTest.java@ 3278

Last change on this file since 3278 was 298, checked in by imi, 17 years ago
  • added license description to head of each source file
File size: 483 bytes
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2import org.openstreetmap.josm.Main;
3
4import framework.FunctionalTestCase;
5
6public class SelectionTest extends FunctionalTestCase {
7
8 public void test() throws Exception {
9 key("ctrl-n", "n");
10 click(100,400);
11 key("shift-n", "shift-n");
12 click(150,400);
13 click(200,400);
14 click(250,500);
15 key("shift-s");
16 drag(250,500,100,400);
17 assertEquals(7, Main.ds.getSelected().size());
18 }
19}
Note: See TracBrowser for help on using the repository browser.