Skip to content
Permalink
Browse files

Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu

  • Loading branch information...
fnagel committed Nov 2, 2011
2 parents 5cbd109 + defc8d5 commit eedf7e95f2b999fd12f472cc1dc2fe1941626d11
@@ -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>
@@ -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>
@@ -0,0 +1,6 @@
(function( $ ) {

module( "selectmenu: core" );


})( jQuery );
@@ -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
}
});
@@ -0,0 +1,7 @@
(function( $ ) {

module( "selectmenu: events" );



})( jQuery );
@@ -0,0 +1,12 @@
(function( $ ) {

module( "selectmenu: methods" );

test( "destroy", function() {
expect( 1 );
domEqual( "#speed", function() {
$( "#speed" ).selectmenu().selectmenu( "destroy" );
});
});

})( jQuery );
@@ -0,0 +1,7 @@
(function( $ ) {

module( "selectmenu: options" );



})( jQuery );

0 comments on commit eedf7e9

Please sign in to comment.
You can’t perform that action at this time.