Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
amrani
jio
Commits
e3b5e700
Commit
e3b5e700
authored
May 31, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'xwiki/master'
parents
96cbccb1
a9a83c96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
test/jiotests.js
test/jiotests.js
+2
-5
No files found.
test/jiotests.js
View file @
e3b5e700
...
@@ -7206,6 +7206,7 @@ test ("XWiki Live Server setup", function () {
...
@@ -7206,6 +7206,7 @@ test ("XWiki Live Server setup", function () {
var
o
=
setUp
(
this
);
var
o
=
setUp
(
this
);
o
.
jio
.
stop
();
o
.
jio
.
stop
();
this
.
sandbox
.
restore
();
this
.
sandbox
.
restore
();
o
.
server
.
restore
();
o
.
jio
.
start
();
o
.
jio
.
start
();
QUnit
.
stop
();
QUnit
.
stop
();
...
@@ -7265,11 +7266,7 @@ test ("XWiki Live Server setup", function () {
...
@@ -7265,11 +7266,7 @@ test ("XWiki Live Server setup", function () {
// get Attachment
// get Attachment
o
.
jio
.
getAttachment
({
"
_id
"
:
"
one.json
"
,
"
_attachment
"
:
"
att.txt
"
},
waitFor
(
function
(
err
,
ret
)
{
o
.
jio
.
getAttachment
({
"
_id
"
:
"
one.json
"
,
"
_attachment
"
:
"
att.txt
"
},
waitFor
(
function
(
err
,
ret
)
{
ok
(
!
err
);
ok
(
!
err
);
var
fr
=
new
FileReader
();
ok
(
ret
==
"
there2
"
);
fr
.
onload
=
waitFor
(
function
(
dat
)
{
ok
(
dat
.
target
.
result
==
"
there2
"
);
});
fr
.
readAsText
(
ret
);
}));
}));
}).
nThen
(
function
(
waitFor
)
{
}).
nThen
(
function
(
waitFor
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment