Skip to content
Permalink
Browse files

Menu tests: Cleanup.

  • Loading branch information
scottgonzalez committed Aug 4, 2011
1 parent 4adb902 commit cff6b56fd429b0be2e1668a26b362775263f8925
Showing with 88 additions and 86 deletions.
  1. +5 −17 tests/unit/menu/menu.html
  2. +69 −69 tests/unit/menu/menu_events.js
  3. +14 −0 tests/unit/menu/menu_test_helpers.js
@@ -16,30 +16,18 @@
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>

<script>
function log(message,clear) {
if (clear && clear === true) {
$("#log").html("");
}
if ( message === undefined ) {
message = $("#log").data("lastItem");
}
$("#log").prepend( message + "," );
}
function clickMenu(menu,item) {
$("#log").data("lastItem",item);
$('li:eq(' + item + ') a',menu).trigger("click");
}
</script>
<script src="menu_test_helpers.js"></script>
<script src="menu_core.js"></script>
<script src="menu_defaults.js"></script>
<script src="menu_events.js"></script>
<script src="menu_methods.js"></script>
<script src="menu_options.js"></script>

<script type="text/javascript" src="../swarminject.js"></script>
<script src="../swarminject.js"></script>
<style>
#qunit-fixture { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; }
.ui-menu {
font-size: 15px;
}
#menu3 {
height: 250px;
overflow: auto;

0 comments on commit cff6b56

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