web/test/jstests/test_utils.html
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 08 Jul 2010 19:18:56 +0200
changeset 5950 f84dba9b8eca
parent 5739 aaf9f5ea1405
permissions -rw-r--r--
[test] fix test_ajax js tests. We have to mock some of our js functions / variables (e.g. _ or pageid) in the test environment

<html>
  <head>
    <script type="text/javascript" src="../../data/jquery.js"></script>
    <script src="../../data/jquery.corner.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.python.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.compat.js" type="text/javascript"></script>
    <script src="utils.js" type="text/javascript"></script>
    <script type="text/javascript" src="qunit.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="qunit.css" />
    <script src="cwmock.js" type="text/javascript"></script>
    <script src="test_utils.js" type="text/javascript"></script>
  </head>
  <body>
    <div id="main">
    </div>
    <h1 id="qunit-header">cw.utils functions tests</h1>
    <h2 id="qunit-banner"></h2>
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests">
  </body>
</html>