scottjehl
5fcf89e0d9
added unit tests for the zoom plugin
2012-01-24 17:31:05 +07:00
scottjehl
79b1979177
fixed up the unit tests so that they only test the plugin's usage of the zoom methods, not the result of whether those methods are working
2012-01-24 17:31:05 +07:00
scottjehl
75214550b1
added meta viewport tag
2012-01-24 17:31:05 +07:00
Ghislain Seguin
079324cf56
Use jQuery tag inserter instead of pointing directly at jquery.js
2012-01-22 23:15:30 -08:00
Ghislain Seguin
9febd86e55
Use jQuery tag inserter instead of pointing directly at jquery.js
2012-01-22 23:14:38 -08:00
Josh Dean
ba9d5a47e5
Added test for issue #3141
2012-01-19 09:26:33 -08:00
Ghislain Seguin
e4453aceb4
Save the fixture after the enhancement, then start
2012-01-18 23:12:37 -08:00
Ghislain Seguin
1950602dcb
Switched to using AMD loader and $.testHelper.reloadModule instead of $.testHelper.reloadLib
2012-01-18 11:11:35 -08:00
John Bender
2034c3607e
update button markup test to use the fixed toolbar
2012-01-18 10:48:14 -08:00
scottjehl
8b20b6a50e
added unit tests for new fixedtoolbar plugin
2012-01-19 00:19:36 +07:00
John Bender
f2802bdc65
reverted fixed toolbar merge, there are some issues with the branch that need to be addressed
2012-01-17 21:46:28 -08:00
John Bender
ca0c1a9c61
fix test errors relying on require after switching back to synchronous load
2012-01-17 15:07:55 -08:00
John Bender
461469e366
fix transition tests for older versions of firefox
2012-01-17 09:11:26 -08:00
John Bender
020f4b7db6
seperate transition tests, whitespace
2012-01-17 09:11:26 -08:00
scottjehl
57af436ab6
Merge branch 'fixedtoolbar'
...
Conflicts:
Makefile
css/structure/index.php
css/structure/jquery.mobile.core.css
css/structure/jquery.mobile.forms.slider.css
css/structure/jquery.mobile.transitions.fade.css
css/themes/default/jquery.mobile.css
css/themes/default/jquery.mobile.theme.css
docs/pages/page-transitions.html
js/jquery.mobile.core.js
js/jquery.mobile.define.js
js/jquery.mobile.docs.js
js/jquery.mobile.fixHeaderFooter.js
js/jquery.mobile.fixHeaderFooter.native.js
js/jquery.mobile.forms.button.js
js/jquery.mobile.forms.select.custom.js
js/jquery.mobile.init.js
js/jquery.mobile.js
js/jquery.mobile.navigation.js
js/jquery.mobile.support.js
js/jquery.mobile.transition.flip.js
js/jquery.mobile.transition.flow.js
js/jquery.mobile.transition.js
js/jquery.mobile.transition.pop.js
js/jquery.mobile.transition.slide.js
js/jquery.mobile.transition.slidedown.js
js/jquery.mobile.transition.slideup.js
js/jquery.mobile.transition.turn.js
tests/jquery.testHelper.js
tests/unit/listview/listview_core.js
tests/unit/support/index.html
2012-01-18 00:05:45 +07:00
scottjehl
8e9ad05507
updated unit test page to use require loader
2012-01-17 12:28:06 +07:00
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
268aab2344
Reverted to the old way (without RequireJS) until we find a way to make it work with RequireJS
2012-01-13 17:33:17 +07:00
Ghislain Seguin
7b673bda8d
Hopefully made the event tests a little happier
2012-01-13 17:33:17 +07:00
Ghislain Seguin
038b0ee298
Move require.js to first tag so it can catch jquery module registration
...
Otherwise jquery may be loaded twice
2012-01-13 17:32:26 +07:00
jrburke
befdd49643
Move require.js to first tag so it can catch jquery module registration, otherwise jquery may be loaded twice.
2012-01-13 17:32:26 +07:00
scottjehl
bdc400bbeb
added some unit tests for maxTransitionWidth option
2012-01-13 17:29:42 +07:00
scottjehl
54aee8cb65
disable the maxTransitionWidth during testing by default so that window width doesn't conflict with tests.
2012-01-13 17:29:42 +07:00
Ghislain Seguin
9ffabcce33
Use css/themes/default/jquery.mobile.css instead of css/themes/default/index.php
2012-01-13 17:29:41 +07:00
Mat Marquis
b815db5f76
Updated docs’ CSS to use new @import scheme.
2012-01-13 17:27:56 +07:00
scottjehl
2600aa9eb7
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-13 17:27:55 +07:00
scottjehl
abe0571b73
even when stubbing out the function for testing, this $.fn needs to return this (it's relied upon for chaining in nav)
2012-01-13 17:27:54 +07:00
John Bender
6b0d9dd2d0
conceding defeat on determining the load order issue that's causing the test failure
2012-01-13 17:25:56 +07:00
John Bender
4650f57222
remove duplicate test run
2012-01-13 17:25:56 +07:00
John Bender
21394cb5e5
check to make sure cached test page appears
2012-01-13 17:25:56 +07:00
jblas@adobe.com
c1a61aa6a8
Corrected the title for the functional test.
2012-01-13 17:25:56 +07:00
jblas@adobe.com
d4c7123c85
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-13 17:25:55 +07:00
John Bender
bf39926d0d
enforce test order ... dying a little inside
2012-01-13 17:25:55 +07:00
John Bender
6688882ef2
remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php
2012-01-13 17:25:54 +07:00
John Bender
b3d1b49008
update functional tests to use requirejs
2012-01-13 17:25:54 +07:00
John Bender
921ab705f5
fix async loading select test issue where keepnative isn't defined in time for the leading test
2012-01-13 17:25:54 +07:00
John Bender
d347be825c
move to reloadModule as it returns a deferred
2012-01-13 17:25:53 +07:00
John Bender
c50310bfab
make sure the slider core runs before init to set keepNative properly
2012-01-13 17:25:53 +07:00
John Bender
3890539f8f
update select cached tests to use async
2012-01-13 17:25:53 +07:00
John Bender
9747f2ce87
update listview pushstate test to use async
2012-01-13 17:25:53 +07:00
John Bender
5a6c8b145e
init test order and other small fixes
2012-01-13 17:25:53 +07:00
John Bender
a85a5bc537
fixed listview tests async loading
2012-01-13 17:25:52 +07:00
Mat Marquis
6148cf9229
Updating select menu tests to match recent dialog markup changes.
2012-01-13 17:25:52 +07:00
John Bender
79c7590660
stub define in event tests
2012-01-13 17:25:52 +07:00