Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu
- Loading branch information
Showing
7 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jQuery UI Selectmenu Test Suite</title> | ||
|
||
<script src="../../../jquery-1.6.2.js"></script> | ||
|
||
<link rel="stylesheet" href="../../../external/qunit.css"> | ||
<link rel="stylesheet" href="../subsuiteRunner.css"> | ||
<script src="../../../external/qunit.js"></script> | ||
<script src="../subsuiteRunner.js"></script> | ||
<script src="../subsuite.js"></script> | ||
|
||
<script> | ||
testAllVersions( "selectmenu" ); | ||
</script> | ||
</head> | ||
<body> | ||
|
||
<h1 id="qunit-header">jQuery UI Selectmenu Test Suite</h1> | ||
<h2 id="qunit-banner"></h2> | ||
<div id="qunit-testrunner-toolbar"></div> | ||
<h2 id="qunit-userAgent"></h2> | ||
<ol id="qunit-tests"></ol> | ||
<div id="qunit-fixture"> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jQuery UI Selectmenu Test Suite</title> | ||
|
||
<link rel="stylesheet" href="../../../themes/base/jquery.ui.spinner.css"> | ||
|
||
<script src="../../jquery.js"></script> | ||
<script src="../../../external/jquery.mousewheel-3.0.4.js"></script> | ||
<script src="../../../external/globalize.js"></script> | ||
<script src="../../../external/globalize.culture.ja-JP.js"></script> | ||
<script src="../../../ui/jquery.ui.core.js"></script> | ||
<script src="../../../ui/jquery.ui.widget.js"></script> | ||
<script src="../../../ui/jquery.ui.button.js"></script> | ||
<script src="../../../ui/jquery.ui.menu.js"></script> | ||
<script src="../../../ui/jquery.ui.selectmenu.js"></script> | ||
|
||
<link rel="stylesheet" href="../../../external/qunit.css"> | ||
<script src="../../../external/qunit.js"></script> | ||
<script src="../../jquery.simulate.js"></script> | ||
<script src="../testsuite.js"></script> | ||
|
||
<script src="selectmenu_core.js"></script> | ||
<script src="selectmenu_defaults.js"></script> | ||
<script src="selectmenu_events.js"></script> | ||
<script src="selectmenu_methods.js"></script> | ||
<script src="selectmenu_options.js"></script> | ||
|
||
<script src="../swarminject.js"></script> | ||
</head> | ||
<body> | ||
|
||
<h1 id="qunit-header">jQuery UI Selectmenu Test Suite</h1> | ||
<h2 id="qunit-banner"></h2> | ||
<div id="qunit-testrunner-toolbar"></div> | ||
<h2 id="qunit-userAgent"></h2> | ||
<ol id="qunit-tests"></ol> | ||
<div id="qunit-fixture"> | ||
|
||
<label for="speed">Select a speed:</label> | ||
<select name="speed" id="speed"> | ||
<option value="Slower">Slower</option> | ||
<option value="Slow">Slow</option> | ||
<option value="Medium" selected="selected">Medium</option> | ||
<option value="Fast">Fast</option> | ||
<option value="Faster">Faster</option> | ||
</select> | ||
|
||
<label for="files">Select a file:</label> | ||
<select name="files" id="files"> | ||
<optgroup disabled="disabled" label="Scripts"> | ||
<option value="jquery">jQuery.js</option> | ||
<option value="jqueryui">ui.jQuery.js</option> | ||
</optgroup> | ||
<optgroup label="Other files"> | ||
<option value="somefile">Some unknown file</option> | ||
<option value="someotherfile">Some other file</option> | ||
</optgroup> | ||
</select> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(function( $ ) { | ||
|
||
module( "selectmenu: core" ); | ||
|
||
|
||
})( jQuery ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
commonWidgetTests( "selectmenu", { | ||
defaults: { | ||
appendTo: "body", | ||
disabled: false, | ||
dropdown: true, | ||
position: { | ||
my: "left top", | ||
at: "left bottom", | ||
collision: "none" | ||
}, | ||
value: null, | ||
// callbacks | ||
open: null, | ||
focus: null, | ||
select: null, | ||
close: null, | ||
change: null | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
(function( $ ) { | ||
|
||
module( "selectmenu: events" ); | ||
|
||
|
||
|
||
})( jQuery ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(function( $ ) { | ||
|
||
module( "selectmenu: methods" ); | ||
|
||
test( "destroy", function() { | ||
expect( 1 ); | ||
domEqual( "#speed", function() { | ||
$( "#speed" ).selectmenu().selectmenu( "destroy" ); | ||
}); | ||
}); | ||
|
||
})( jQuery ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
(function( $ ) { | ||
|
||
module( "selectmenu: options" ); | ||
|
||
|
||
|
||
})( jQuery ); |