Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Boris Kocherov
jio
Commits
cb071f1a
Commit
cb071f1a
authored
11 years ago
by
Tristan Cavelier
Browse files
Options
Download
Email Patches
Plain Diff
jio tests updated
parent
3e152964
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
578 additions
and
524 deletions
+578
-524
test/jio/tests.js
test/jio/tests.js
+572
-519
test/jio/util.js
test/jio/util.js
+4
-3
test/tests.html
test/tests.html
+1
-1
test/tests.require.js
test/tests.require.js
+1
-1
No files found.
test/jio/tests.js
View file @
cb071f1a
This diff is collapsed.
Click to expand it.
test/jio/util.js
View file @
cb071f1a
/*jslint indent: 2, maxlen: 80 */
/*global define, exports, window, localStorage, ok, deepEqual, sinon */
/*global define, exports, window, require, localStorage, start, ok, deepEqual,
sinon */
(
function
(
dependencies
,
module
)
{
"
use strict
"
;
...
...
@@ -7,13 +8,13 @@
return
define
(
dependencies
,
module
);
}
if
(
typeof
exports
===
'
object
'
)
{
module
(
exports
);
module
(
exports
,
require
(
'
sinon_qunit
'
)
);
}
if
(
typeof
window
===
'
object
'
)
{
window
.
test_util
=
{};
module
(
window
.
test_util
);
}
}([
'
exports
'
],
function
(
exports
)
{
}([
'
exports
'
,
'
sinon_qunit
'
],
function
(
exports
)
{
"
use strict
"
;
//////////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
test/tests.html
View file @
cb071f1a
...
...
@@ -10,7 +10,7 @@
<script
src=
"../lib/qunit/qunit.js"
></script>
<script
src=
"../lib/sinon/sinon.js"
></script>
<script
src=
"../lib/sinon/sinon-qunit.js"
></script>
<script
src=
"../
src/promy/pr
om
y
.js"
></script>
<script
src=
"../
lib/rsvp/rsvp-cust
om.js"
></script>
<script
src=
"../src/sha256.amd.js"
></script>
<script
src=
"../jio.js"
></script>
<script
src=
"jio/util.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
test/tests.require.js
View file @
cb071f1a
...
...
@@ -6,7 +6,7 @@
require
.
config
({
"
paths
"
:
{
"
promy
"
:
"
../
src/promy/promy
"
,
"
rsvp
"
:
"
../
lib/rsvp/rsvp-custom.amd
"
,
"
sha256
"
:
"
../src/sha256.amd
"
,
"
jio
"
:
"
../jio
"
,
"
jio_tests
"
:
"
jio/tests
"
,
...
...
This diff is collapsed.
Click to expand it.
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