Selectmenu: Update unit tests

This commit is contained in:
Felix Nagel 2012-05-16 20:30:30 +02:00
parent 4460376a85
commit ff957dd287
2 changed files with 16 additions and 13 deletions

View File

@ -4,23 +4,26 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery UI Selectmenu Test Suite</title> <title>jQuery UI Selectmenu Test Suite</title>
<link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.menu.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.selectmenu.css">
<script src="../../jquery.js"></script> <script src="../../jquery.js"></script>
<script src="../../../ui/jquery.ui.core.js"></script>
<script src="../../../ui/jquery.ui.widget.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"> <link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script> <script src="../../../external/qunit.js"></script>
<script src="../../jquery.simulate.js"></script> <script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script> <script src="../testsuite.js"></script>
<script>
TestHelpers.loadResources({
css: [ "ui.core", "ui.menu" , "ui.selectmenu" ],
js: [
"ui/jquery.ui.core.js",
"ui/jquery.ui.widget.js",
"ui/jquery.ui.menu.js",
"ui/jquery.ui.selectmenu.js"
]
});
</script>
<script src="selectmenu_common.js"></script>
<script src="selectmenu_core.js"></script> <script src="selectmenu_core.js"></script>
<script src="selectmenu_defaults.js"></script>
<script src="selectmenu_events.js"></script> <script src="selectmenu_events.js"></script>
<script src="selectmenu_methods.js"></script> <script src="selectmenu_methods.js"></script>
<script src="selectmenu_options.js"></script> <script src="selectmenu_options.js"></script>

View File

@ -1,4 +1,4 @@
commonWidgetTests( "selectmenu", { TestHelpers.commonWidgetTests( "selectmenu", {
defaults: { defaults: {
appendTo: "body", appendTo: "body",
disabled: false, disabled: false,