diff options
author | Adam Young <ayoung@redhat.com> | 2010-09-28 19:20:02 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-09-29 09:30:09 -0400 |
commit | 09555fae17dcd142c4b39643e3f7d376ed8d4841 (patch) | |
tree | d6c38eb9740a05e473fcec0f5069d7467cf53347 /install/static/test/navigation_tests.html | |
parent | d201a4350d8ce0adb97e8f161ab916bb6bc066a5 (diff) | |
download | freeipa.git-09555fae17dcd142c4b39643e3f7d376ed8d4841.tar.gz freeipa.git-09555fae17dcd142c4b39643e3f7d376ed8d4841.tar.xz freeipa.git-09555fae17dcd142c4b39643e3f7d376ed8d4841.zip |
tab objects
Convert the tab lists to arrays of objects with four potential fields:
tab[0] -> tab.name
tab[1] -> tab.label
tab[2] -> tab.setup or tab.children
Added unit tests for nav_setup and nav_select_tab
Diffstat (limited to 'install/static/test/navigation_tests.html')
-rw-r--r-- | install/static/test/navigation_tests.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/install/static/test/navigation_tests.html b/install/static/test/navigation_tests.html new file mode 100644 index 00000000..dbb562f1 --- /dev/null +++ b/install/static/test/navigation_tests.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> +<head> + <title>Navigation Test Suite</title> + <link rel="stylesheet" href="qunit.css" type="text/css" media="screen"> + <script type="text/javascript" src="qunit.js"></script> + <script type="text/javascript" src="../jquery.js"></script> + <script type="text/javascript" src="../jquery.ba-bbq.js"></script> + <script type="text/javascript" src="../jquery-ui.js"></script> + <script type="text/javascript" src="../navigation.js"></script> + <script type="text/javascript" src="navigation_tests.js"></script> +</head> +<body> + <h1 id="qunit-header">Navigation 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">test markup</div> +</body> +</html> |