scottjehl
fdb77bfa52
changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions
2011-07-22 09:05:55 -04:00
scottjehl
3afef99719
forgot to add a file to the unit test markup
2011-07-20 14:37:02 -04:00
scottjehl
6f701add58
updated unit tests to ensure the enhance event is working properly on self-initializing widgets
2011-07-20 09:35:48 -04:00
scottjehl
64e6ef0e72
bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance".
2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9
This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
...
- Internally, each plugin self-initializes by binding to the pagecreate event.
- Unit tests have been added and adjusted to support some internal changes involved in this commit.
- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.
- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.
- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
scottjehl
c7b63920e7
fixed test failures that occured when the jquery-mobile directory is located in a subdirectory of the server root.
2011-07-19 22:25:05 -04:00
scottjehl
a93cdbcea0
changed up the unit test so that it didn't load the page in an iframe, which seemed to mess things up on the test server.
2011-07-17 16:29:05 -04:00
scottjehl
259815d480
Make data-role=page elements optional. This change makes the framework more lenient with markup, and will ease integration with existing sites, as well as mashups with external content. Unit tests included. Fixes #2096
2011-07-17 14:52:49 -04:00
John Bender
53a8023b14
fixed select tests to click the button instead of calling the select menu method
2011-07-15 15:22:56 -07:00
scottjehl
22b0cae65c
added unit tests for the data-prefetch attr
2011-07-15 15:55:27 -04:00
scottjehl
6da7e4a1dc
Made loading message configurable at runtime. Fixes #2044 . Fixes #1974 . Fixes #1947 .
2011-07-14 22:46:06 -04:00
John Bender
af3877be43
tests updated to accomodate relative hash references
2011-07-13 16:04:24 -07:00
Ghislain Seguin
584e3070ae
Unit tests for issue #1526
2011-07-12 23:32:22 -07:00
scottjehl
2de817d24c
fixed some logical errors in these tests. they now pass consistently in Firefox. Still inconsistent in Chrome, though they did pass once in Chrome during testing. Getting closer...
2011-07-10 21:51:08 -04:00
scottjehl
4703fe0d24
Merge branch 'master' of https://github.com/wietsevenema/jquery-mobile into wietsevenema-master
2011-07-10 17:46:51 -04:00
scottjehl
fdde24b51f
fixed unit test - menu var wasn't defined.
2011-07-10 17:34:38 -04:00
scottjehl
033ce4ab96
Merge branch 'fix_issue_1851' of https://github.com/tigbro/jquery-mobile into tigbro-fix_issue_1851
...
Conflicts:
js/jquery.mobile.forms.checkboxradio.js
2011-07-10 17:17:51 -04:00
scottjehl
47cb8cbeeb
fixed test so it passes in Firefox
2011-07-10 17:14:55 -04:00
scottjehl
1036a8398a
added unit test to verify previous bugfix.
2011-07-10 16:28:40 -04:00
Wietse Venema
dd2bdcd606
added failing test for inset listview issue with top-corner
2011-06-30 11:11:52 +02:00
John Bender
2fda8f7efc
sorted directories to create consistent/readable order of execution
2011-06-29 13:46:05 -07:00
John Bender
5a14398c55
throttledresize event tests use eventSequence
2011-06-29 12:48:09 -07:00
John Bender
eb772dfcae
click the first item link in the dialog and not all the items in the dialog
2011-06-29 10:43:30 -07:00
Ghislain Seguin
d0ec1ec452
Merge pull request #1660 from gseguin/issue-1470
...
Fix for #1470
2011-06-28 22:26:00 -07:00
John Bender
a9020282b5
moved select test to page sequnce to fix timing issues
2011-06-27 19:03:30 -07:00
John Bender
9729dc9f15
moved finicky hashchange test to sequence helper to prevent overlap with setting the hash
2011-06-27 12:36:17 -07:00
John Bender
d42658882a
fixed init hang
2011-06-27 11:19:52 -07:00
John Bender
56c43d398b
white space and title change for the suite runner
2011-06-27 11:19:51 -07:00
Kin Blas
008c5d7458
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-27 10:25:34 -07:00
Kin Blas
0d65a0d1c5
- Fixed issue #1923 - url of form is miscalculated
...
- Added code to calculate whether to choose the documentUrl or the page Url in the case where an action is not specified on a form element.
- Fixed bug in the navigation "submit" handler where an error was being thrown if "type" was not specified.
- Fixed typo "diabled" id typos in tests/unit/navigation/index.html.
- Added tests for form submissions with no action in both base and non-base specified cases.
2011-06-27 10:25:13 -07:00
Tobias Bosch
ec06fc1efd
unit tests for #1851 added.
2011-06-27 16:40:31 +02:00
John Bender
807536dd2c
clear both timeouts when the tests complete or timeout
2011-06-26 23:29:26 -07:00
John Bender
132e6e510f
whitespace in test suite runner
2011-06-26 23:19:38 -07:00
John Bender
37f533f12b
fixed double equals lint warning
2011-06-26 23:17:49 -07:00
John Bender
97feeaffc0
moved check to interval, made the directories an ajax call instead of a templated js array, and reorged some bits to clean things up
2011-06-26 23:16:50 -07:00
John Bender
a7045d3bb4
prevent js error by adding a default page for the widget tests
2011-06-26 23:16:03 -07:00
John Bender
ce09bebe20
quick todo for the test runner
2011-06-26 21:20:05 -07:00
John Bender
13c0b1bdd8
whitespace correction for the test runner
2011-06-26 21:18:07 -07:00
John Bender
4409782b00
moved directories to a seperate php file the emits json
2011-06-26 21:17:32 -07:00
John Bender
b016b028f6
corrections in suite timeout code with a clearTimer addition
2011-06-26 19:58:29 -07:00
John Bender
32f5b226d7
fixed relative path issues for the jquery mobile website, and made a small tweak to the qunit css
2011-06-26 15:35:33 -07:00
John Bender
7575f35fa1
remove console log from unit test runner
2011-06-26 12:47:35 -07:00
John Bender
75a4a0795c
added a page to run all the tests in a single place, depends on subdirectories representing their tested mobile files
2011-06-26 12:10:11 -07:00
John Bender
345c9e4dbb
moved 20ms scroll test to test that it the scrolling is async. 20ms isn't enough time to be reliable
2011-06-26 12:10:11 -07:00
Ghislain Seguin
3b96fa8cd1
Removed param "refresh" sent to .controlgroup since it's not a $.widget
2011-06-24 21:15:56 -07:00
Ghislain Seguin
52a0c10ef4
Readded tests for issue #1929
2011-06-24 21:14:09 -07:00
Ghislain Seguin
6b1343d946
Added test to catch previous breakage caused by buttons having class 'ui-btn-corner-all'
2011-06-24 20:49:16 -07:00
Ghislain Seguin
66aed02180
Disabled tests for issue #1929 until I find a better fix for it
2011-06-24 20:13:12 -07:00
Ghislain Seguin
e0042cf58d
Added unit tests for controlgroup
2011-06-24 16:13:41 -07:00
Ghislain Seguin
9cf884eabb
Coding standards
2011-06-24 12:40:01 -04:00
Ghislain Seguin
7a14f2ef15
Fixed checkbox/radio unit tests to match new active classes
2011-06-24 12:40:01 -04:00
Scott Jehl
e8a973f46a
Merge pull request #1710 from gseguin/issue-1338
...
Issue 1338
2011-06-24 09:16:01 -07:00
scottjehl
5b147580e6
Merge branch 'issue-1338' of https://github.com/gseguin/jquery-mobile into gseguin-issue-1338
2011-06-24 12:12:33 -04:00
Kin Blas
53d375cd0a
Unit test for issue #1913 - unnecessary ajax call and duplicate DOM nodes when refreshing a page with a dialog visible.
2011-06-23 16:41:26 -07:00
John Bender
68a354ed07
make sure the stack is clear before the run continues
2011-06-21 13:12:27 -07:00
scottjehl
a94f62a6e7
Merge remote branch 'origin/master'
2011-06-21 11:34:10 -04:00
scottjehl
ffdfa4e7c2
moved page load event bindings to a post-mobileinit callback so that the useFastClick option can be set before it is used. Unit test included. Fixes #1869
2011-06-21 11:33:38 -04:00
John Bender
7451a4b30e
event test fixes with one test removal. still _very_ time sensitive
2011-06-20 22:26:24 -07:00
John Bender
66fc726321
whitespace fix for event core tests
2011-06-20 22:26:24 -07:00
Ghislain Seguin
dabb66aae9
Coding standards
2011-06-20 13:17:23 -07:00
Ghislain Seguin
4487aba8a0
Fixed test case for programmatically created list items
2011-06-20 13:16:09 -07:00
John Bender
4dac49359f
fix for back button page index check by reseting history stack
2011-06-20 13:09:29 -07:00
John Bender
7b00335dcc
small whitespace fix in navigation core tests
2011-06-20 13:09:29 -07:00
Ghislain Seguin
31bd038d74
Merge remote-tracking branch 'upstream/master' into issue-1470
...
Conflicts:
tests/unit/listview/index.html
tests/unit/listview/listview_core.js
2011-06-20 12:51:40 -07:00
scottjehl
8c6164dbf0
Added new throttledresize special event, including unit tests. This event prevents browsers from running continuous callbacks on resize, which we use internally for orientationchange in browsers like IE. It still ensures that a held event will execute after the timeout, so logic that depends on the final conditions after a resize is complete will still execute properly. This improves performance noticeably, and... Fixes #1496 . Fixes #1848 . Fixes #1422 .
...
The included tests pass most of the time, but they need improvements as they will occasionally fail due to faulty timing in the tests themselves, as far as I can tell (the code tests out fine in our functional demos).
2011-06-18 11:41:47 -04:00
scottjehl
c4491d279f
fixed unit tests to use new orientationchange logic, which no longer binds to resize event.
2011-06-18 10:45:36 -04:00
Ghislain Seguin
a6533e3676
Fixed test for "Programmatic removal of list items"
...
(cherry picked from commit 5d4bf2d5412c900fbcd093f1a3549a34dbab8e6c)
2011-06-17 11:59:05 -07:00
Ghislain Seguin
f32fe66bf7
Merge remote-tracking branch 'upstream/master' into issue-1470
...
Conflicts:
tests/unit/listview/listview_core.js
2011-06-17 10:46:52 -07:00
Ghislain Seguin
ff8517c915
Merge remote-tracking branch 'upstream/master' into issue-1654
...
Conflicts:
tests/unit/listview/listview_core.js
2011-06-17 09:37:36 -07:00
Kin Blas
c011f51f14
Removed unused path.isRelative() function. Replaced unit tests for isRelative() with tests for path.isRelativeUrl.
2011-06-13 16:45:10 -07:00
Kin Blas
41349de54f
Add some tests for the use case where the document URL is different from the document base.
2011-06-13 15:26:19 -07:00
Kin Blas
a337e6d9a2
Fixed a test case that had a bad baseline result.
2011-06-10 10:17:54 -07:00
Kin Blas
b7bcf93620
- We were missing a changepage notification in the case where we were transitioning to the same page.
...
- Added changepagefailed notification for the case where the load fails. Note we still need beforeloadpage/loadpage notifications.
- Misc fixes to stop the navigation unit tests from seemingly random failures. It seems that the hash resets in setup/teardown of the test modules sometimes interferes with the changePage() requests in the tests. Added code to the setup/teardown functions to wait for the reset to complete before moving on to the tests.
2011-06-10 10:00:25 -07:00
Kin Blas
f605e100e4
More fixes to get the navigation tests green again.
...
- Switched lots of tests over to using pageSequence.
2011-06-09 20:44:10 -07:00
Kin Blas
3d6bd402a2
- Changes to get the navigation_helpers.js unit tests green.
...
- Modified isExternal so that it returns true/false to help with unit tests.
2011-06-08 17:20:01 -07:00
Ghislain Seguin
6af27f9a7e
Beefed up nested lists test
2011-06-03 11:06:44 -07:00
Ghislain Seguin
888a3d4faf
Fixed nested lists tests following id generation change (8373105)
2011-06-03 10:55:04 -07:00
Ghislain Seguin
14492002e2
Fixed test case for issue #1617
2011-06-03 10:55:04 -07:00
Kin Blas
489fc19fb1
Unit test to catch issues like 1767.
...
- Test passing string as data option to changePage().
- Test passing object as data option to changePage().
2011-06-02 16:52:36 -07:00
Ghislain Seguin
ed7eb38bdc
Issue #1338
...
Added unit test
2011-05-25 13:10:50 -07:00
John Bender
a4ee2d5bbb
moved local failing firefox test to pageSequence helper
2011-05-24 16:42:38 -07:00
John Bender
8291f92ce8
fixed error on undefined var in init_core tests
2011-05-24 14:14:19 -07:00
Kin Blas
5e87e8481d
Did a sweep over all tests (except for filter tests) to convert them to pageSequence() where possible. This fixes the test bustages caused by the changePage() refactoring. Note that the "Multiple nested lists on a page" test is still busted, as it is on the HEAD.
2011-05-23 16:51:37 -07:00
John Bender
a2834bb367
removed two unnecessary tests from the navigation suite, and moved a few more over to the pageSequence helper.
2011-05-21 23:36:06 -07:00
John Bender
dc530ea751
page sequence helper added, nav tests in a somewhat better state. the event trigger spot, namespace, and general setup are all up for debate
2011-05-21 22:15:12 -07:00
Kin Blas
2cfacc4804
Changes to get the navigation_core and navigation_helpers tests to pass again:
...
- Modified changePage() click test so that it expects changePage() to be called twice.
- Added changePage() test that makes sure it is called once when it is invoked with a page element instead of a URL.
- Added siteDirectory path to be used with some tests which assumed that the tests directory was at the top-level of the server site.
2011-05-20 15:32:17 -07:00
Kin Blas
3c792c58f0
Merge branch 'master' into navigation
...
Fixed Conflicts:
js/jquery.mobile.init.js
js/jquery.mobile.navigation.js
2011-05-20 09:39:19 -07:00
John Bender
15b93909f5
tests for nsNormalize
2011-05-20 00:42:11 -07:00
John Bender
7eb1085764
data attribute namespace normalization to comply with spec and jquery 1.6 changes
2011-05-20 00:31:27 -07:00
John Bender
2cff5c3380
whitespace in core tests
2011-05-20 00:30:05 -07:00
Ghislain Seguin
59a04d5a90
Fixed unit tests
2011-05-19 00:00:05 -07:00
Ghislain Seguin
4255f5752f
Fix for issue #1654
2011-05-18 23:46:46 -07:00
Ghislain Seguin
bd068616c6
Fix for #1470
...
Corner styling issue with listview refresh on growing lists
2011-05-18 16:07:18 -07:00
scottjehl
10ce4a7c32
fixed some tests that failed in my last changes
2011-05-18 18:25:59 -04:00
scottjehl
adf3808e84
Removed the dynamically-appended Meta tag, which was deprecated in Alpha 4, and scheduled for removal in beta. jQM users must provide their own meta viewport tag in the head of jQM apps.
2011-05-17 18:03:54 -04:00
scottjehl
8ba4c27300
Ya'll can scale your pages now. Fixes #1645 . Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/
2011-05-17 17:28:19 -04:00
Ghislain Seguin
b0b24add1f
Removed double "-" in "data-" attributes
2011-05-16 08:43:02 -07:00
Ghislain Seguin
df9d846bfc
Added unit test for issue #1617
2011-05-15 21:33:40 -07:00
Ghislain Seguin
cabdf7926b
Revert "Added unit test for issue #1617 "
...
This reverts commit 3c7c73e5ca .
2011-05-15 21:28:40 -07:00
Ghislain Seguin
3c7c73e5ca
Added unit test for issue #1617
2011-05-15 21:13:04 -07:00
Kin Blas
0d7754fe4c
Fixing listview filter tests that were broken by pull request 1475:
...
1387fd457f
2011-05-13 14:17:41 -07:00
Ivan Rubanov
af23fa6337
Fixed test for Windows Phone 7
2011-05-09 05:29:35 -07:00
John Bender
91f5a3492b
added two more test conditions to ensure a single active button per radio button set and a single checked input
2011-05-02 01:00:04 -07:00
John Bender
cabd45283b
test to verify that clicking radio buttons changes checked state and ui btn active
2011-05-02 00:54:59 -07:00
John Bender
e84c2c614b
fixed comment in paths tests
2011-05-01 22:26:03 -07:00
John Bender
9096763741
finished basic pathing tests sans site relative root ir /
2011-04-29 22:23:57 -07:00
John Bender
9b88587426
completed doc relative tests
2011-04-27 23:07:58 -07:00
John Bender
84c1cfbcd8
first set of tests for path handling per Kin's wiki page
2011-04-27 22:43:41 -07:00
John Bender
31604bb75a
removed uncecessary clone for event names array to fix the tests
2011-04-27 22:04:00 -07:00
Kin Blas
19c06952fd
Changes to allow 3rd party transitions. Developers can now register a custom transition by adding their transition handler to the $.mobile.transitionHandlers dictionary. The name of the custom transition is used as the key within the transtionsHandlers dictionary, and should be the same name used within the @data-transtion attribute.
...
The expected prototype for a transitionHandler is as follows:
function handler(name, reverse, $to, $from)
The name parameter is the name of the transition as specified by @data-transition attribute, reverse is a boolean that is false for a normal transition, and true for a reverse transition. The $to param is a jQuery collection containing the page that is being transitioned "to", and $from is an optional collection that tells us what page we are transitioning "from". Because $from is optional, handler developers should take care and check $from to make sure it is not undefined before attempting to dereference it.
In addition to registering custom transition by name, developers can specify a handler to use in the case where a transition name is specified and does not exist within the $.mobile.transitionHanlders dictionary. Within jQuery Mobile, the default handler for unknown transition types is the $.mobile.css3Transition() handler. This handler always assumes that the transition name is to be used as a CSS class to be placed on the $to and $from elements. To change the default handler, simply set $.mobile.defaultTransitionHandler to you function handler:
$.mobile.defaultTransitionHandler = myTransitionHandler;
The changes to make all this necessary are as follows:
- Created $.mobile.noneTransitionHandler which is the default transitionHandler for the framework that simply adds and removes the page active class on the $from and $to pages with no animations.
- Moved class based transition code into a new plugin jquery.mobile.transition.js file. This plugin, when present, overrides the noneTransitionHandler as the defaultTranstionHandler for the framework so that CSS3 animation transitions are available.
- Removed code related to the setting/removal of the ui-mobile-viewport-perspective class. The css3TransitionHandler plugin takes care of automatically placing a "viewport-<transition name>" class on the viewport (body) element. This allows any other transition to specify properties on the viewport that are necessary to accomplish the transition.
- changed the CSS class ui-mobile-viewport-perspective to viewport-flip to match code changes. This makes it more apparent that setting -webkit-perspective is only used with the flip transition.
- Updated js/index.php, Makefile and build.xml to include the new jquery.mobile.transition.js file.
2011-04-26 14:06:10 -07:00
John Bender
dfab3d7920
increased two test timeouts to give slower ci test browser time work, also included a small whitespace fix to nav
2011-04-21 23:17:08 -07:00
John Bender
70a86c748f
added a sequenced test to make sure that opening a dialog sized select menu resulted in that same dialog many times. also moved one of the event tests over to core
2011-04-21 22:32:37 -07:00
John Bender
b0e3d5fbf1
select test cleanup, added test to check that the dialog hash key is removed when a large select menu item is clicked Fixes #1454
2011-04-19 23:28:11 -07:00
John Bender
49b1b780ed
test alterations for absolute navigation
2011-04-18 21:46:53 -07:00
John Bender
b83d81962e
tests for dialog query param support
2011-04-14 21:49:50 -07:00
John Bender
a267a3077c
added tests to verify that dialogs referencing themselves with query params don't do anything
2011-04-14 21:49:50 -07:00
scottjehl
d97a964884
been meaning to do this for a while.
2011-04-14 16:04:47 -04:00
Kin Blas
8ca008ee23
It doesn't get any true-er with an extra 'u'!
2011-04-13 18:09:41 -07:00
John Bender
ac736c6053
moved previous strip query tests to tests for cleanHash
2011-04-12 01:16:20 -07:00
John Bender
aee4c631da
removed stripQuery helper to reduce confusion and complexity as striping the query param from a url is much more complex than a hash as it was originally intended for
2011-04-12 01:14:05 -07:00
John Bender
cdc0f139ce
tests for nested pages/query params
2011-04-12 01:05:36 -07:00
John Bender
8d3dc2cbc2
query param href/actions require absolute path prefixes when no relative path information is contained in the hash
2011-04-12 00:22:42 -07:00
John Bender
193762da19
tests for handling query params in makeAbsolute path helper, moved path helper tests to helper test file
2011-04-11 23:42:01 -07:00
John Bender
5158c6f7cb
comment correction in test
2011-04-06 13:33:32 -07:00
John Bender
ceed56fb2a
test added for checkbox check and uncheck firing change
2011-04-06 13:31:06 -07:00
John Bender
b1da5f0d06
added tests to make sure links that reference the pages they are defined within don't transition Fixes #1360
2011-04-04 23:47:16 -07:00
John Bender
280394757b
fixed titles in the checkbox radio tests
2011-04-01 23:43:59 -07:00
John Bender
4bea7c41b8
fixed broken open page call to prevent redirect in tests
2011-04-01 22:55:55 -07:00
John Bender
9280fb467f
whitespace in listview tests
2011-04-01 22:55:55 -07:00
John Bender
3a85ef61ac
removed global pre test setup that used QUnit.start :(, and fixed spurious test failures from changePage being fired by the library after it had been redefined in the tests
2011-04-01 02:11:15 -07:00
John Bender
f63b1bf911
moved page title tests to sequence to stabalize their behavior
2011-03-31 22:47:40 -07:00
John Bender
89775d233a
whitespace in navigation core tests and fixtures page
2011-03-31 22:18:54 -07:00
scottjehl
96897b0285
listview tests now passing.
2011-03-31 18:07:08 -04:00
scottjehl
9826bf7b4b
removed and edited some tests that no longer apply to listviews
2011-03-31 17:51:07 -04:00
scottjehl
776e23ee95
simplified test, but in general, the nav test suite feels brittle. Maybe because of our usage of async tests. Anyway, I was able to get all tests to pass once.
2011-03-31 13:38:49 -04:00
scottjehl
b18756eceb
fixed the last breaking pages unit test
2011-03-31 13:19:51 -04:00
scottjehl
d8aac11a4f
merging unit test addtions for page titles
2011-03-31 12:56:30 -04:00
John Bender
6d37ad6bbb
added addtional test to cover issue 1305
2011-03-30 01:08:15 -07:00
John Bender
215aded824
fixed path detection for when linking from embedded pages to file paths Fixes #1305
2011-03-30 01:08:15 -07:00
John Bender
32f1264491
corrected poor async start order
2011-03-30 01:08:15 -07:00
Kin Blas
f80d286ecb
Fixing tap/taphold tests that broke when fastclick/vmouse changes landed.
2011-03-29 12:01:58 -07:00
Kin Blas
9e40d14b28
Fixing unit test bustage. The fastclick branch landed so these tests need to be updated to fire off "click" versus "touchend" or "mouesup".
2011-03-29 09:32:10 -07:00
John Bender
7b4842eabc
test for dialogs within dialogs
2011-03-28 00:41:33 -07:00
scottjehl
d66cd439f0
removed a console log
2011-03-27 12:46:51 -04:00
scottjehl
450099213b
fixed up the unit test for fieldcontain with namespacing and similar JS links in head.
2011-03-27 12:01:36 -04:00
BradBroulik
1f5259a7ee
Added code coverage for fieldcontain module.
2011-03-27 23:54:24 +08:00
John Bender
73a39ab7ec
fixed poorly chosen selector in test and moved generated anchor markup into hidden page
2011-03-27 02:07:31 -04:00
scottjehl
fd5b3210e4
used :hidden selector instead
2011-03-27 00:48:30 -04:00
scottjehl
0780e40a69
straightened out some failing tests so they match the new markup conventions
2011-03-26 23:47:14 -04:00
scottjehl
a496bc3bb7
used data-rel to find back buttons
2011-03-26 22:34:36 -04:00
scottjehl
bed18f1bc9
updated to latest, adjusted first test to click the anchor
2011-03-26 22:33:33 -04:00
scottjehl
de21e9e628
trigger click on the link instead
2011-03-26 21:31:14 -04:00
scottjehl
b950f1c319
changed to just call dialog close method
2011-03-26 15:01:25 -04:00
scottjehl
e8cee23744
major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well.
2011-03-26 14:14:02 -04:00
scottjehl
963840a3b0
moved some selectors over to :jqmData()
2011-03-26 10:18:32 -04:00
John Bender
caedd81cfd
give swipe event triggers a 100ms buffer to allow for async sequences
2011-03-26 00:48:41 -07:00
John Bender
c7ed33cfeb
increase swipe check timout to allow for test browser speed
2011-03-25 23:59:57 -07:00
John Bender
62a8a4039a
stabilized event tests a bit more
2011-03-25 23:45:22 -07:00
John Bender
bf5d09cf9c
small fixs for linux chrome tests
2011-03-25 22:55:25 -07:00
John Bender
14f43ace9b
fix for select tests after default to native
2011-03-25 21:37:45 -07:00
John Bender
0ed68525ed
fixed array comparison tests to test single element
2011-03-25 18:40:55 -07:00
John Bender
143fd264d2
fixed mobile init bind firing in another test
2011-03-25 18:27:35 -07:00
scottjehl
497344c618
used mobile.ns in the test
2011-03-25 18:21:10 -04:00
scottjehl
7503f62a10
changed our two new custom data helper names to jqmData() and :jqmData()
2011-03-25 17:50:40 -04:00
John Bender
7d3642f3ab
fixed init tests for ie
2011-03-24 09:46:13 -07:00
John Bender
018609fa32
removed mass of duplication from core of functionality that was moved to init, fixed init tests
2011-03-22 00:26:24 -07:00
John Bender
7df9e245f4
test namespace additions and type fix for core
2011-03-21 23:36:32 -07:00
John Bender
e236484559
fixed checkbox radio refresh selector
2011-03-21 23:17:46 -07:00
John Bender
2d56e5c2fb
whitespace in event_core tests
2011-03-21 01:40:31 -07:00
John Bender
5d75e3dfa7
fixed event tests
2011-03-21 01:27:50 -07:00
John Bender
e1098e06de
fixed widget tests by including the library as a whole
2011-03-19 23:14:46 -07:00
John Bender
ff23f63881
moved the widget tests back under an immediate function
2011-03-19 23:12:55 -07:00
John Bender
3316e559b3
fixed order dependent tests in listview
2011-03-19 22:44:35 -07:00
John Bender
45183c186c
fixed listview tests, refactor still necessary for the last test selectors
2011-03-19 22:29:53 -07:00
John Bender
4fca8e6d21
removed console
2011-03-17 00:15:29 -07:00
John Bender
2202b0d76c
fixed some listview tests, still some that are hanging on complex selectors
2011-03-17 00:14:32 -07:00
John Bender
fe754ed298
fixed first three tests to be independent of order
2011-03-16 23:00:02 -07:00
John Bender
4959548698
fixed init core tests to represent init functionality
2011-03-16 22:31:22 -07:00
John Bender
5349e5876b
fixed some failing listview tests
2011-03-16 00:07:26 -07:00
John Bender
4126fbd29b
fixed last failing tests after merge in init tests
2011-03-15 23:58:22 -07:00
John Bender
63e8f6bfcb
resolved merge conflicts and fixed 2 tests
2011-03-15 23:57:17 -07:00
John Bender
b56626fba1
added type attribute regex tests for the different ways that browsers serialize html
2011-03-14 23:50:20 -07:00
John Bender
cd654a4eae
moved page unit tests back under anon function
2011-03-14 23:50:20 -07:00
John Bender
8943287c75
Revert "fixed failing slider tests in firefox by adding data-type to type=range inputs"
...
This reverts commit 6ca79aceb4 .
2011-03-14 08:22:44 -07:00
John Bender
6ca79aceb4
fixed failing slider tests in firefox by adding data-type to type=range inputs
2011-03-13 23:40:03 -07:00
John Bender
c629e34e74
fix for broken init test and some whitespace
2011-03-13 23:09:32 -07:00
scottjehl
fc0cd38c4e
improved test for meta injects
2011-03-14 00:20:26 -04:00
scottjehl
f69c98caf0
gradeA adjusted to IE7 and up rather than 6 and up ( this still includes Windows Phone 7). Unit test adjusted to match
2011-03-14 00:20:26 -04:00
scottjehl
d08ff23765
fixed up path.clean test so it passes
2011-03-14 00:20:26 -04:00
scottjehl
4c199a5ce6
added unit test for IE version check in Mobile ( doesn't use UA detection like jQuery Core's)
2011-03-14 00:20:26 -04:00
scottjehl
b2ea5e99e5
added comment about missing meta tag
2011-03-14 00:20:26 -04:00
scottjehl
f6a2bd46ec
added a unit test for checking if meta viewport tag is not appended if one already exists.
2011-03-14 00:20:26 -04:00
scottjehl
b2222388d7
updated to latest
2011-03-14 00:20:26 -04:00
scottjehl
0d9627d54e
Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags.
2011-03-14 00:20:23 -04:00
John Bender
648be47a07
reset location hash in select menu tests
2011-03-12 22:55:48 -08:00
John Bender
e3000e2dec
added failing test for on screen custom select menu rendering
2011-03-12 22:52:44 -08:00
John Bender
129b586666
tests for url root in params / path.clean Fixes #1039
2011-03-12 14:37:45 -08:00
John Bender
ccea5be445
removed console log
2011-03-12 00:29:26 -08:00
John Bender
94ade0f86e
fixed failing data-url regex, bizarri difference in behaviour with Regex objects and literals
2011-03-12 00:10:40 -08:00
John Bender
a33f777952
fixed core unit tests for ns
2011-03-11 22:50:26 -08:00