|
Last change
on this file since 290 was 285, checked in by imi, 19 years ago |
- fixed test dependencies
- added more functional tests
|
|
File size:
421 bytes
|
| Line | |
|---|
| 1 | import org.openstreetmap.josm.Main;
|
|---|
| 2 |
|
|---|
| 3 | import framework.FunctionalTestCase;
|
|---|
| 4 |
|
|---|
| 5 | public class SelectionTest extends FunctionalTestCase {
|
|---|
| 6 |
|
|---|
| 7 | public void test() throws Exception {
|
|---|
| 8 | key("ctrl-n", "n");
|
|---|
| 9 | click(100,400);
|
|---|
| 10 | key("shift-n", "shift-n");
|
|---|
| 11 | click(150,400);
|
|---|
| 12 | click(200,400);
|
|---|
| 13 | click(250,500);
|
|---|
| 14 | key("shift-s");
|
|---|
| 15 | drag(250,500,100,400);
|
|---|
| 16 | assertEquals(7, Main.ds.getSelected().size());
|
|---|
| 17 | }
|
|---|
| 18 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.