97 Commits

Author SHA1 Message Date
cronopio
cfd417de23 [tests] fix tests set correct host headers 2013-12-18 12:17:41 -05:00
cronopio
c4d56a5faf [tests] fix test using undefined url 2013-12-18 11:50:49 -05:00
yawnt
10c0f11b68 [fix] remove duplicate 2013-11-19 20:05:46 +01:00
cronopio
bbe3bfdf98 [tests] added test HTTPS to HTTP using own server 2013-11-07 21:27:50 -05:00
cronopio
31d919b0a3 [tests] added HTTPS to HTTPS test 2013-11-07 18:06:51 -05:00
cronopio
fd42dcef01 [tests] https test pass, fix #511. Exposed the rejectUnauthorized flag 2013-11-07 15:09:37 -05:00
cronopio
a2b1f0a4c9 [tests] disable test, by now is not throwing without options 2013-11-07 15:06:45 -05:00
cronopio
8085178dc2 [tests] Using target field, tests now pass. We are missing the tests using forward field 2013-10-29 16:46:27 -05:00
cronopio
33a2462d28 [wip] Initial HTTPS->HTTP test, updated https-secure example. Work in progress, need to add more https tests 2013-10-28 13:18:21 -05:00
cronopio
920f1e7707 [tests] this test is already in web-incoming tests 2013-10-22 16:09:11 -05:00
cronopio
c75d06c5f9 [tests] now each test use a different port to avoid some slow opening and closing ports 2013-10-22 15:57:52 -05:00
cronopio
d60353f80b [tests] tests fixed 2013-10-21 23:22:59 -05:00
cronopio
881c7e62e0 [tests] this file is not necessary anymore 2013-10-21 21:22:39 -05:00
cronopio
7c72f3b407 [tests] move contributions of @mmoulton to correct place 2013-10-21 21:11:19 -05:00
mmoulton
0bfb9be418 Fixed issue where error callback would not invoke, including new test cases. Added req/res values to error events.
Conflicts:
	lib/http-proxy/passes/web-incoming.js
2013-10-21 17:36:20 -05:00
cronopio
5d66ce11bb [fix] minor typo 2013-10-21 14:51:45 -05:00
cronopio
5e130de854 Revert "[fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options'"
This reverts commit 9b3e1eb247df29d18ea299ff4ebb2f10eeb71269.
2013-10-21 14:49:39 -05:00
cronopio
2bf20d61d5 Revert "[tests] fix test to use the new way to pass options"
This reverts commit 52ecd52ee5aa78603e44ba8d5ff9187410351622.
2013-10-21 14:44:49 -05:00
cronopio
52ecd52ee5 [tests] fix test to use the new way to pass options 2013-10-21 03:59:14 -05:00
cronopio
9b3e1eb247 [fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options' 2013-10-21 03:46:30 -05:00
cronopio
1d1ee88582 [tests] the options got a problem and this test probe that timeout is not being set 2013-10-21 03:25:47 -05:00
cronopio
c65ffbb976 [tests] fixed inherits problem and listen for the correct event 2013-10-09 12:40:05 -05:00
cronopio
a7042132c8 [tests] fixing tests, fixed some typos and changed how passes are stored 2013-10-09 12:00:42 -05:00
cronopio
c9f5772fc1 [tests] remove caronte and use http-proxy for file names 2013-10-09 10:49:13 -05:00
indexzero
bb0d28c587 [refactor minor] s/caronte/http-proxy/ or s/caronte/httpProxy/ where appropriate. 2013-09-26 03:37:08 -04:00
srossross
39b0c46a69 TEST: added agent and header tests 2013-09-17 15:29:48 -07:00
srossross
a350fadea6 FIX: tests. still need to add more tests tho 2013-09-17 15:06:22 -07:00
yawnt
ca092635e7 [test] remove chunked on http1.0 2013-09-17 16:32:55 +02:00
yawnt
16a4d9da11 [test] added tests for web-outgoing.js 2013-09-17 11:20:18 +02:00
cronopio
10a0db4f0d [tests] added test for socket.io proxying 2013-09-16 21:37:49 -05:00
cronopio
02007ed0fb [tests] added tests for websockets 2013-09-16 20:59:10 -05:00
cronopio
7e25bded27 [tests] removed unused tests 2013-09-16 19:04:49 -05:00
cronopio
dc9d7e5452 [tests] drop the test of own streams, moved the usable tests 2013-09-16 18:59:48 -05:00
cronopio
1cb967b90a [tests] fixed according new refactor and added test to common.setupSocket() 2013-09-16 17:27:06 -05:00
cronopio
5bb83b967e [tests] make the tests run with the last refactor 2013-09-16 16:50:30 -05:00
cronopio
275a5192fa [fix] typo 2013-09-16 16:49:51 -05:00
cronopio
8b3fe32f6a [tests] added the ws passes test and the streams webscokets test 2013-09-10 19:36:19 -05:00
cronopio
b85aa16e75 [test] test onError part, proxying to no where 2013-08-28 14:01:55 -05:00
cronopio
27df8d72ad [test] testing the onResponse proxy method 2013-08-28 13:45:09 -05:00
yawnt
c9612798f1 [test] proxystream test 2013-08-28 14:58:57 +02:00
yawnt
8fc3389367 [test] add test for forwardstream 2013-08-28 14:49:27 +02:00
cronopio
2fac7b9b00 [test] added the lib/caronte/streams/forward.js initial test, one test pending 2013-08-26 16:34:32 -05:00
cronopio
c02b721321 [test] passes/web.js XHeaders func 2013-08-26 00:21:30 -05:00
yawnt
d40e4beb62 [test] passes/web.js (first 2 funcs) 2013-08-21 17:37:38 +02:00
yawnt
cedc5c4bd2 [tests] add more tests 2013-08-09 19:13:44 +02:00
yawnt
16eacfa961 [test] started writing tests 2013-08-03 16:54:48 +02:00
yawnt
004a46c09d [test] COVERAGE 2013-08-03 16:44:23 +02:00