jigdo API
Last update by Admin on 2010-05-23
net/proxyguess-test.cc File Reference
#include <config.h>#include <algorithm>#include <map>#include <sstream>#include <glib.h>#include <debug.hh>#include <log.hh>#include <glibcurl.h>#include <proxyguess.cc>Defines | |
| #define | TESTING_PROXYGUESS |
Typedefs | |
| typedef map< string, FakeFile * > | Map |
Functions | |
| void | testcaseStart () |
| void | addFile (const char *path, FakeFile *f) |
| void | addFile (const char *path, auto_ptr< FakeFile > &f) |
| time_t | fileModTime (const char *path) |
| void | glibcurl_add_proxy (const gchar *protocol, const gchar *proxy) |
| void | glibcurl_add_noproxy (const gchar *host) |
| int | main (int argc, char *argv[]) |
Variables | |
| time_t | start = time(0) |
| Map | files |
| string | proxySettings |
Define Documentation
| #define TESTING_PROXYGUESS |
Typedef Documentation
typedef map<string,FakeFile*> Map [static] |
Function Documentation
| void @61::addFile | ( | const char * | path, | |
| auto_ptr< FakeFile > & | f | |||
| ) | [inline, static] |
| void @61::addFile | ( | const char * | path, | |
| FakeFile * | f | |||
| ) | [inline, static] |
Referenced by main().
| time_t @61::fileModTime | ( | const char * | path | ) | [inline, static] |
Referenced by add().
| void glibcurl_add_noproxy | ( | const gchar * | host | ) |
| void glibcurl_add_proxy | ( | const gchar * | protocol, | |
| const gchar * | proxy | |||
| ) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References addFile(), Assert, msg, proxyGuess(), proxySettings, Logger::scanOptions(), start, and testcaseStart().
| void @61::testcaseStart | ( | ) | [static] |
Referenced by main().
Variable Documentation
| string content |
string proxySettings [static] |
Referenced by glibcurl_add_noproxy(), glibcurl_add_proxy(), and main().
| time_t stamp |
Generated on Tue Sep 23 14:27:42 2008 for jigdo by
1.5.6