jigdo API

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  ) 

References proxySettings.

Referenced by addNoProxy().

void glibcurl_add_proxy ( const gchar *  protocol,
const gchar *  proxy 
)

References proxySettings.

Referenced by addProxy().

int main ( int  argc,
char *  argv[] 
)

void @61::testcaseStart (  )  [static]

Referenced by main().


Variable Documentation

string content

string proxySettings [static]

time_t stamp

time_t start = time(0) [static]

Referenced by main().


Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6