diff options
Diffstat (limited to 'tests/unit-tests/autodividers/index.html')
-rw-r--r-- | tests/unit-tests/autodividers/index.html | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/tests/unit-tests/autodividers/index.html b/tests/unit-tests/autodividers/index.html new file mode 100644 index 00000000..f0ee1e0d --- /dev/null +++ b/tests/unit-tests/autodividers/index.html @@ -0,0 +1,72 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>jQuery Mobile Autodividers Tests</title> + + <link rel="stylesheet" href="../../../libs/js/jquery-mobile-1.1.0/external/qunit.css"/> + + <script src="../../../build/tizen-web-ui-fw/latest/js/jquery.js"></script> + <script src="../../../libs/js/jquery-mobile-1.1.0/tests/unit/jquery.setNameSpace.js"></script> + <script src="../../../build/tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.js"></script> + <script src="../../../build/tizen-web-ui-fw/latest/js/tizen-web-ui-fw.js" data-framework-theme="tizen-white"></script> + <script src="../../../libs/js/jquery-mobile-1.1.0/tests/jquery.testHelper.js"></script> + <script src="../../../libs/js/jquery-mobile-1.1.0/external/qunit.js"></script> + + <script src="autodividers-tests.js"></script> + +</head> +<body> + +<h1 id="qunit-header">jQuery Mobile Autodividers Tests</h1> +<h2 id="qunit-banner"></h2> +<h2 id="qunit-userAgent"></h2> +<ol id="qunit-tests"> +</ol> + +<div data-nstest-role="page" id="autodividers-test"> + <div data-nstest-role="header" data-nstest-position="inline"> + <h1>Autodivider Test</h1> + </div> + <div data-nstest-role="content"> + <ul data-nstest-role="listview" data-nstest-autodividers="alpha"> + <li data-nstest-role="list-divider">SHOULD REMOVE</li> + <li>a is for aquaman</li> + <li>b is for batman</li> + <li>c is for catwoman</li> + <li>d is for darkwing</li> + </ul> + </div> +</div> + +<div data-nstest-role="page" id="autodividers-selector-test"> + <div data-nstest-role="header" data-nstest-position="inline"> + <h1>Autodivider Selector Test</h1> + </div> + <div data-nstest-role="content"> + <ul id="autodividers-selector-test-list1" data-nstest-role="listview" data-nstest-autodividers="alpha"> + <li><a href="">a is for aquaman</a></li> + <li><a href="">b is for batman</a></li> + <li><a href="">c is for catwoman</a></li> + <li><a href="">d is for darkwing</a></li> + </ul> + + <ul id="autodividers-selector-test-list2" data-nstest-role="listview" data-nstest-autodividers="alpha" data-nstest-autodividers-selector="div > span.autodividers-selector-test-selectme"> + <li><div><span class="autodividers-selector-test-selectme">eddie</span> is for aquaman</div></li> + <li><div><span class="autodividers-selector-test-selectme">frankie</span> is for batman</div></li> + <li><div><span class="autodividers-selector-test-selectme">georgie</span> is for catwoman</div></li> + <li><div><span class="autodividers-selector-test-selectme">henry</span> is for darkwing</div></li> + </ul> + + <ul id="autodividers-selector-test-list3" data-nstest-role="listview" data-nstest-autodividers="full" data-nstest-autodividers-selector="div > span.autodividers-selector-test-selectme"> + <li><div><span class="autodividers-selector-test-selectme">eddie</span> is smart</div></li> + <li><div><span class="autodividers-selector-test-selectme">eddie</span> is tough</div></li> + <li><div><span class="autodividers-selector-test-selectme">frankie</span> is scruffy</div></li> + <li><div><span class="autodividers-selector-test-selectme">frankie</span> is week</div></li> + </ul> + </div> +</div> + +</body> +</html> |