John Bender
f4faec7872
temprorary fix for failing checkbox radio test
2012-01-13 16:22:37 -08:00
John Bender
5c1fc9540b
guarantee the page reset in the listview tests has completed before continuing
2012-01-13 14:28:50 -08:00
John Bender
e5d1b11328
switched init tests to new default css
2012-01-13 12:25:33 -08:00
John Bender
8debe792e0
switched to new default css with imports in select cached tests
2012-01-13 12:22:02 -08:00
John Bender
2f464dd865
add test to confirm that a document containing only a dialog with no pages will load the dialog as a page
2012-01-13 10:55:28 -08:00
Ghislain Seguin
d04054b6fd
Added @jrburke's version of reloadModule that undefines the module in RequireJS's cache so we can reload it
2012-01-13 10:04:55 -08:00
Ghislain Seguin
7c7e6f2578
Backed out AMD changes to support test suite until we figure out how to make it stable
2012-01-13 09:23:45 -08:00
Ghislain Seguin
8bbc9f8489
Reverted to the old way (without RequireJS) until we find a way to make it work with RequireJS
2012-01-12 23:20:55 -08:00
Ghislain Seguin
e6fb1e7c8e
Hopefully made the event tests a little happier
2012-01-12 23:19:58 -08:00
Ghislain Seguin
17164d28c4
Move require.js to first tag so it can catch jquery module registration
...
Otherwise jquery may be loaded twice
2012-01-12 21:58:42 -08:00
jrburke
73a8d24134
Move require.js to first tag so it can catch jquery module registration, otherwise jquery may be loaded twice.
2012-01-12 21:35:46 -08:00
Ghislain Seguin
9e935c31f6
Merge branch 'out-in-transition'
...
Conflicts:
css/structure/index.php
docs/_assets/js/jqm-docs.js
index.html
2012-01-12 09:56:48 -08:00
scottjehl
8f54d62527
added some unit tests for maxTransitionWidth option
2012-01-11 21:31:06 +07:00
scottjehl
4125bc6756
disable the maxTransitionWidth during testing by default so that window width doesn't conflict with tests.
2012-01-11 11:27:24 +07:00
Ghislain Seguin
ff9b742723
Use css/themes/default/jquery.mobile.css instead of css/themes/default/index.php
2012-01-10 14:49:52 -08:00
Mat Marquis
148cb09132
Updated docs’ CSS to use new @import scheme.
2012-01-10 16:35:51 -05:00
scottjehl
e35327c894
rewrote the transitions test suite and handlers to account for our new sequence. The main difference is most tests are async now, and use two functions: onFromComplete and onToComplete to test conditions before each page's animationComplete handler finishes (while animation classes are still present, for instance). onToComplete must call start() so that pages stay in proper sequences, as fromComplete may not always run depending on pages in play, and it's only halfway done in the trans.Needs more tests now!
2012-01-10 17:30:28 +07:00
scottjehl
679a46dbf0
even when stubbing out the function for testing, this $.fn needs to return this (it's relied upon for chaining in nav)
2012-01-10 13:23:55 +07:00
John Bender
cf611bc1c7
conceding defeat on determining the load order issue that's causing the test failure
2012-01-06 15:27:21 -08:00
John Bender
f60dd96178
remove duplicate test run
2012-01-06 15:27:21 -08:00
John Bender
12f112d6d4
check to make sure cached test page appears
2012-01-06 15:27:21 -08:00
jblas@adobe.com
f0cc30719d
Corrected the title for the functional test.
2012-01-06 10:23:54 -08:00
jblas@adobe.com
1a5224047b
Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices
...
It seems that some device/browser vendors use window.orientation values 0 and 180 to denote the "default" orientation. For iOS devices, and most other smart-phones tested, the default orientation is always "portrait", but in some Android and RIM based tablets, the default orientation is "landscape".
- Modified the orientationchange plugin so that it injects a landscape orientation media query into the document to figure out what the initial orientation is, it then makes adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
2012-01-06 10:19:04 -08:00
John Bender
3cea545f73
enforce test order ... dying a little inside
2012-01-05 14:23:17 -08:00
John Bender
3c2bfaca8a
remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php
2012-01-04 14:26:03 -08:00
John Bender
ea01f9f960
update functional tests to use requirejs
2012-01-04 14:04:18 -08:00
John Bender
b47d9ba24e
fix async loading select test issue where keepnative isn't defined in time for the leading test
2012-01-04 13:13:24 -08:00
John Bender
95073892f0
Merge branch 'amd'
2012-01-04 12:24:33 -08:00
John Bender
223ad8daab
move to reloadModule as it returns a deferred
2012-01-04 11:26:36 -08:00
John Bender
bda2834acc
make sure the slider core runs before init to set keepNative properly
2012-01-04 11:23:21 -08:00
John Bender
0a48b9168f
update select cached tests to use async
2012-01-04 11:10:04 -08:00
John Bender
dc3e42ec86
update listview pushstate test to use async
2012-01-04 11:08:21 -08:00
John Bender
912a7e852f
init test order and other small fixes
2012-01-04 11:05:52 -08:00
John Bender
739452ded0
fixed listview tests async loading
2012-01-04 09:45:36 -08:00
Mat Marquis
573fcf8668
Updating select menu tests to match recent dialog markup changes.
2012-01-04 12:35:13 -05:00
John Bender
16391e4af9
stub define in event tests
2012-01-04 09:10:52 -08:00
John Bender
81d1f6f282
stubbed define in nav tests
2012-01-04 08:56:35 -08:00
John Bender
9c7e1b755f
fix url checks to use search where appropriate
2012-01-04 08:02:31 -08:00
Mat Marquis
9b3aefae84
Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page.
2012-01-03 18:16:29 -05:00
John Bender
d82b6aacfc
update nav base tests to use new push state helper
2012-01-03 14:13:56 -08:00
Ghislain Seguin
c5415307ba
Fixed checkboxradio tests
2011-12-28 14:08:18 -08:00
Ghislain Seguin
83de694e9f
Reverted unwanted changes
2011-12-24 00:51:39 -08:00
Ghislain Seguin
0bd10de3e8
Added require.js 1.0.3 as a submodule
2011-12-24 00:48:08 -08:00
Ghislain Seguin
42190caef2
AMDized
2011-12-22 17:32:01 -08:00
Ghislain Seguin
d97118d891
Added $.testHelper.deferredSequence
...
Renamed reloadLib to reloadModule
Resuscitated $.testHelper.reloadLib
2011-12-22 17:31:11 -08:00
Ghislain Seguin
1bbd67bc98
Remove .js suffix from libName
2011-12-22 10:44:08 -08:00
Ghislain Seguin
db5a919928
Use new testHelper.reloadLib
2011-12-22 09:55:07 -08:00
Ghislain Seguin
b249dbe519
Changed reloadLib to use requirejs' context. That process being async it now returns a $.Deferred
2011-12-22 09:54:34 -08:00
Ghislain Seguin
a3392bc0ff
Remove .js suffix from libName
2011-12-22 09:53:26 -08:00
Ghislain Seguin
22c6409f63
AMDized
2011-12-22 09:49:33 -08:00