Commit graph

470 commits

Author SHA1 Message Date
gseguin
3ba911a6f8 jshint was complaining about .this 2011-09-08 13:34:58 -04:00
Kin Blas
abb812cc01 Fixes for issue 1464 - No way to stop a link from being followed with some custom event (tap, taphold)
jquery.mobile.vmouse.js:

	- Modified triggerVirtualEvent() so that it returns the virtual event instead of the isDefaultPrevented() result of the virtual event.

		- Updated all references to triggerVirtualEvent() that relied on the boolean return value to instead check the isDefaultPrevented() call on the event now returned.

			- Updated mouseEventCallback() to propagate the iDefaultPrevented(), isPropagationStopped(), and stopImmediatePropagation() values from the virtual event on to the  original mouse event.

			jquery.mobile.event.js

				- Modified the "taphold" trigger code to create a new $.Event() instead of passing the stale vmousedown event.

					- Added clearTapTimer() which is called from a new vmouseup binding, to prevent the timer from firing between the tie the finger/mouse goes up and the click event is dispatched.

					- Added some propagation tests for the "tap" event. Tests for "taphold" will have to wait until we fix the problem where multiple taphold timers are fired off when an element and one of its ancestors is bound to taphold.
2011-09-07 10:09:00 -04:00
John Bender
ad7e5bc8d1 added comment for the touches event proto addition 2011-09-07 10:09:00 -04:00
John Bender
3dfcf5fd77 fixed event tests to trigger on a dom element 2011-09-07 10:09:00 -04:00
scottjehl
28bb987729 added a unit test for last-scroll remembering. 2011-09-07 09:16:02 -04:00
John Bender
f679d30620 added ipv6 support to urlparse regex Fixes #2362 2011-08-30 15:59:46 -07:00
John Bender
23ee457309 whitespace in navigation helper tests 2011-08-30 15:52:31 -07:00
John Bender
fd286444f4 replaceState *and* pushState are now required for $.support.pushState to be true 2011-08-29 10:18:40 -07:00
John Bender
c3bac78880 moved push state dialog key test down into its own file to have the key at the root 2011-08-27 01:01:54 -07:00
John Bender
1811b31715 added sub page hash key tests 2011-08-27 01:01:54 -07:00
John Bender
7ed31bedb5 added test to make sure the dialog key is always in the hash 2011-08-27 01:01:54 -07:00
John Bender
49cf3af91a Merge branch 'replacestate-external' 2011-08-25 13:05:54 -07:00
gseguin
00e56c1560 Added test for ui-li-has presence
related to issue #779
2011-08-24 13:55:15 -07:00
John Bender
12391923fc added comment to make sure folks aren't confused as to why one of the test pages is just a redirect 2011-08-19 18:41:24 -07:00
John Bender
66aec28d8a renamed redirect test pages for clarity in test suite runner 2011-08-19 14:08:37 -07:00
John Bender
a671c559f4 nav tests passing for both push state and hash 2011-08-19 14:02:35 -07:00
John Bender
d3a1acdca8 small fix to capture failures properly in test suite runner 2011-08-18 23:33:16 -07:00
John Bender
7b122cacfc fixed tests to work with both pushstate and hash 2011-08-18 16:28:28 -07:00
John Bender
ef52c8d312 updated core to use the url assertions for both hash and replace state 2011-08-18 14:13:39 -07:00
gseguin
e39a320214 Added unit tests for issue #1405 2011-08-17 18:15:57 -07:00
John Bender
a8aa78d331 remove json_encode for those who aren't able to upgrade their version of php for god knows what reason ;) 2011-08-17 15:40:18 -07:00
John Bender
82dc08fee9 fixed listview tests for both pushstate and hash 2011-08-17 15:19:52 -07:00
gseguin
3737d170a0 Merge remote-tracking branch 'upstream/master' 2011-08-17 13:29:07 -07:00
gseguin
14bb9921be Reduced number of tests for "Top and bottom corners rounded in inset list" but added more meaningful tests 2011-08-17 12:10:18 -07:00
John Bender
b7d5df786f whitespace and comment merge conflict resolved 2011-08-17 11:09:05 -07:00
John Bender
81737dba6a small whitespace fix 2011-08-17 10:51:18 -07:00
John Bender
74300195b3 moved pushstate library disable and load into testhelper 2011-08-17 10:49:38 -07:00
John Bender
886cdcf927 setup pushstate tests 2011-08-17 10:25:51 -07:00
John Bender
5775dd19a4 whitespace in nav core tests 2011-08-17 10:05:24 -07:00
John Bender
1a4dd41293 alterted base path tests as an example of how to preserve content testing while accomodating both possible url formats 2011-08-16 12:56:10 -07:00
Samuel Padou
9da8114fca add test for domCache option handling when closing a full page select menu 2011-08-16 13:55:02 +02:00
John Bender
3d14498fe1 moved select caching tests out to a seperate test file to prevent issues in the core test suite 2011-08-15 13:00:01 -07:00
John Bender
907cf655b3 fixed navigation base tests to handle the relative internal page issue by using the click hack, per @jblas 2011-08-15 12:46:09 -07:00
John Bender
b0c20e9d2a whitespace 2011-08-15 12:45:31 -07:00
John Bender
5b4a29e643 added **/*-tests.html glob convention to the test suite runner to make it easier to include seperate files in the suite 2011-08-15 12:09:56 -07:00
John Bender
5c40e69c3a moved the relative path changing tests to the bottom of the core file, this is not a solution only a temporary fix. moving the relative path changing tests to another test file will most likely be the next move 2011-08-15 11:45:47 -07:00
John Bender
a197e17500 cleaned up test suite index html, added reporting for failed and successfull tests at the suite level 2011-08-13 00:50:16 -07:00
John Bender
c5c89344ad prevent qunit from running the suite until all the tests are defined 2011-08-12 14:41:45 -07:00
John Bender
781c2430f5 minor whitespace in test runner 2011-08-12 09:56:54 -07:00
John Bender
1fd9af8e36 minor refactor to test suite runner, and js moved to head 2011-08-11 22:55:27 -07:00
John Bender
fb0f6baf24 refactor of test suite runner, added passed/failed counts to suite results 2011-08-11 22:34:09 -07:00
gseguin
eb1ff373cb Added a few tests for corners on inset lists 2011-08-11 16:23:15 -07:00
gseguin
be3bd42f8a Use $.testHelper.sequence instead of nested setTimeouts 2011-08-10 23:34:31 -07:00
gseguin
418bb8786a Fix for issue #1450: added refreshCorners method to listview widget 2011-08-10 23:15:38 -07:00
gseguin
97b7c20e78 Merge remote-tracking branch 'upstream/master' 2011-08-10 23:08:56 -07:00
gseguin
fe6f406a10 Moved away from setTimeout in favor of $.testHelper.pageSequence 2011-08-10 18:28:24 -07:00
John Bender
cba80d9fff Merge pull request #1393 from ray58750034/31d4
Update functional tests: bind click event to objects
2011-08-10 17:45:54 -07:00
John Bender
f352f05cc9 core style guide 2011-08-10 17:10:31 -07:00
John Bender
c41c65a1cf quote consistency 2011-08-10 17:07:34 -07:00
John Bender
6ebaf991a8 moved dialog test to pageSequence helper, and small cleanup 2011-08-10 17:06:56 -07:00