summaryrefslogtreecommitdiffstats
path: root/install/ui/test/all_tests.html
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-12-04 19:34:21 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-01-18 15:10:37 +0100
commit5d919c9556345a8c230dbd3c43b52a0b9f066773 (patch)
tree72eb825b9ee8c24429deb60f5b9e3701779ff089 /install/ui/test/all_tests.html
parentc71937fc0c2006c032948c564246822cb7344aa9 (diff)
downloadfreeipa-5d919c9556345a8c230dbd3c43b52a0b9f066773.tar.gz
freeipa-5d919c9556345a8c230dbd3c43b52a0b9f066773.tar.xz
freeipa-5d919c9556345a8c230dbd3c43b52a0b9f066773.zip
Change tests to use AMD loader
Test were modified accordingly to AMD changes. https://fedorahosted.org/freeipa/ticket/112
Diffstat (limited to 'install/ui/test/all_tests.html')
-rw-r--r--install/ui/test/all_tests.html63
1 files changed, 34 insertions, 29 deletions
diff --git a/install/ui/test/all_tests.html b/install/ui/test/all_tests.html
index e9061b6ca..0acd8b76d 100644
--- a/install/ui/test/all_tests.html
+++ b/install/ui/test/all_tests.html
@@ -4,35 +4,40 @@
<title>Complete 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="../jquery.ordered-map.js"></script>
- <script type="text/javascript" src="../net.js"></script>
- <script type="text/javascript" src="../ipa.js"></script>
- <script type="text/javascript" src="../widget.js"></script>
- <script type="text/javascript" src="../field.js"></script>
- <script type="text/javascript" src="../dialog.js"></script>
- <script type="text/javascript" src="../details.js"></script>
- <script type="text/javascript" src="../search.js"></script>
- <script type="text/javascript" src="../add.js"></script>
- <script type="text/javascript" src="../facet.js"></script>
- <script type="text/javascript" src="../entity.js"></script>
- <script type="text/javascript" src="../association.js"></script>
- <script type="text/javascript" src="../navigation.js"></script>
- <script type="text/javascript" src="../certificate.js"></script>
- <script type="text/javascript" src="../aci.js"></script>
- <script type="text/javascript" src="ordered_map_tests.js"></script>
- <script type="text/javascript" src="ipa_tests.js"></script>
- <script type="text/javascript" src="details_tests.js"></script>
- <script type="text/javascript" src="entity_tests.js"></script>
- <script type="text/javascript" src="association_tests.js"></script>
- <script type="text/javascript" src="navigation_tests.js"></script>
- <script type="text/javascript" src="certificate_tests.js"></script>
- <script type="text/javascript" src="aci_tests.js"></script>
- <script type="text/javascript" src="widget_tests.js"></script>
- <script type="text/javascript" src="ip_tests.js"></script>
- <script type="text/javascript" src="utils_tests.js"></script>
+ <script type="text/javascript" src="../js/libs/jquery.js"></script>
+ <script type="text/javascript" src="../js/libs/jquery.ba-bbq.js"></script>
+ <script type="text/javascript" src="../js/libs/jquery-ui.js"></script>
+ <script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
+ <script type="text/javascript" src="config.js"></script>
+ <script type="text/javascript" src="../js/dojo/dojo.js"></script>
+
+ <script type="text/javascript">
+ require([
+ 'test/ordered_map_tests',
+ 'test/ipa_tests',
+ 'test/details_tests',
+ 'test/entity_tests',
+ 'test/association_tests',
+ 'test/navigation_tests',
+ 'test/certificate_tests',
+ 'test/aci_tests',
+ 'test/widget_tests',
+ 'test/ip_tests',
+ 'test/utils_tests'
+ ], function(om, ipa, details, entity, as, nav, cert, aci, wid, ip, ut){
+ om();
+ ipa();
+ details();
+ entity();
+ as();
+ nav();
+ cert();
+ aci();
+ wid();
+ ip();
+ ut();
+ });
+ </script>
</head>
<body>
<h1 id="qunit-header">Complete Test Suite</h1>