From bb9b0888264ac16eb738bb6ab99868e070150f5e Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 27 May 2016 13:53:46 -0700 Subject: [PATCH 1/3] test page that creates random blocks and randomly drags them around the page --- tests/drag_tests.html | 606 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 606 insertions(+) create mode 100644 tests/drag_tests.html diff --git a/tests/drag_tests.html b/tests/drag_tests.html new file mode 100644 index 000000000..06acef0f5 --- /dev/null +++ b/tests/drag_tests.html @@ -0,0 +1,606 @@ + + + + +Blockly Playground + + + + + + + + + + + + + + + + +
+ + + +

Blockly Playground

+ +

Show + - Hide

+ + + +

+ +   + + +

+ +

+ Stress test:   + + +

+

+ Log events:   + +

+ + + From 1f2107ee0862cdfb137b3c44c2adc2315ab8e123 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 1 Jun 2016 16:20:56 -0700 Subject: [PATCH 2/3] add missing return in fake drag --- tests/playground.html | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/playground.html b/tests/playground.html index 69bb0eb84..e27b403c4 100644 --- a/tests/playground.html +++ b/tests/playground.html @@ -185,6 +185,7 @@ function fakeDrag(id, dx, dy, opt_workspace) { if (!blockToDrag) { fakeDragWrapper(); + return; } var blockTop = blockToDrag.svgGroup_.getBoundingClientRect().top; var blockLeft = blockToDrag.svgGroup_.getBoundingClientRect().left; From 9709bd00886685a77538eb07da7af2b3a126ab16 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 1 Jun 2016 16:23:49 -0700 Subject: [PATCH 3/3] get rid of drag_tests file: --- tests/drag_tests.html | 606 ------------------------------------------ 1 file changed, 606 deletions(-) delete mode 100644 tests/drag_tests.html diff --git a/tests/drag_tests.html b/tests/drag_tests.html deleted file mode 100644 index 06acef0f5..000000000 --- a/tests/drag_tests.html +++ /dev/null @@ -1,606 +0,0 @@ - - - - -Blockly Playground - - - - - - - - - - - - - - - - -
- - - -

Blockly Playground

- -

Show - - Hide

- - - -

- -   - - -

- -

- Stress test:   - - -

-

- Log events:   - -

- - -