summaryrefslogtreecommitdiff
path: root/libproxy/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix test #10dominique.leuenberger@gmail.com2013-08-271-11/+19
| | | | | | | | | | | | | | | | | | Fix the way we detect if get_pac correctly aborted on our server trying to send a > 102400 byte long stream (which we do to avoid malicious pac files/wpad server to buffer overflow us). Replace assert calls with proper error handling, which avoids the server from hanging (the write command to send the quit was wrapped in assert()). When not building for a Debug release with CMAKE, the -DNDEBUG is being specified, which in turn disables the assert macro. Fixes bug 189. git-svn-id: http://libproxy.googlecode.com/svn/trunk@878 c587cffe-e639-0410-9787-d7902ae8ed56
* Add HTTP client unit testnicolas.dufresne@gmail.com2012-10-152-0/+265
| | | | | | | This should help in preventing regression that could lead to new security issues. This unit test only runs on Unix for now. git-svn-id: http://libproxy.googlecode.com/svn/trunk@861 c587cffe-e639-0410-9787-d7902ae8ed56
* Don't confuse ":" in path with a port dividernicolas.dufresne@gmail.com2012-07-051-0/+22
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@846 c587cffe-e639-0410-9787-d7902ae8ed56
* On win32, init WSA in url-testnicolas.dufresne2010-10-061-0/+10
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@770 c587cffe-e639-0410-9787-d7902ae8ed56
* add a test case for the URL with nothing but schemenpmccallum2010-09-291-0/+7
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@767 c587cffe-e639-0410-9787-d7902ae8ed56
* Fix compilation with Visual Studionicolas.dufresne2010-09-011-0/+6
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@747 c587cffe-e639-0410-9787-d7902ae8ed56
* Fixed crash in URL parsenicolas.dufresne2010-08-201-0/+7
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@740 c587cffe-e639-0410-9787-d7902ae8ed56
* Fix KDE builds and tests, fixes #127 and #128npmccallum2010-06-131-1/+0
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@694 c587cffe-e639-0410-9787-d7902ae8ed56
* rearrainge the build system ; make libmodman optionally build against ↵npmccallum2010-06-121-5/+5
| | | | | | external libmodman ; please test git-svn-id: http://libproxy.googlecode.com/svn/trunk@693 c587cffe-e639-0410-9787-d7902ae8ed56
* Implemented url::encode() and unit testnicolas.dufresne2010-06-022-0/+33
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@685 c587cffe-e639-0410-9787-d7902ae8ed56
* Improved URL unit testnicolas.dufresne2010-06-011-21/+109
| | | | git-svn-id: http://libproxy.googlecode.com/svn/trunk@683 c587cffe-e639-0410-9787-d7902ae8ed56
* Added URL test to demonstrate Issue 116nicolas.dufresne2010-05-262-0/+51
git-svn-id: http://libproxy.googlecode.com/svn/trunk@679 c587cffe-e639-0410-9787-d7902ae8ed56