| 1 |
583 |
dhwang |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
|
|
<!-- |
| 3 |
|
|
Copyright 2004 ThoughtWorks, Inc |
| 4 |
|
|
|
| 5 |
|
|
Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 |
|
|
you may not use this file except in compliance with the License. |
| 7 |
|
|
You may obtain a copy of the License at |
| 8 |
|
|
|
| 9 |
|
|
http://www.apache.org/licenses/LICENSE-2.0 |
| 10 |
|
|
|
| 11 |
|
|
Unless required by applicable law or agreed to in writing, software |
| 12 |
|
|
distributed under the License is distributed on an "AS IS" BASIS, |
| 13 |
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 |
|
|
See the License for the specific language governing permissions and |
| 15 |
|
|
limitations under the License. |
| 16 |
|
|
--> |
| 17 |
|
|
|
| 18 |
|
|
<html> |
| 19 |
|
|
<head> |
| 20 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 21 |
|
|
<title>TestDojoDragDrop</title> |
| 22 |
|
|
</head> |
| 23 |
|
|
<body> |
| 24 |
|
|
|
| 25 |
|
|
Warning: IE gives an access denied when running this test off the file system, but it works great off of a real live web server. |
| 26 |
|
|
|
| 27 |
|
|
<table cellpadding="1" cellspacing="1" border="1"> |
| 28 |
|
|
<tbody> |
| 29 |
|
|
<tr><td rowspan="1" colspan="3">TestDojoDragDrop</td></tr> |
| 30 |
|
|
<tr> |
| 31 |
|
|
<td>open</td> |
| 32 |
|
|
<td>../tests/html/dojo-0.4.0-mini/tests/dnd/test_simple.html</td> |
| 33 |
|
|
<td></td> |
| 34 |
|
|
</tr> |
| 35 |
|
|
<tr> |
| 36 |
|
|
<td>dragAndDropToObject</td> |
| 37 |
|
|
<td>//li[text()='list 1 item 3']</td> |
| 38 |
|
|
<td>//li[text()='list 2 item 1']</td> |
| 39 |
|
|
</tr> |
| 40 |
|
|
<tr> |
| 41 |
|
|
<td>assertTextPresent</td> |
| 42 |
|
|
<td>either side of me*list 1 item 3</td> |
| 43 |
|
|
<td></td> |
| 44 |
|
|
</tr> |
| 45 |
|
|
</tbody></table> |
| 46 |
|
|
</body> |
| 47 |
|
|
</html> |