UnitTest:JQM Unit TC helper has been added,TCs have been modified
[platform/framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.2.0 / tests / unit / button-markup / index.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4         <meta charset="UTF-8" />
5         <title>jQuery Mobile Button Markup Test Suite</title>
6         <!-- meta viewport left out on purpose for test append -->
7         <script src="../../../external/requirejs/require.js"></script>
8         <script src="../../../js/jquery.tag.inserter.js"></script>
9         <script src="../jquery.setNameSpace.js"></script>
10         <script src="../../../external/qunit.js"></script>
11         <script src="../../jquery.testHelper.js"></script>
12         <script>
13                 $.testHelper.asyncLoad([
14                         [
15                                 "jquery.mobile.buttonMarkup",
16                                 "jquery.mobile.controlGroup",
17                                 "widgets/fixedToolbar",
18                                 "widgets/forms/button",
19                         ],
20                         [ "jquery.mobile.init" ],
21                         [
22                                 "buttonMarkup_core.js"
23                         ]
24                 ]);
25         </script>
26
27         <link rel="stylesheet"  href="../../../css/themes/default/jquery.mobile.css" />
28         <link rel="stylesheet" href="../../../external/qunit.css"/>
29         <script src="../../../../../../tests/jqm-tchelper/tizen.testHelper.js"></script>
30         <script src="../swarminject.js"></script>
31 </head>
32 <body>
33
34 <h1 id="qunit-header">jQuery Mobile Button Markup Test Suite</h1>
35 <h2 id="qunit-banner"></h2>
36 <h2 id="qunit-userAgent"></h2>
37 <ol id="qunit-tests">
38 </ol>
39
40 <div data-nstest-role="page" id="default">
41   <div data-nstest-role="header" id="page-header">
42     <a id="header-button-1" data-role="button" href="index.html">Header button 1</a>
43     <a id="header-button-2" data-role="button" href="index.html">Header button 2</a>
44   </div>
45   <div data-nstest-role="content" id="control-group-content">
46     <input type="submit" data-nstest-role="button" value="Double Enhanced?" id="double-enhanced" />
47     <a href="index.html" data-nstest-role="button" data-nstest-shadow="false">No shadow</a>
48     <a href="index.html" data-nstest-role="button" data-nstest-corners="false">No corners</a>
49     <a href="index.html" data-nstest-role="button" data-nstest-shadow="false" data-nstest-corners="false">No shadow or corners</a>
50     <a href="index.html" data-nstest-role="button" data-nstest-icon="delete" data-nstest-iconshadow="false">No iconshadow</a>
51     <button data-nstest-shadow="false" data-nstest-corners="false" data-nstest-icon="delete" data-nstest-iconshadow="false">None of the above</button>
52     <svg id="embedded-svg" width="120" height="120" viewPort="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg">
53       <rect x="10" y="10" width="100" height="100"/>
54     </svg>
55
56         <a href="docs-bars.html" data-nstest-role="button" id="full">Fullsize</a>
57         <a href="docs-bars.html" data-nstest-role="button" data-nstest-mini="true" id="mini">Mini</a>
58
59         <div data-nstest-role="controlgroup" data-nstest-mini="true" id="mini-control">
60                 <a href="index.html" data-nstest-role="button">Yes</a>
61         </div>
62
63         <a id="iconpos1" data-nstest-role="button" href="index.html" data-nstest-icon="check">Default iconpos</a>
64         <a id="iconpos2" data-nstest-role="button" href="index.html" data-nstest-icon="check" data-nstest-iconpos="left">Left iconpos</a>
65         <a id="iconpos3" data-nstest-role="button" href="index.html" data-nstest-icon="check" data-nstest-iconpos="right">Right iconpos</a>
66         <a id="hover-delay" data-nstest-role="button" href="index.html"></a>
67   </div>
68         <div data-nstest-role="footer" id="control-group-footer" class="ui-bar" data-nstest-position="inline">
69                 <div data-nstest-role="controlgroup" data-nstest-type="horizontal">
70                         <a href="index.html" data-nstest-icon="delete">Remove</a>
71                         <a href="index.html" data-nstest-icon="plus">Add</a>
72                         <a href="index.html" data-nstest-icon="arrow-u">Up</a>
73                         <a href="index.html" data-nstest-icon="arrow-d">Down</a>
74                 </div>
75         </div>
76 </div>
77 </body>
78 </html>