"
6 | , "repository" :
7 | { "type" : "git"
8 | , "url" : "http://github.com/mikeal/request.git"
9 | }
10 | , "bugs" :
11 | { "url" : "http://github.com/mikeal/request/issues" }
12 | , "engines" : ["node >= 0.3.6"]
13 | , "main" : "./main"
14 | , "scripts": { "test": "bash tests/run.sh" }
15 | }
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/node_modules/request/tests/googledoodle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/node_modules/request/tests/googledoodle.png
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/node_modules/request/tests/run.sh:
--------------------------------------------------------------------------------
1 | FAILS=0
2 | for i in tests/test-*.js; do
3 | echo $i
4 | node $i || let FAILS++
5 | done
6 | exit $FAILS
7 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/LICENSE.txt:
--------------------------------------------------------------------------------
1 | all level1,level2,level3 test cases were written by the w3c
2 | see: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html for licensing
3 |
4 | all other folders in this directory follow the same license as ../LICENSE.txt
5 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/all.js:
--------------------------------------------------------------------------------
1 | var path = require('path');
2 | var r = function(suite) {
3 | return require(path.join(__dirname, suite))
4 | }
5 |
6 | var fetch = [
7 | "level1/core",
8 | "level1/html",
9 | "level1/svg",
10 | "level2/core",
11 | "level2/html",
12 | "level2/style",
13 | "level2/extra",
14 | "level3/core",
15 | "level3/ls",
16 | "level3/xpath",
17 | /*
18 | TODO: this needs work, will break everything if included.
19 | "window",*/
20 | "jsdom",
21 | "sizzle"
22 | ];
23 |
24 | module.exports = {};
25 |
26 |
27 | // TODO: filtering
28 | fetch.forEach(function(k) {
29 | module.exports[k] = r(k);
30 | });
31 |
32 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/jsdom/files/ctx-test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/jsdom/files/env.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | hello, Node.js!
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/jsdom/files/hello.js:
--------------------------------------------------------------------------------
1 | document.getElementById("test").innerHTML = "hello from javascript";
2 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/jsdom/files/iframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/jsdom/leak.js:
--------------------------------------------------------------------------------
1 | var jsdom = require('../../lib/jsdom');
2 |
3 | function again() {
4 | jsdom.env('test ', [
5 | __dirname + '/files/jquery.js'
6 | ], function(errors, window) {
7 | window.close();
8 | setTimeout(again, 0);
9 | });
10 | }
11 |
12 | again();
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level1/core/files/extra.xml.js:
--------------------------------------------------------------------------------
1 | var dom = require("../../../../lib/jsdom/level1/core").dom.level1.core;
2 | exports.extra = function() {
3 |
4 | var doc = new dom.Document("staff");
5 |
6 | var splitTextTest = doc.createElement("splitTextTest");
7 | splitTextTest.appendChild(doc.createTextNode("Split me"));
8 | splitTextTest.appendChild(doc.createElement("last"));
9 | doc.appendChild(splitTextTest);
10 |
11 | doc.normalize();
12 | return doc;
13 | };
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/internalSubset01.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/internalSubset01.js
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/nodtdstaff.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | EMP0001
5 | Margaret Martin
6 | Accountant
7 | 56,000
8 | Female
9 | 1230 North Ave. Dallas, Texas 98551
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/nodtdstaff.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | EMP0001
5 | Margaret Martin
6 | Accountant
7 | 56,000
8 | Female
9 | 1230 North Ave. Dallas, Texas 98551
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/staff.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
12 |
15 |
17 |
18 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/staff2.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | EMP0001
7 | Margaret Martin
8 | Accountant
9 | 56,000
10 | Female
11 | 1230 North Ave. Dallas, Texas 98551
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/staff2.xml:
--------------------------------------------------------------------------------
1 | /*
2 |
3 |
4 |
5 |
6 | EMP0001
7 | Margaret Martin
8 | Accountant
9 | 56,000
10 | Female
11 | 1230 North Ave. Dallas, Texas 98551
12 |
13 | */
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/svgtest.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/svgtest.js
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/svgunit.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/core/files/orig/svgunit.js
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/anchor.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Anchor
6 |
7 |
8 |
9 | View Submit Button
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/anchor2.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - Anchor
7 |
8 |
9 |
10 | View Submit Button
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/applet.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Applet
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/applet2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Applet
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/area.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Area
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/area2.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - Area
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/base.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - Base
7 |
8 |
9 | Some Text
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/base2.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 | NIST DOM HTML Test - Base2
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/basefont.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - BaseFont
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/body.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Body
6 |
7 |
8 | Hello, World
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/br.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - BR
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/button.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Button
6 |
7 |
8 |
13 |
14 |
15 |
16 | Extra Button
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/directory.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Directory
6 |
7 |
8 |
9 | DIR item number 1.
10 | DIR item number 2.
11 | DIR item number 3.
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/div.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - DIV
6 |
7 |
8 | The DIV element is a generic block container. This text should be centered.
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/dl.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - DL
6 |
7 |
8 |
9 | Accountant
10 | 56,000
11 | Female
12 | 1230 North Ave. Dallas, Texas 98551
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/fieldset.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - FieldSet
6 |
7 |
8 |
13 |
14 |
15 |
16 |
17 | All data entered must be valid
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/font.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Font
6 |
7 |
8 | Test Tables
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/form.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - FORM
6 |
7 |
8 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/form3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | FORM3
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/frame.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - FRAME
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/frame2.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - FRAME2
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/frameset.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - FRAMESET
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/head.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - HEAD
6 |
7 |
8 | Hello, World.
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/heading.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - HEADING
6 |
7 |
8 | Head Element 1
9 | Head Element 2
10 | Head Element 3
11 | Head Element 4
12 | Head Element 5
13 | Head Element 6
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/hr.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - HR
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/html.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - Html
6 |
7 |
8 | Hello, World.
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/iframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - IFRAME
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/iframe2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - IFRAME2
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/img.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - IMG
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/img/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/img/right.png
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/img/w3c_main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/img/w3c_main.png
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/isindex.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - ISINDEX
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/js/script1.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/js/script1.js
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/label.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - LABEL
6 |
7 |
8 |
9 |
10 | Enter Your First Password:
11 |
12 |
13 |
14 |
15 | Enter Your Second Password:
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/li.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - LI
6 |
7 |
8 |
9 | EMP0001
10 |
11 | Margaret Martin
12 |
13 | Accountant
14 | 56,000
15 | Female
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/link.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - LINK
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/link2.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - LINK
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/map.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - MAP
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/menu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - MENU
6 |
7 |
8 |
9 | Interview
10 | Paperwork
11 | Give start date
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/meta.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - META
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/mod.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - MOD
6 |
7 |
8 |
9 | The INS element is used to indicate that a section of a document had been inserted.
10 |
11 | The DEL element is used to indicate that a section of a document had been removed.
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/olist.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - OLIST
6 |
7 |
8 |
9 | EMP0001
10 |
11 | Margaret Martin
12 |
13 | Accountant
14 | 56,000
15 |
16 |
17 |
18 |
19 | EMP0002
20 |
21 | Martha Raynolds
22 |
23 | Secretary
24 | 35,000
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/paragraph.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - PARAGRAPH
6 |
7 |
8 |
9 | TEXT
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/param.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - PARAM
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/pre.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - PRE
6 |
7 |
8 | The PRE is used to indicate pre-formatted text. Visual agents may:
9 |
10 | leave white space intact.
11 | May render text with a fixed-pitch font.
12 | May disable automatic word wrap.
13 | Must not disable bidirectional processing.
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/quote.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - QUOTE
6 |
7 |
8 |
9 | The Q element is intended for short quotations
10 |
11 |
12 | The BLOCKQUOTE element is used for long quotations.
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/right.png
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/script.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - SCRIPT
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/style.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | NIST DOM HTML Test - STYLE
7 |
8 |
9 | Hello, World.
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/table1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - TABLE
6 |
7 |
8 |
9 | HTML can't abide empty table
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/tablecaption.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - TABLECAPTION
6 |
7 |
8 |
9 | CAPTION 1
10 |
11 | Employee Id
12 | Employee Name
13 | Position
14 | Salary
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/title.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NIST DOM HTML Test - TITLE
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/w3c_main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/html/files/w3c_main.png
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level2/style/external_css.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | something in the body
8 |
9 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/back.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/back.gif
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.svg
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xhtml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xhtml
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xml
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/blank.gif
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform01.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
8 |
9 | ]>
10 |
11 | Hello, world!
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform01.xhtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 | canonicalform01
8 | Hello, world!
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 | canonicalform01
8 | Hello, world!
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform02.svg:
--------------------------------------------------------------------------------
1 |
3 |
4 | ]>
5 |
6 | A B
7 |
8 | A
9 |
10 | B
11 | A B
12 | C
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform02.xhtml:
--------------------------------------------------------------------------------
1 | canonicalform02
2 |
3 | A B
4 |
5 | A
6 |
7 | B
8 | A B
9 | C
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform02.xml:
--------------------------------------------------------------------------------
1 | canonicalform02
2 |
3 | A B
4 |
5 | A
6 |
7 | B
8 | A B
9 | C
10 |
11 |
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform05.xhtml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 | ]>
8 | canonicalform05
9 |
10 | &ent1;, &ent2;!
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/canonicalform05.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 | ]>
8 | canonicalform05
9 |
10 | &ent1;, &ent2;!
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/external_foo.ent:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/external_foo.ent
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/external_foobr.ent:
--------------------------------------------------------------------------------
1 | foo
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/external_widget.ent:
--------------------------------------------------------------------------------
1 | widget
2 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.html:
--------------------------------------------------------------------------------
1 | hc_nodtdstaff
2 |
3 | EMP0001
4 | Margaret Martin
5 | Accountant
6 | 56,000
7 | Female
8 | 1230 North Ave. Dallas, Texas 98551
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.html.1:
--------------------------------------------------------------------------------
1 | hc_nodtdstaff
2 |
3 | EMP0001
4 | Margaret Martin
5 | Accountant
6 | 56,000
7 | Female
8 | 1230 North Ave. Dallas, Texas 98551
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.svg:
--------------------------------------------------------------------------------
1 | hc_nodtdstaff
2 |
3 | EMP0001
4 | Margaret Martin
5 | Accountant
6 | 56,000
7 | Female
8 | 1230 North Ave. Dallas, Texas 98551
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.xhtml:
--------------------------------------------------------------------------------
1 | hc_nodtdstaff
2 |
3 | EMP0001
4 | Margaret Martin
5 | Accountant
6 | 56,000
7 | Female
8 | 1230 North Ave. Dallas, Texas 98551
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.xml:
--------------------------------------------------------------------------------
1 | hc_nodtdstaff
2 |
3 | EMP0001
4 | Margaret Martin
5 | Accountant
6 | 56,000
7 | Female
8 | 1230 North Ave. Dallas, Texas 98551
9 |
10 |
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/image2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/image2.gif
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/svgtest.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/svgtest.js
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/svgunit.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/svgunit.js
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/text.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/text.gif
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/unknown.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/level3/core/files/orig/unknown.gif
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/sizzle/support/selector.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/sizzle/support/selector.js
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/163.js:
--------------------------------------------------------------------------------
1 | // ensure that standard js Objects are available on the window and globally
2 | var tests = [
3 | 'Function',
4 | 'Object',
5 | 'Date',
6 | 'Math',
7 | 'Array',
8 | 'Boolean',
9 | 'Number',
10 | 'String',
11 | 'RegExp',
12 | 'setTimeout',
13 | 'setInterval',
14 | 'clearTimeout',
15 | 'clearInterval'
16 | ];
17 |
18 | window.hasNativeObjects = true;
19 | tests.forEach(function(key) {
20 | window.hasNativeObjects = (window.hasNativeObjects && !!window[key]);
21 | });
22 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/179.js:
--------------------------------------------------------------------------------
1 | var b = 42;
2 | window.exposed = window.b;
3 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/frameset_parent.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/iframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/iframe_parent.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/multiple_iframe_parent.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/simple_iframe.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Initial Text
6 |
7 |
8 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/jsdom/test/window/files/timer_in_context.js:
--------------------------------------------------------------------------------
1 | x = 0;
2 | setTimeout(function () {
3 | x = 1;
4 | }, 0);
5 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/mime/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": {
3 | "name": "Robert Kieffer",
4 | "url": "http://github.com/broofa",
5 | "email": "robert@broofa.com"
6 | },
7 | "contributors": [
8 | {
9 | "name": "Benjamin Thomas",
10 | "url": "http://github.com/bentomas",
11 | "email": "benjamin@benjaminthomas.org"
12 | }
13 | ],
14 | "dependencies": {},
15 | "description": "A comprehensive library for mime-type mapping",
16 | "devDependencies": {"async_testing": ""},
17 | "keywords": ["util", "mime"],
18 | "main": "mime.js",
19 | "name": "mime",
20 | "repository": {"url": "http://github.com/bentomas/node-mime", "type": "git"},
21 | "version": "1.2.4"
22 | }
23 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/.npmignore:
--------------------------------------------------------------------------------
1 | npm-debug.log
2 | node_modules
3 | .*.swp
4 | .lock-*
5 | build/
6 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/.wafpickle-7:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/.wafpickle-7
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/bufferutil.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/bufferutil.node
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/src/bufferutil_2.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/src/bufferutil_2.o
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/src/validation_1.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/src/validation_1.o
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/validation.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/Release/validation.node
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/build/c4che/build.config.py:
--------------------------------------------------------------------------------
1 | version = 0x105016
2 | tools = [{'tool': 'ar', 'tooldir': None, 'funs': None}, {'tool': 'cxx', 'tooldir': None, 'funs': None}, {'tool': 'gxx', 'tooldir': None, 'funs': None}, {'tool': 'compiler_cxx', 'tooldir': None, 'funs': None}, {'tool': 'osx', 'tooldir': None, 'funs': None}, {'tool': 'node_addon', 'tooldir': None, 'funs': None}]
3 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * ws: a node.js websocket client
3 | * Copyright(c) 2011 Einar Otto Stangvik
4 | * MIT Licensed
5 | */
6 |
7 | module.exports = require('./lib/WebSocket');
8 | module.exports.Server = require('./lib/WebSocketServer');
9 | module.exports.Sender = require('./lib/Sender');
10 | module.exports.Receiver = require('./lib/Receiver');
11 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/lib/BufferUtil.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * ws: a node.js websocket client
3 | * Copyright(c) 2011 Einar Otto Stangvik
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Node version 0.4 and 0.6 compatibility
9 | */
10 |
11 | try {
12 | module.exports = require('../build/Release/bufferutil');
13 | } catch (e) { try {
14 | module.exports = require('../build/default/bufferutil');
15 | } catch (e) {
16 | throw e;
17 | }}
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/lib/Validation.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * ws: a node.js websocket client
3 | * Copyright(c) 2011 Einar Otto Stangvik
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Node version 0.4 and 0.6 compatibility
9 | */
10 |
11 | try {
12 | module.exports = require('../build/Release/validation');
13 | } catch (e) { try {
14 | module.exports = require('../build/default/validation');
15 | } catch (e) {
16 | throw e;
17 | }}
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/lib/ValidationWindows.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * ws: a node.js websocket client
3 | * Copyright(c) 2011 Einar Otto Stangvik
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Windows Compatibility
9 | */
10 |
11 | module.exports.Validation = {
12 | isValidUTF8: function(buffer) {
13 | return true;
14 | }
15 | };
16 |
17 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/make.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 |
3 | REM This file hijacks the make command from package.json, so that
4 | REM the solution can be 'built' on Windows.
5 |
6 | IF "%1"=="" GOTO Build
7 | IF "%1"=="test" goto Test
8 | GOTO End
9 |
10 | :Build
11 | mkdir build\Release
12 | copy /Y lib\ValidationWindows.js build\Release\validation.js
13 | copy /Y lib\BufferUtilWindows.js build\Release\bufferutil.js
14 | GOTO End
15 |
16 | :Test
17 | node node_modules/mocha/bin/_mocha -t 2000 test/BufferPool.test.js test/Sender.test.js test/WebSocketServer.test.js test/Receiver.test.js test/Validation.test.js test/WebSocket.test.js
18 |
19 | :End
20 |
21 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/commander/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/commander/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.4
4 | - 0.6
5 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/commander/Makefile:
--------------------------------------------------------------------------------
1 |
2 | TESTS = $(shell find test/test.*.js)
3 |
4 | test:
5 | @./test/run $(TESTS)
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/commander/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/commander');
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/commander/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "commander"
3 | , "version": "0.5.0"
4 | , "description": "the complete solution for node.js command-line programs"
5 | , "keywords": ["command", "option", "parser", "prompt", "stdin"]
6 | , "author": "TJ Holowaychuk "
7 | , "repository": { "type": "git", "url": "https://github.com/visionmedia/commander.js.git" }
8 | , "dependencies": {}
9 | , "devDependencies": { "should": ">= 0.0.1" }
10 | , "scripts": { "test": "make test" }
11 | , "main": "index"
12 | , "engines": { "node": ">= 0.4.x < 0.7.0" }
13 | }
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/options/.npmignore:
--------------------------------------------------------------------------------
1 | npm-debug.log
2 | node_modules
3 | .*.swp
4 | .lock-*
5 | build/
6 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/options/Makefile:
--------------------------------------------------------------------------------
1 | ALL_TESTS = $(shell find test/ -name '*.test.js')
2 |
3 | run-tests:
4 | @./node_modules/.bin/mocha \
5 | -t 2000 \
6 | $(TESTFLAGS) \
7 | $(TESTS)
8 |
9 | test:
10 | @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
11 |
12 | .PHONY: test
13 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/options/README.md:
--------------------------------------------------------------------------------
1 | # options.js #
2 |
3 | A very light-weight in-code option parsers for node.js.
4 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/node_modules/options/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Einar Otto Stangvik (http://2x.io)",
3 | "name": "options",
4 | "description": "A very light-weight in-code option parsers for node.js.",
5 | "version": "0.0.2",
6 | "repository": {
7 | "type": "git",
8 | "url": "git://github.com/einaros/options.js.git"
9 | },
10 | "main": "lib/options",
11 | "scripts": {
12 | "test": "make test"
13 | },
14 | "engines": {
15 | "node": ">=0.4.0"
16 | },
17 | "dependencies": {},
18 | "devDependencies": {
19 | "mocha": "0.3.x",
20 | "should": "latest"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/test/fixtures/request.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE REQUEST-----
2 | MIIBhDCB7gIBADBFMQswCQYDVQQGEwJubzETMBEGA1UECAwKU29tZS1TdGF0ZTEh
3 | MB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEB
4 | AQUAA4GNADCBiQKBgQC2tDv6v//aJX8HoX7hugfReoWftqVxX2WmO8CbBFc0qfEC
5 | hrR/3sCNg8Y0squOmQ1deEElE4h1tFtmcI14Ll/NfVr4kKjspK3MFe4ZJmvbtO0W
6 | ZxXgf72AhEhw0e1mYkufFsmwiGQZHzJVh2Yll7h5PmV2TXOgHVp2A8XWFmEIEwID
7 | AQABoAAwDQYJKoZIhvcNAQEFBQADgYEAjsUXEARgfxZNkMjuUcudgU2w4JXS0gGI
8 | JQ0U1LmU0vMDSKwqndMlvCbKzEgPbJnGJDI8D4MeINCJHa5Ceyb8c+jaJYUcCabl
9 | lQW5Psn3+eWp8ncKlIycDRj1Qk615XuXtV0fhkrgQM2ZCm9LaQ1O1Gd/CzLihLjF
10 | W0MmgMKMMRk=
11 | -----END CERTIFICATE REQUEST-----
12 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/node_modules/ws/wscript:
--------------------------------------------------------------------------------
1 | srcdir = '.'
2 | blddir = 'build'
3 | VERSION = '0.4.0'
4 |
5 | def set_options(opt):
6 | opt.tool_options('compiler_cxx')
7 |
8 | def configure(conf):
9 | conf.check_tool('compiler_cxx')
10 | conf.check_tool('node_addon')
11 | conf.env.append_value('CCFLAGS', ['-O3'])
12 | conf.env.append_value('CXXFLAGS', ['-O3'])
13 |
14 | def build(bld):
15 | obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
16 | obj.target = 'validation'
17 | obj.source = 'src/validation.cc'
18 | obj2 = bld.new_task_gen('cxx', 'shlib', 'node_addon')
19 | obj2.target = 'bufferutil'
20 | obj2.source = 'src/bufferutil.cc'
21 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/spec/data/random.txt:
--------------------------------------------------------------------------------
1 | Random text
2 |
--------------------------------------------------------------------------------
/example/mocha-zombie/node_modules/zombie/spec/data/zombie.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/example/mocha-zombie/node_modules/zombie/spec/data/zombie.jpg
--------------------------------------------------------------------------------
/example/mocha-zombie/specs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/example/mocha-zombie/specs/example.spec.coffee:
--------------------------------------------------------------------------------
1 | zombie = require("zombie")
2 | require("expectThat.mocha")
3 |
4 | browser = new zombie.Browser()
5 |
6 | describe "When populating two text boxes", ->
7 | expectThat "they should have values of foo and bar", (done) ->
8 | browser.visit "http://127.0.0.1/~dmohl/mocha-zombie/specs.html", ->
9 | browser
10 | .fill(".search", "foo")
11 | .fill("#test", "bar")
12 | input1 = browser.querySelector ".search"
13 | input2 = browser.querySelector "#test"
14 | input1.value.should equal "foo"
15 | input2.value.should equal "bar"
16 | done()
17 |
--------------------------------------------------------------------------------
/example/pavlov/example.customMatcher.coffee:
--------------------------------------------------------------------------------
1 | ((expectThatApi) ->
2 | myCustomMatchers =
3 | atleastTwoGreaterThan: (expected) ->
4 | "assertionType": "atleastTwoGreaterThan"
5 | "expected": expected
6 | "expr": (actual, expected) -> actual >= expected + 2
7 |
8 | expectThatApi.util.extend pavlov.api, myCustomMatchers
9 | ) expectThatApi
--------------------------------------------------------------------------------
/example/pavlov/min/example.customMatcher.js:
--------------------------------------------------------------------------------
1 | (function(a){var b;b={atleastTwoGreaterThan:function(a){return{assertionType:"atleastTwoGreaterThan",expected:a,expr:function(a,b){return a>=b+2}}}};return a.util.extend(pavlov.api,b)})(expectThatApi);
--------------------------------------------------------------------------------
/ext/jasmine-1.1.0/jasmine_favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/ext/jasmine-1.1.0/jasmine_favicon.png
--------------------------------------------------------------------------------
/lib/expectThat.jasmine.min.gz.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/lib/expectThat.jasmine.min.gz.js
--------------------------------------------------------------------------------
/lib/expectThat.mocha.min.gz.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/lib/expectThat.mocha.min.gz.js
--------------------------------------------------------------------------------
/lib/expectThat.pavlov.min.gz.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/lib/expectThat.pavlov.min.gz.js
--------------------------------------------------------------------------------
/lib/expectThat.qunit.min.gz.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/lib/expectThat.qunit.min.gz.js
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/bin/expectThat.jasmine-node:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | if( !process.env.NODE_ENV ) process.env.NODE_ENV = 'test';
4 |
5 | var path = require('path');
6 | var fs = require('fs');
7 | require(path.join(__dirname,'../lib/cli.js'));
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/lib/expectThat.jasmine.min.gz.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/lib/expectThat.jasmine.min.gz.js
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/.bin/jasmine-node:
--------------------------------------------------------------------------------
1 | ../jasmine-node/bin/jasmine-node
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .idea
3 | *.iml
4 | *.ipr
5 | *.iws
6 | *.tmproj
7 | .project
8 | .settings
9 | .externalToolBuilders
10 | *.swp
11 | node_modules
12 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/bin/jasmine-node:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | if( !process.env.NODE_ENV ) process.env.NODE_ENV = 'test';
4 |
5 | var path = require('path');
6 | var fs = require('fs');
7 | require(path.join(__dirname,'../lib/jasmine-node/cli.js'));
8 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/.bin/cake:
--------------------------------------------------------------------------------
1 | ../coffee-script/bin/cake
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/.bin/coffee:
--------------------------------------------------------------------------------
1 | ../coffee-script/bin/coffee
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/.bin/r.js:
--------------------------------------------------------------------------------
1 | ../requirejs/bin/r.js
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/coffee-script/.npmignore:
--------------------------------------------------------------------------------
1 | *.coffee
2 | *.html
3 | .DS_Store
4 | .git*
5 | Cakefile
6 | documentation/
7 | examples/
8 | extras/coffee-script.js
9 | raw/
10 | src/
11 | test/
12 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/coffee-script/bin/cake:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var path = require('path');
4 | var fs = require('fs');
5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
6 |
7 | require(lib + '/coffee-script/cake').run();
8 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/coffee-script/bin/coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var path = require('path');
4 | var fs = require('fs');
5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
6 |
7 | require(lib + '/coffee-script/command').run();
8 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/coffee-script/lib/coffee-script/index.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var key, val, _ref;
3 |
4 | _ref = require('./coffee-script');
5 | for (key in _ref) {
6 | val = _ref[key];
7 | exports[key] = val;
8 | }
9 |
10 | }).call(this);
11 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "ext/phantomjs"]
2 | path = ext/phantomjs
3 | url = git://github.com/ariya/phantomjs.git
4 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/.npmignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/jline.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/jline.jar
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/js.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/js.jar
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.pro.user*
3 | *.xcodeproj
4 | Makefile*
5 | bin/
6 | *~
7 | *.moc
8 | moc_*
9 | qrc_*
10 | *.o
11 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/arguments.coffee:
--------------------------------------------------------------------------------
1 | if phantom.args.length is 0
2 | console.log 'Try to pass some args when invoking this script!'
3 | else
4 | for arg, i in phantom.args
5 | console.log i + ': ' + arg
6 | phantom.exit()
7 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/arguments.js:
--------------------------------------------------------------------------------
1 | if (phantom.args.length === 0) {
2 | console.log('Try to pass some args when invoking this script!');
3 | } else {
4 | phantom.args.forEach(function (arg, i) {
5 | console.log(i + ': ' + arg);
6 | });
7 | }
8 | phantom.exit();
9 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/countdown.coffee:
--------------------------------------------------------------------------------
1 | t = 10
2 | while t > 0
3 | console.log t
4 | phantom.sleep 1000
5 | t = t - 1
6 |
7 | console.log 'BLAST OFF'
8 | phantom.exit()
9 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/countdown.js:
--------------------------------------------------------------------------------
1 | var t = 10;
2 | while (t > 0) {
3 | console.log(t);
4 | phantom.sleep(1000);
5 | t = t - 1;
6 | }
7 | console.log('BLAST OFF');
8 | phantom.exit();
9 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/fibo.coffee:
--------------------------------------------------------------------------------
1 | fibs = [0, 1]
2 | f = ->
3 | console.log fibs[fibs.length - 1]
4 | fibs.push fibs[fibs.length - 1] + fibs[fibs.length - 2]
5 | if fibs.length > 10
6 | window.clearInterval ticker
7 | phantom.exit()
8 | ticker = window.setInterval(f, 300)
9 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/fibo.js:
--------------------------------------------------------------------------------
1 | var fibs = [0, 1];
2 | var ticker = window.setInterval(function () {
3 | console.log(fibs[fibs.length - 1]);
4 | fibs.push(fibs[fibs.length - 1] + fibs[fibs.length - 2]);
5 | if (fibs.length > 10) {
6 | window.clearInterval(ticker);
7 | phantom.exit();
8 | }
9 | }, 300);
10 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/hello.coffee:
--------------------------------------------------------------------------------
1 | console.log 'Hello, world!'
2 | phantom.exit()
3 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/hello.js:
--------------------------------------------------------------------------------
1 | console.log('Hello, world!');
2 | phantom.exit();
3 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/ipgeocode.coffee:
--------------------------------------------------------------------------------
1 | # Give the estimated location based on the IP address.
2 |
3 | window.cb = (data) ->
4 | loc = data.city
5 | if data.region_name.length > 0
6 | loc = loc + ', ' + data.region_name
7 | console.log 'IP address: ' + data.ip
8 | console.log 'Estimated location: ' + loc
9 | phantom.exit()
10 |
11 | el = document.createElement 'script'
12 | el.src = 'http://freegeoip.net/json/?callback=window.cb'
13 | document.body.appendChild el
14 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/ipgeocode.js:
--------------------------------------------------------------------------------
1 | // Give the estimated location based on the IP address.
2 |
3 | cb = function (data) {
4 | var loc = data.city;
5 | if (data.region_name.length > 0)
6 | loc = loc + ', ' + data.region_name;
7 | console.log('IP address: ' + data.ip);
8 | console.log('Estimated location: ' + loc);
9 | phantom.exit();
10 | };
11 |
12 | var el = document.createElement('script');
13 | el.src = 'http://freegeoip.net/json/?callback=cb';
14 | document.body.appendChild(el);
15 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/movies.coffee:
--------------------------------------------------------------------------------
1 | # List movies from kids-in-mind.com
2 |
3 | window.cbfunc = (data) ->
4 | globaldata = data
5 | list = data.query.results.movie
6 | for item in list
7 | console.log item.title + ' [' + item.rating.MPAA.content + ']'
8 | phantom.exit()
9 |
10 | el = document.createElement 'script'
11 | el.src =
12 | "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20movies.kids-in-mind&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=window.cbfunc"
13 | document.body.appendChild el
14 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/movies.js:
--------------------------------------------------------------------------------
1 | // List movies from kids-in-mind.com
2 |
3 | var cbfunc = function (data) {
4 | globaldata= data;
5 | var list = data.query.results.movie;
6 | list.forEach(function (item) {
7 | console.log(item.title + ' [' + item.rating.MPAA.content + ']');
8 | });
9 | phantom.exit();
10 | };
11 |
12 | var el = document.createElement('script');
13 | el.src = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20movies.kids-in-mind&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=cbfunc';
14 | document.body.appendChild(el);
15 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/pizza.coffee:
--------------------------------------------------------------------------------
1 | # Find pizza in New York using Google Local
2 |
3 | if phantom.state.length is 0
4 | phantom.state = 'pizza'
5 | phantom.open 'http://www.google.com/m/local?site=local&q=pizza+in+new+york'
6 | else
7 | list = document.querySelectorAll 'div.bf'
8 | for item in list
9 | console.log item.innerText
10 | phantom.exit()
11 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/pizza.js:
--------------------------------------------------------------------------------
1 | // Find pizza in New York using Google Local
2 |
3 | if (phantom.state.length === 0) {
4 | phantom.state = 'pizza';
5 | phantom.open('http://www.google.com/m/local?site=local&q=pizza+in+new+york');
6 | } else {
7 | var list = document.querySelectorAll('div.bf');
8 | for (var i = 0; i < list.length; i++) {
9 | console.log(list[i].innerText);
10 | }
11 | phantom.exit();
12 | }
13 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/technews.coffee:
--------------------------------------------------------------------------------
1 | if phantom.state.length is 0
2 | address = phantom.args[0]
3 | phantom.state = 'news'
4 | phantom.viewportSize = { width: 320, height: 480 }
5 | phantom.open 'http://news.google.com/news/i/section?&topic=t'
6 | else
7 | body = document.body
8 | body.style.backgroundColor = '#fff'
9 | body.querySelector('div#title-block').style.display = 'none'
10 | body.querySelector('form#edition-picker-form').parentElement.parentElement.style.display = 'none'
11 | phantom.sleep 500
12 | phantom.render 'technews.png'
13 | phantom.exit()
14 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/technews.js:
--------------------------------------------------------------------------------
1 | if (phantom.state.length === 0) {
2 | var address = phantom.args[0];
3 | phantom.state = 'news';
4 | phantom.viewportSize = { width: 320, height: 480 };
5 | phantom.open('http://news.google.com/news/i/section?&topic=t');
6 | } else {
7 | var body = document.body;
8 | body.style.backgroundColor = '#fff';
9 | body.querySelector('div#title-block').style.display = 'none';
10 | body.querySelector('form#edition-picker-form').parentElement.parentElement.style.display = 'none';
11 | phantom.sleep(500);
12 | phantom.render('technews.png');
13 | phantom.exit();
14 | }
15 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/tweets.coffee:
--------------------------------------------------------------------------------
1 | if phantom.state.length == 0
2 | phantom.state = 'tweets'
3 | phantom.open 'http://mobile.twitter.com/sencha'
4 | else
5 | list = document.querySelectorAll 'span.status'
6 | for elem, index in list
7 | console.log((index + 1) + ': ' + elem.innerHTML.replace(/<.*?>/g, ''))
8 | phantom.exit()
9 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/tweets.js:
--------------------------------------------------------------------------------
1 | // Get twitter status from someone
2 |
3 | if (phantom.state.length === 0) {
4 | phantom.state = 'tweets';
5 | phantom.open('http://mobile.twitter.com/sencha');
6 | } else {
7 | var list = document.querySelectorAll('span.status');
8 | for (var i = 0; i < list.length; ++i) {
9 | console.log((i + 1) + ': ' + list[i].innerHTML.replace(/<.*?>/g, ''));
10 | }
11 | phantom.exit();
12 | }
13 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/useragent.coffee:
--------------------------------------------------------------------------------
1 | if phantom.state.length is 0
2 | phantom.state = 'checking'
3 | phantom.userAgent = 'SpecialAgent'
4 | phantom.open 'http://www.httpuseragent.org'
5 | else
6 | console.log document.getElementById('myagent').innerText
7 | phantom.exit()
8 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/useragent.js:
--------------------------------------------------------------------------------
1 | if (phantom.state.length === 0) {
2 | phantom.state = 'checking';
3 | phantom.userAgent = 'SpecialAgent';
4 | phantom.open('http://www.httpuseragent.org');
5 | } else {
6 | console.log(document.getElementById('myagent').innerText);
7 | phantom.exit();
8 | }
9 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/version.coffee:
--------------------------------------------------------------------------------
1 | console.log 'using PhantomJS version ' +
2 | phantom.version.major + '.' +
3 | phantom.version.minor + '.' +
4 | phantom.version.patch
5 | phantom.exit()
6 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/version.js:
--------------------------------------------------------------------------------
1 | console.log('using PhantomJS version ' +
2 | phantom.version.major + '.' +
3 | phantom.version.minor + '.' +
4 | phantom.version.patch);
5 | phantom.exit();
6 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/phantomjs.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | CONFIG += ordered
3 | SUBDIRS += src/phantomjs.pro
4 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/INSTALL:
--------------------------------------------------------------------------------
1 | DEPENDENCIES
2 | ------------
3 | * Python >= 2.6
4 | * PyQt4 >= 4.8.0
5 | * Qt >= 4.7.0
6 |
7 | -> Windows
8 | -------
9 | You can download the required programs here.
10 |
11 | Python - http://www.python.org/download/
12 | Qt4 - PyQt4 comes packaged with the Qt runtime library(s)
13 | PyQt4 - http://www.riverbankcomputing.co.uk/software/pyqt/download
14 |
15 | -> Ubuntu
16 | ------
17 | Open a terminal window, and enter the following command:
18 | "sudo apt-get -y install python-qt4"
19 |
20 | All the required packages should be automatically pulled in and installed.
21 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/plugins/__init__.py:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/resources.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | resources/pyphantomjs-icon.png
4 | resources/coffee-script.js
5 |
6 |
7 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.ico
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.png
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/python/tools/build_resources.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #
4 | # This script will convert each qrc into a
5 | # Python resource file(s) which can be used
6 | #
7 | # NOTE: This script MUST be called from the same
8 | # directory containing the qrc's!
9 | #
10 |
11 | # convert each filename.qrc to respective filename.py
12 | for f in *.qrc; do
13 | pyrcc4 -compress 2 -o ${f%.*}.py $f
14 | done
15 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/gif/config.h:
--------------------------------------------------------------------------------
1 | #define UINT32 uint32_t
2 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif.pri:
--------------------------------------------------------------------------------
1 | VPATH += $$PWD
2 | INCLUDEPATH += $$PWD
3 |
4 | DEFINES += HAVE_CONFIG_H
5 | DEFINES += HAVE_STDINT_H
6 | DEFINES += HAVE_FCNTL_H
7 | DEFINES += HAVE_UNISTD_H
8 | DEFINES += HAVE_STDARG_H
9 |
10 | SOURCES += gif_err.c
11 | SOURCES += gifalloc.c
12 | SOURCES += egif_lib.c
13 | SOURCES += gif_hash.c
14 | SOURCES += quantize.c
15 | SOURCES += gifwriter.cpp
16 |
17 | HEADERS += gif_hash.h
18 | HEADERS += gif_lib_private.h
19 | HEADERS += gif_lib.h
20 | HEADERS += gifwriter.h
21 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs-icon.png
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | phantomjs-icon.png
4 | coffee-script.js
5 | usage.txt
6 |
7 |
8 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_os2.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_os2.ico
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_os2.rc:
--------------------------------------------------------------------------------
1 | ICON 1 "phantomjs_os2.ico"
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_win.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_win.ico
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_win.rc:
--------------------------------------------------------------------------------
1 | IDI_ICON1 ICON DISCARDABLE "phantomjs_win.ico"
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Larry Myers",
3 | "name": "jasmine-reporters",
4 | "description": "Reporters for the Jasmine BDD Framework",
5 | "version": "0.1.0",
6 | "homepage": "https://github.com/larrymyers/jasmine-reporters",
7 | "maintainers" : "Ben Loveridge ",
8 | "repository": {
9 | "type": "git",
10 | "url": "git://github.com/larrymyers/jasmine-reporters.git"
11 | },
12 | "main" : "./src/load_reporters.js",
13 | "dependencies": {},
14 | "devDependencies": {}
15 | }
16 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/src/load_reporters.js:
--------------------------------------------------------------------------------
1 | require("./jasmine.console_reporter.js")
2 | require("./jasmine.junit_reporter.js")
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/test/envjs.bootstrap.js:
--------------------------------------------------------------------------------
1 | load('../ext/env.rhino.1.2.js');
2 |
3 | Envjs.scriptTypes['text/javascript'] = true;
4 |
5 | var specFile;
6 |
7 | for (i = 0; i < arguments.length; i++) {
8 | specFile = arguments[i];
9 |
10 | console.log("Loading: " + specFile);
11 |
12 | window.location = specFile
13 | }
14 |
15 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/test/envjs.runner.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # cleanup previous test runs
4 | rm -f *.xml
5 |
6 | # fire up the envjs environment
7 | java -cp ../ext/js.jar:../ext/jline.jar org.mozilla.javascript.tools.shell.Main -opt -1 envjs.bootstrap.js $@
8 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/jasmine-reporters/test/pyphantomjs-plugins/saveToFile/__init__.py:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/node_modules/requirejs/.npmignore:
--------------------------------------------------------------------------------
1 | README.md
2 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/AsyncSpec.coffee:
--------------------------------------------------------------------------------
1 | #=============================================================================
2 | # Async spec, that will be time outed
3 | #=============================================================================
4 | describe 'async', ->
5 | it 'should be timed out', ->
6 | waitsFor (-> false), 'MIRACLE', 500
7 |
8 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/CoffeeSpec.coffee:
--------------------------------------------------------------------------------
1 | describe 'jasmine-node', ->
2 |
3 | it 'should pass', ->
4 | expect(1+2).toEqual(3)
5 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/TestSpec.js:
--------------------------------------------------------------------------------
1 | describe('jasmine-node-flat', function(){
2 | it('should pass', function(){
3 | expect(1+2).toEqual(3);
4 | });
5 | });
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/helper_spec.js:
--------------------------------------------------------------------------------
1 | describe("helper", function() {
2 | it("should load the helpers", function() {
3 | var expectation= expect(true);
4 |
5 | expect(typeof(expectation.toHaveProperty)).toBe('function');
6 | });
7 | });
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/nested.js/NestedSpec.js:
--------------------------------------------------------------------------------
1 | describe('jasmine-node-nested.js', function(){
2 | it('should pass', function(){
3 | expect(1+2).toEqual(3);
4 | });
5 | });
6 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/nested/NestedSpec.js:
--------------------------------------------------------------------------------
1 | describe('jasmine-node-nested', function(){
2 | it('should pass', function(){
3 | expect(1+2).toEqual(3);
4 | });
5 | });
6 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/nested/uber-nested/UberNestedSpec.js:
--------------------------------------------------------------------------------
1 | describe('jasmine-node-uber-nested', function(){
2 | it('should pass', function(){
3 | expect(1+2).toEqual(3);
4 | });
5 |
6 | describe('failure', function(){
7 | it('should report failure (THIS IS EXPECTED)', function(){
8 | expect(true).toBeFalsy();
9 | });
10 | });
11 | });
12 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/spec/sample_helper.js:
--------------------------------------------------------------------------------
1 | (function(){
2 |
3 | var objectToString = Object.prototype.toString;
4 | var PRIMITIVE_TYPES = [String, Number, RegExp, Boolean, Date];
5 |
6 | beforeEach(function(){
7 | this.addMatchers({
8 | toHaveProperty: function(prop) {
9 | try {
10 | return prop in this.actual;
11 | }
12 | catch (e) {
13 | return false;
14 | }
15 | }
16 | });
17 | });
18 |
19 | })();
20 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/node_modules/jasmine-node/specs.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | jasmine-node --coffee "$@"
4 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Jasmine.Node/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "expectThat.jasmine-node",
3 | "description": "Assertion library for CoffeeScript and Jasmine-Node",
4 | "version": "0.2.2",
5 | "authors": ["Daniel Mohl <@dmohl>"],
6 | "keywords": ["CoffeeScript","jasmine-node","unit test"],
7 | "main": "./lib/main.js",
8 | "homepage": "https://github.com/dmohl/expectThat",
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/dmohl/expectThat.git"
12 | },
13 | "directories": { "lib": "./lib" },
14 | "engines" : { "node": ">=0.4.0" },
15 | "dependencies": {
16 | "jasmine-node": ">=1.0.17"
17 | },
18 | "bin" : "bin/expectThat.jasmine-node"
19 | }
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/lib/expectThat.mocha.min.gz.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Mocha/lib/expectThat.mocha.min.gz.js
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/lib/main.js:
--------------------------------------------------------------------------------
1 | var expectThat = require("./expectThat.mocha");
2 | var mocha = require("mocha")
3 |
4 | for(var key in expectThat) {
5 | global[key] = expectThat[key];
6 | }
7 |
8 | exports.expectThat = expectThat;
9 | exports.expectThatApi = expectThat.expectThatApi;
10 | exports.mocha = mocha;
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/.bin/_mocha:
--------------------------------------------------------------------------------
1 | ../mocha/bin/_mocha
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/.bin/mocha:
--------------------------------------------------------------------------------
1 | ../mocha/bin/mocha
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.4
4 | - 0.6
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - after each.tmSnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | content
6 | afterEach(function(){
7 | $0
8 | })
9 | name
10 | bdd - after each
11 | tabTrigger
12 | ae
13 | uuid
14 | 7B4DA8F4-2064-468B-B252-054148419B4B
15 |
16 |
17 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - after.tmSnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | content
6 | after(function(){
7 | $0
8 | })
9 | name
10 | bdd - after
11 | tabTrigger
12 | a
13 | uuid
14 | A49A87F9-399E-4D74-A489-C535BB06D487
15 |
16 |
17 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - before each.tmSnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | content
6 | beforeEach(function(){
7 | $0
8 | })
9 | name
10 | bdd - before each
11 | tabTrigger
12 | be
13 | uuid
14 | 7AB064E3-EFBB-4FA7-98CA-9E87C10CC04E
15 |
16 |
17 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - before.tmSnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | content
6 | before(function(){
7 | $0
8 | })
9 | name
10 | bdd - before
11 | tabTrigger
12 | b
13 | uuid
14 | DF6F1F42-F80A-4A24-AF78-376F19070C4C
15 |
16 |
17 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - it.tmSnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | content
6 | it('should $1', function(){
7 | $0
8 | })
9 | name
10 | bdd - it
11 | tabTrigger
12 | it
13 | uuid
14 | 591AE071-95E4-4E1E-B0F3-A7DAF41595EE
15 |
16 |
17 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/untitled.tmSnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | content
6 | describe('$1', function(){
7 | $0
8 | })
9 | name
10 | bdd - describe
11 | tabTrigger
12 | des
13 | uuid
14 | 4AA1FB50-9BB9-400E-A140-D61C39BDFDF5
15 |
16 |
17 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/images/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Mocha/node_modules/mocha/images/error.png
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/images/ok.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Mocha/node_modules/mocha/images/ok.png
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/mocha');
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/browser/debug.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = function(type){
3 | return function(){
4 |
5 | }
6 | };
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/browser/fs.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Mocha/node_modules/mocha/lib/browser/fs.js
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/browser/path.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dmohl/expectThat/692bb036c82f009d86acfb970bc3d06eba043e0b/npm/ExpectThat.Mocha/node_modules/mocha/lib/browser/path.js
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/browser/tty.js:
--------------------------------------------------------------------------------
1 |
2 | exports.isatty = function(){
3 | return true;
4 | };
5 |
6 | exports.getWindowSize = function(){
7 | return [window.innerHeight, window.innerWidth];
8 | };
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/hook.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Module dependencies.
4 | */
5 |
6 | var Runnable = require('./runnable');
7 |
8 | /**
9 | * Expose `Hook`.
10 | */
11 |
12 | module.exports = Hook;
13 |
14 | /**
15 | * Initialize a new `Hook` with the given `title` and callback `fn`.
16 | *
17 | * @param {String} title
18 | * @param {Function} fn
19 | * @api private
20 | */
21 |
22 | function Hook(title, fn) {
23 | Runnable.call(this, title, fn);
24 | }
25 |
26 | /**
27 | * Inherit from `Runnable.prototype`.
28 | */
29 |
30 | Hook.prototype.__proto__ = Runnable.prototype;
31 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/interfaces/index.js:
--------------------------------------------------------------------------------
1 |
2 | exports.bdd = require('./bdd');
3 | exports.tdd = require('./tdd');
4 | exports.qunit = require('./qunit');
5 | exports.exports = require('./exports');
6 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/mocha.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * mocha
4 | * Copyright(c) 2011 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Library version.
10 | */
11 |
12 | exports.version = '0.10.0';
13 |
14 | exports.utils = require('./utils');
15 | exports.interfaces = require('./interfaces');
16 | exports.reporters = require('./reporters');
17 | exports.Runnable = require('./runnable');
18 | exports.Runner = require('./runner');
19 | exports.Suite = require('./suite');
20 | exports.Hook = require('./hook');
21 | exports.Test = require('./test');
22 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/reporters/index.js:
--------------------------------------------------------------------------------
1 |
2 | exports.Base = require('./base');
3 | exports.Dot = require('./dot');
4 | exports.Doc = require('./doc');
5 | exports.TAP = require('./tap');
6 | exports.JSON = require('./json');
7 | exports.HTML = require('./html');
8 | exports.List = require('./list');
9 | exports.Spec = require('./spec');
10 | exports.Progress = require('./progress');
11 | exports.Landing = require('./landing');
12 | exports.JSONStream = require('./json-stream');
13 | exports.XUnit = require('./xunit')
14 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/lib/test.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Module dependencies.
4 | */
5 |
6 | var Runnable = require('./runnable');
7 |
8 | /**
9 | * Expose `Test`.
10 | */
11 |
12 | module.exports = Test;
13 |
14 | /**
15 | * Initialize a new `Test` with the given `title` and callback `fn`.
16 | *
17 | * @param {String} title
18 | * @param {Function} fn
19 | * @api private
20 | */
21 |
22 | function Test(title, fn) {
23 | Runnable.call(this, title, fn);
24 | this.pending = !fn;
25 | this.type = 'test';
26 | }
27 |
28 | /**
29 | * Inherit from `Runnable.prototype`.
30 | */
31 |
32 | Test.prototype.__proto__ = Runnable.prototype;
33 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/commander/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/commander/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.4
4 | - 0.6
5 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/commander/Makefile:
--------------------------------------------------------------------------------
1 |
2 | TESTS = $(shell find test/test.*.js)
3 |
4 | test:
5 | @./test/run $(TESTS)
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/commander/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/commander');
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/commander/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "commander"
3 | , "version": "0.5.1"
4 | , "description": "the complete solution for node.js command-line programs"
5 | , "keywords": ["command", "option", "parser", "prompt", "stdin"]
6 | , "author": "TJ Holowaychuk "
7 | , "repository": { "type": "git", "url": "https://github.com/visionmedia/commander.js.git" }
8 | , "dependencies": {}
9 | , "devDependencies": { "should": ">= 0.0.1" }
10 | , "scripts": { "test": "make test" }
11 | , "main": "index"
12 | , "engines": { "node": ">= 0.4.x < 0.7.0" }
13 | }
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/debug/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/debug/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.1.0 / 2011-12-02
3 | ==================
4 |
5 | * Added: remove colors unless stderr isatty [TooTallNate]
6 |
7 | 0.0.1 / 2010-01-03
8 | ==================
9 |
10 | * Initial release
11 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/debug/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @echo "populate me"
4 |
5 | .PHONY: test
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/debug/example/app.js:
--------------------------------------------------------------------------------
1 |
2 | var debug = require('../')('http')
3 | , http = require('http')
4 | , name = 'My App';
5 |
6 | // fake app
7 |
8 | debug('booting %s', name);
9 |
10 | http.createServer(function(req, res){
11 | debug(req.method + ' ' + req.url);
12 | res.end('hello\n');
13 | }).listen(3000, function(){
14 | debug('listening');
15 | });
16 |
17 | // fake worker of some kind
18 |
19 | require('./worker');
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/debug/example/worker.js:
--------------------------------------------------------------------------------
1 |
2 | var debug = require('../')('worker');
3 |
4 | setInterval(function(){
5 | debug('doing some work');
6 | }, 1000);
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/debug/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/debug');
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/debug/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "debug"
3 | , "version": "0.1.0"
4 | , "description": "small debugging utility"
5 | , "keywords": ["debug", "log", "debugger"]
6 | , "author": "TJ Holowaychuk "
7 | , "dependencies": {}
8 | , "devDependencies": { "mocha": "*" }
9 | , "main": "index"
10 | , "engines": { "node": "*" }
11 | }
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/node_modules/growl/package.json:
--------------------------------------------------------------------------------
1 | { "name": "growl",
2 | "version": "1.4.1",
3 | "description": "Growl unobtrusive notifications",
4 | "author": "TJ Holowaychuk ",
5 | "main": "./lib/growl.js"
6 | }
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/node_modules/mocha/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mocha"
3 | , "version": "0.10.0"
4 | , "description": "simple, flexible, fun test framework"
5 | , "keywords": ["test", "bdd", "tdd", "tap"]
6 | , "author": "TJ Holowaychuk "
7 | , "main": "index"
8 | , "bin": { "mocha": "./bin/mocha", "_mocha": "./bin/_mocha" }
9 | , "engines": { "node": ">= 0.4.x < 0.7.0" }
10 | , "scripts": {
11 | "test": "make test"
12 | }
13 | , "dependencies":{
14 | "commander": "0.5.1"
15 | , "growl": "1.4.x"
16 | , "debug": "*"
17 | }
18 | , "devDependencies": {
19 | "should": "0.3.x"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/npm/ExpectThat.Mocha/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "expectThat.mocha",
3 | "description": "Assertion library for CoffeeScript and Mocha",
4 | "version": "0.2.2",
5 | "author": ["Daniel Mohl <@dmohl>"],
6 | "keywords": ["CoffeeScript","Mocha","unit test"],
7 | "main": "./lib/main.js",
8 | "homepage": "https://github.com/dmohl/expectThat",
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/dmohl/expectThat.git"
12 | },
13 | "directories": { "lib": "./lib" },
14 | "engines" : { "node": ">=0.4.0" },
15 | "dependencies": {
16 | "mocha": ">=0.10.0"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/api.pavlov.coffee:
--------------------------------------------------------------------------------
1 | # Pavlov implementation
2 |
3 | ((expectThatApi, pavlov) ->
4 | expectThatApi.api.pavlov =
5 | expectThat: (desc, fn) ->
6 | # We could have used destructing assignment here, but jsHint doesn't like it.
7 | result = @.extendApi fn, pavlov.api, desc
8 | newFn = result[0]
9 | testDescription = result[1]
10 | pavlov.api.it testDescription, newFn
11 |
12 | expectThatApi.util.extend expectThatApi, expectThatApi.api.pavlov
13 | expectThatApi.util.extend pavlov.api, expectThatApi
14 | ) expectThatApi or= {}, root.pavlov
--------------------------------------------------------------------------------
/src/expectThat.jasmine.coffee:
--------------------------------------------------------------------------------
1 | ###import "core.coffee" ###
2 |
3 | ###import "util.coffee" ###
4 |
5 | ###import "api.coffee" ###
6 |
7 | ###import "api.extendedMatchers.coffee" ###
8 |
9 | ###import "api.jasmine.coffee" ###
--------------------------------------------------------------------------------
/src/expectThat.mocha.coffee:
--------------------------------------------------------------------------------
1 | ###import "core.coffee" ###
2 |
3 | ###import "util.coffee" ###
4 |
5 | ###import "api.coffee" ###
6 |
7 | ###import "api.extendedMatchers.coffee" ###
8 |
9 | ###import "api.mocha.coffee" ###
--------------------------------------------------------------------------------
/src/expectThat.pavlov.coffee:
--------------------------------------------------------------------------------
1 | ###import "core.coffee" ###
2 |
3 | ###import "util.coffee" ###
4 |
5 | ###import "api.coffee" ###
6 |
7 | ###import "api.extendedMatchers.coffee" ###
8 |
9 | ###import "api.pavlov.coffee" ###
--------------------------------------------------------------------------------
/src/expectThat.qunit.coffee:
--------------------------------------------------------------------------------
1 | ###import "core.coffee" ###
2 |
3 | ###import "util.coffee" ###
4 |
5 | ###import "api.coffee" ###
6 |
7 | ###import "api.extendedMatchers.coffee" ###
8 |
9 | ###import "api.qunit.coffee" ###
--------------------------------------------------------------------------------
/src/util.coffee:
--------------------------------------------------------------------------------
1 | ((expectThatApi) ->
2 | expectThatApi.util =
3 |
4 | extend: (destination, source) ->
5 | destination[name] = source[name] for name of source when source.hasOwnProperty(name) and destination
6 | destination
7 | @
8 | ) expectThatApi or= {}
9 |
--------------------------------------------------------------------------------