Commit 7ba58f18 authored by Vincent Bechu's avatar Vincent Bechu

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

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