From 3bb13571ca365a9ec765fe66589ff1b8c24413f3 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sat, 7 Feb 2009 17:47:25 +0000 Subject: [PATCH] Moved #4087 test page from demos/droppable to /tests/visual/droppable --- .../remove-draggable-after-drop.html | 45 ----------------- .../droppable/droppable_ticket_4087.html | 48 +++++++++++++++++++ 2 files changed, 48 insertions(+), 45 deletions(-) delete mode 100644 demos/droppable/remove-draggable-after-drop.html create mode 100644 tests/visual/droppable/droppable_ticket_4087.html diff --git a/demos/droppable/remove-draggable-after-drop.html b/demos/droppable/remove-draggable-after-drop.html deleted file mode 100644 index 7ac98bde5..000000000 --- a/demos/droppable/remove-draggable-after-drop.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - jQuery UI Droppable - Remove Draggable After Drop Demo - - - - - - - - - - -
- -
-

Drag me to my target

-
- -
-

Drop here

-
- -
- -
- -

Testcase for #4087. Burn after resolving.

- -
- - diff --git a/tests/visual/droppable/droppable_ticket_4087.html b/tests/visual/droppable/droppable_ticket_4087.html new file mode 100644 index 000000000..121b2faf0 --- /dev/null +++ b/tests/visual/droppable/droppable_ticket_4087.html @@ -0,0 +1,48 @@ + + + + Droppable Visual Test - Droppable ticket 4087 + + + + + + + + + + + +

+Ticket #4087 - Removing ui.draggable immediately after the drop callback raises an error. +

+

+TEST: Drag 'Drag me' to the div labelled 'Drop here' +

+ +
+

Drag me

+
+ +
+

Drop here

+
+ +

+ASSERT: No exception '$(this).data("draggable") is undefined' +

+ + +