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
John Bender
cdae2c2fdf
Merge branch 'master' of https://github.com/BradBroulik/jquery-mobile into BradBroulik-master
2011-08-10 17:03:10 -07:00
John Bender
73953915c0
merge fix for select
2011-08-10 14:21:49 -07:00
John Bender
55b5a60b1c
linting issues
2011-08-10 13:56:52 -07:00
John Bender
aad1146a65
added tests to verify that custom menu items are highlighted when they are selected
2011-08-10 13:54:05 -07:00
John Bender
7a9b379dea
test to make sure the label has the ui-select class
2011-08-09 15:55:40 -07:00
BradBroulik
bf4db8dae1
Added unit tests for dialog theme inheritance.
2011-08-05 17:49:47 -05:00
BradBroulik
d5cf4fc29a
Unit tests for dialog theme inheritance
2011-08-05 16:56:42 -05:00
John Bender
7494e398a5
moved open to custom and added a test for native select change removing the button down class
2011-08-05 14:45:08 -07:00
John Bender
3133ccbc3a
moved close to custom, and disable/enable methods common with tests for enable/disable
2011-08-05 12:21:45 -07:00
John Bender
f51f4cf07f
moved focusButton up to common, added test for refocus of clicked button on small dialog close
2011-08-05 12:21:45 -07:00
John Bender
d8e1b9b469
core style guidelines
2011-08-04 15:56:55 -07:00
John Bender
3452a805e0
added test to verify that we could alter the filterCallback on the instance of the widget
2011-08-04 15:28:45 -07:00
John Bender
2d7706a07b
whitespace issues in tnew buttonMarkup tests
2011-08-03 14:24:46 -07:00
John Bender
8c31d5cb19
added control group enhancement tests, still needs other footer button enhancement tests
2011-08-03 13:37:38 -07:00
John Bender
f6a5608ae2
added select_native test set and a tests to verify that setting the value of the select itself sets button text
2011-08-02 16:11:32 -07:00
John Bender
6a46839d5e
added missing assertion to select tests
2011-08-02 13:13:19 -07:00
John Bender
3950542884
made sure the dialog test fails many times, added an extra todo for moving the functionality to find the current theme if its not specified to a generic location
2011-08-02 09:30:28 -07:00
John Bender
f7d5d918ae
fixes for select tests and tests to cover basic functionality for new cached pages and select dialogs
2011-08-01 18:08:28 -07:00
scottjehl
aeaa0f7845
added unit test verifying that the domCache page option can be set globally via $.mobile.page.prototype.options.domCache = true;
2011-07-29 16:03:20 -04:00
John Bender
7a6b28d398
added to to verify that the nested pages are preserved when the parent page is cached
2011-07-29 10:10:26 -07:00
John Bender
3dc9f975e6
fixed second test for page caching
2011-07-29 10:10:26 -07:00
John Bender
3f20eaa038
fixed nav test for new namespace and made the test order independent
2011-07-29 10:10:26 -07:00
John Bender
ded500f3b4
testing additions for listview core
2011-07-29 10:10:26 -07:00
John Bender
3035387446
first test for nested page removal/caching
2011-07-29 10:10:25 -07:00
John Bender
0cd7bb8370
whitespace fix for listview fixtures
2011-07-29 10:10:25 -07:00
John Bender
f79a1afd17
whitespace and semi's in listview core tests
2011-07-29 10:10:25 -07:00
John Bender
bda88be82e
whitespace and semi's in listview core tests
2011-07-29 10:10:25 -07:00
John Bender
1a95670012
added test for explicit page caching via data attribute
2011-07-29 10:10:25 -07:00
John Bender
151d55f351
moved dom cache test to page sequence, negative case incoming
2011-07-29 10:10:25 -07:00
John Bender
191815440f
whitespace and missing semi
2011-07-29 10:10:25 -07:00
scottjehl
2b1baeb078
fixed up unit test so that it's now properly testing the ajax dom caching page option
2011-07-29 10:10:25 -07:00
scottjehl
dc054a10e7
implemented ajax dom caching option of the page plugin, which can be overridden by page options or data attribute. Includes unit test to support feature.
2011-07-29 10:10:25 -07:00
scottjehl
d670feae08
removed test for page-div-not-required, as it has its own test page.. Added tests for auto initialize option.
2011-07-24 22:13:26 -04:00
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