Commit ddf61098 authored by Vincent Bechu's avatar Vincent Bechu Committed by Vincent Bechu

[test] Add scenarii to test and update saferepair storage to pass them

parent 5d6e60dd
This diff is collapsed.
...@@ -12,13 +12,8 @@ ...@@ -12,13 +12,8 @@
module = QUnit.module, module = QUnit.module,
ATTACHMENT = 'data', ATTACHMENT = 'data',
i, i,
<<<<<<< HEAD
name_list = ['get', 'post', 'put', 'buildQuery',
=======
name_list = ['get', 'post', 'put', 'remove', 'buildQuery', name_list = ['get', 'post', 'put', 'remove', 'buildQuery',
>>>>>>> 7ed9424... Scenario: init officejs scenario
'putAttachment', 'getAttachment', 'allAttachments']; 'putAttachment', 'getAttachment', 'allAttachments'];
/////////////////////////////////////////////////////// ///////////////////////////////////////////////////////
// Fake Storage // Fake Storage
/////////////////////////////////////////////////////// ///////////////////////////////////////////////////////
...@@ -154,11 +149,8 @@ ...@@ -154,11 +149,8 @@
check_remote_attachment_creation: true, check_remote_attachment_creation: true,
check_remote_attachment_deletion: true, check_remote_attachment_deletion: true,
check_local_deletion: false, check_local_deletion: false,
<<<<<<< HEAD
parallel_operation_amount: 10, parallel_operation_amount: 10,
parallel_operation_attachment_amount: 10, parallel_operation_attachment_amount: 10,
=======
>>>>>>> 7ed9424... Scenario: init officejs scenario
local_sub_storage: { local_sub_storage: {
type: "query", type: "query",
sub_storage: { sub_storage: {
......
/*jslint nomen: true*/ /*jslint indent:2,maxlen:80,nomen:true*/
(function (jIO) { /*global jIO, RSVP*/
(function (jIO, RSVP) {
"use strict"; "use strict";
/** /**
...@@ -88,4 +89,4 @@ ...@@ -88,4 +89,4 @@
jIO.addStorage('saferepair', SafeRepairStorage); jIO.addStorage('saferepair', SafeRepairStorage);
}(jIO)); }(jIO, RSVP));
...@@ -53,6 +53,11 @@ ...@@ -53,6 +53,11 @@
<script src="jio.storage/zipstorage.tests.js"></script> <script src="jio.storage/zipstorage.tests.js"></script>
<script src="jio.storage/gdrivestorage.tests.js"></script> <script src="jio.storage/gdrivestorage.tests.js"></script>
<script src="jio.storage/websqlstorage.tests.js"></script> <script src="jio.storage/websqlstorage.tests.js"></script>
<script src="../node_modules/renderjs/dist/renderjs-latest.js"></script>
<script src="../examples/scenario.js"></script>
<script src="../examples/scenario_officejs.js"></script>
<!--script src="../lib/jquery/jquery.min.js"></script> <!--script src="../lib/jquery/jquery.min.js"></script>
<script src="../src/jio.storage/xwikistorage.js"></script> <script src="../src/jio.storage/xwikistorage.js"></script>
<script src="jio.storage/xwikistorage.tests.js"></script--> <script src="jio.storage/xwikistorage.tests.js"></script-->
......
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