Commit b6dced08 authored by Tristan Cavelier's avatar Tristan Cavelier

davstorage.livetests.js replaced by davstorage.tests.js

davstorage.tests.js is hybrid, you can use it with real server or fake server.
parent b3be0759
...@@ -12,9 +12,15 @@ ...@@ -12,9 +12,15 @@
<script src="../../complex_queries.js"></script> <script src="../../complex_queries.js"></script>
<script src="../../src/jio.storage/davstorage.js"></script> <script src="../../src/jio.storage/davstorage.js"></script>
<script src="../jio/util.js"></script> <script src="../jio/util.js"></script>
<script src="davstorage.livetests.js"></script>
</head> </head>
<body> <body>
<script>
var davstorage_spec = {};
location.href.split('?')[1].split('&').forEach(function (item) {
davstorage_spec[item.split('=')[0]] = decodeURI(item.split('=').slice(1).join('=')).
replace(/%3A/ig, ':').replace(/%2F/ig, '/');
});
</script>
<h3>JIO initialization</h3> <h3>JIO initialization</h3>
<form method="get" action=""> <form method="get" action="">
<input type="hidden" name="type" value="dav"/> <input type="hidden" name="type" value="dav"/>
...@@ -26,5 +32,6 @@ ...@@ -26,5 +32,6 @@
</form> </form>
<br /> <br />
<div id="qunit"></div> <div id="qunit"></div>
<script src="davstorage.tests.js"></script>
</body> </body>
</html> </html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment