From fcedf6975288137465a118d7bd2027a1cfdf287e Mon Sep 17 00:00:00 2001 From: Joel Steres Date: Fri, 16 Jun 2017 03:13:48 -0700 Subject: [PATCH] Remove obsolete test files. Tests integrated in edge-cases.html. --- test/bodyoffset-abs.html | 78 ---------------------------------------- test/bodyoffset-rel.html | 78 ---------------------------------------- test/htmloffset-rel.html | 78 ---------------------------------------- test/tests-bodyoffset.js | 69 ----------------------------------- 4 files changed, 303 deletions(-) delete mode 100644 test/bodyoffset-abs.html delete mode 100644 test/bodyoffset-rel.html delete mode 100644 test/htmloffset-rel.html delete mode 100644 test/tests-bodyoffset.js diff --git a/test/bodyoffset-abs.html b/test/bodyoffset-abs.html deleted file mode 100644 index 62775272..00000000 --- a/test/bodyoffset-abs.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - PowerTip Test Suite - - - - - - - - - - - - - - - - - - - - -
-

Huge Text

-

The tooltips for the buttons below have a lot of text. The tooltip div is completely elastic for this demo. The tooltips should be properly placed when they render.

-
- - - - -
- -
- - - - - -
-
-
-

Huge Text with Smart Placement

-

The tooltips for the buttons below have a lot of text. The tooltip div is completely elastic for this demo. The tooltips should be properly placed when they render.

-
- - - - -
- -
- - - - - -
-
-
-

Trapped mouse following tooltip

-

This box has a mouse following tooltip.

-

Trap it in the bottom right corner of the viewport. It should flip out of the way. It should not flip if it only hits one edge.

-
-
- - diff --git a/test/bodyoffset-rel.html b/test/bodyoffset-rel.html deleted file mode 100644 index 47c58e94..00000000 --- a/test/bodyoffset-rel.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - PowerTip Test Suite - - - - - - - - - - - - - - - - - - - - -
-

Huge Text

-

The tooltips for the buttons below have a lot of text. The tooltip div is completely elastic for this demo. The tooltips should be properly placed when they render.

-
- - - - -
- -
- - - - - -
-
-
-

Huge Text with Smart Placement

-

The tooltips for the buttons below have a lot of text. The tooltip div is completely elastic for this demo. The tooltips should be properly placed when they render.

-
- - - - -
- -
- - - - - -
-
-
-

Trapped mouse following tooltip

-

This box has a mouse following tooltip.

-

Trap it in the bottom right corner of the viewport. It should flip out of the way. It should not flip if it only hits one edge.

-
-
- - diff --git a/test/htmloffset-rel.html b/test/htmloffset-rel.html deleted file mode 100644 index 42fa900b..00000000 --- a/test/htmloffset-rel.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - PowerTip Test Suite - - - - - - - - - - - - - - - - - - - - -
-

Huge Text

-

The tooltips for the buttons below have a lot of text. The tooltip div is completely elastic for this demo. The tooltips should be properly placed when they render.

-
- - - - -
- -
- - - - - -
-
-
-

Huge Text with Smart Placement

-

The tooltips for the buttons below have a lot of text. The tooltip div is completely elastic for this demo. The tooltips should be properly placed when they render.

-
- - - - -
- -
- - - - - -
-
-
-

Trapped mouse following tooltip

-

This box has a mouse following tooltip.

-

Trap it in the bottom right corner of the viewport. It should flip out of the way. It should not flip if it only hits one edge.

-
-
- - diff --git a/test/tests-bodyoffset.js b/test/tests-bodyoffset.js deleted file mode 100644 index 34603564..00000000 --- a/test/tests-bodyoffset.js +++ /dev/null @@ -1,69 +0,0 @@ -$(function() { - 'use strict'; - - // setup huge text tooltips - var hugeText = [ - 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent sed', - 'volutpat tellus. Fusce mollis iaculis est at sodales. Proin aliquam', - 'bibendum neque, nec blandit orci porttitor non. Cras lacinia varius', - 'felis vel ultricies. Nulla eu sapien arcu, dapibus tempor eros.', - 'Praesent aliquet hendrerit commodo. Pellentesque habitant morbi', - 'tristique senectus et netus et malesuada fames ac turpis egestas.', - 'Proin gravida justo faucibus urna dictum id egestas velit hendrerit.', - 'Praesent dapibus rutrum tempor. Sed ultrices varius purus, eu rhoncus', - 'tortor scelerisque sit amet. Sed vitae molestie diam. Pellentesque', - 'posuere euismod venenatis. Proin ut ligula vel urna lacinia accumsan.', - 'Quisque commodo ultrices orci ut cursus. Aliquam in dolor orci. Nunc', - 'pretium euismod odio.' - ].join(' '); - $.each( - [ - 'north', - 'east', - 'south', - 'west', - 'north-west', - 'north-east', - 'south-west', - 'south-east', - 'north-west-alt', - 'north-east-alt', - 'south-west-alt', - 'south-east-alt' - ], - function(i, val) { - $('.' + val).data('powertip', hugeText); - } - ); - - // Huge text - $('#huge-text .north').powerTip({ placement: 'n' }); - $('#huge-text .east').powerTip({ placement: 'e' }); - $('#huge-text .south').powerTip({ placement: 's' }); - $('#huge-text .west').powerTip({ placement: 'w' }); - $('#huge-text .north-west').powerTip({ placement: 'nw' }); - $('#huge-text .north-east').powerTip({ placement: 'ne' }); - $('#huge-text .south-west').powerTip({ placement: 'sw' }); - $('#huge-text .south-east').powerTip({ placement: 'se' }); - $('#huge-text .north-west-alt').powerTip({ placement: 'nw-alt' }); - $('#huge-text .north-east-alt').powerTip({ placement: 'ne-alt' }); - $('#huge-text .south-west-alt').powerTip({ placement: 'sw-alt' }); - $('#huge-text .south-east-alt').powerTip({ placement: 'se-alt' }); - - // Huge text with smart placement - $('#huge-text-smart .north').powerTip({ placement: 'n', smartPlacement: true }); - $('#huge-text-smart .east').powerTip({ placement: 'e', smartPlacement: true }); - $('#huge-text-smart .south').powerTip({ placement: 's', smartPlacement: true }); - $('#huge-text-smart .west').powerTip({ placement: 'w', smartPlacement: true }); - $('#huge-text-smart .north-west').powerTip({ placement: 'nw', smartPlacement: true }); - $('#huge-text-smart .north-east').powerTip({ placement: 'ne', smartPlacement: true }); - $('#huge-text-smart .south-west').powerTip({ placement: 'sw', smartPlacement: true }); - $('#huge-text-smart .south-east').powerTip({ placement: 'se', smartPlacement: true }); - $('#huge-text-smart .north-west-alt').powerTip({ placement: 'nw-alt', smartPlacement: true }); - $('#huge-text-smart .north-east-alt').powerTip({ placement: 'ne-alt', smartPlacement: true }); - $('#huge-text-smart .south-west-alt').powerTip({ placement: 'sw-alt', smartPlacement: true }); - $('#huge-text-smart .south-east-alt').powerTip({ placement: 'se-alt', smartPlacement: true }); - - // Trapped mouse following tooltip - $('#trapped-mousefollow').powerTip({ followMouse: true }); -});