Last update by Admin on 2010-05-23
job/url-mapping-test.cc File Reference
#include <config.h>
#include <configfile.hh>
#include <debug.hh>
#include <log.hh>
#include <uri.hh>
#include <url-mapping.hh>
|
Functions |
void | loggerPut (const string &unitName, unsigned char unitNameLen, const char *format, int args, const Subst arg[]) |
void | loggerInit () |
void | expect (const char *s) |
void | ap (UrlMap &m, const MD5 &md, const char *s) |
void | as (UrlMap &m, const char *label, const char *s, bool expectFailure=false) |
void | test1 () |
void | test2 () |
void | test3 () |
void | test4 () |
void | expectEnum (PartUrlMapping *m, const char *expected) |
void | score1 () |
void | score2 () |
void | score3 () |
void | score4 () |
void | score5 () |
int | main (int argc, char *argv[]) |
Variables |
const char *const | UNIT = "url-mapping" |
string | logged |
bool | unitEnabled = false |
const string | base = "http://baseurl/" |
MD5 | md [10] |
Function Documentation
void @50::ap |
( |
UrlMap & |
m, |
|
|
const MD5 & |
md, |
|
|
const char * |
s | |
|
) |
| | [static] |
void @50::as |
( |
UrlMap & |
m, |
|
|
const char * |
label, |
|
|
const char * |
s, |
|
|
bool |
expectFailure = false | |
|
) |
| | [static] |
void @50::expect |
( |
const char * |
s |
) |
[static] |
void @50::loggerInit |
( |
|
) |
[static] |
void @50::loggerPut |
( |
const string & |
unitName, |
|
|
unsigned char |
unitNameLen, |
|
|
const char * |
format, |
|
|
int |
args, |
|
|
const Subst |
arg[] | |
|
) |
| | [static] |
int main |
( |
int |
argc, |
|
|
char * |
argv[] | |
|
) |
| | |
References loggerInit(), md, msg, Logger::scanOptions(), score1(), score2(), score3(), score4(), score5(), UrlMapping::setNoRandomInitialWeight(), test1(), test2(), test3(), and test4().
Variable Documentation
const string base = "http://baseurl/" [static] |
const char* const UNIT = "url-mapping" [static] |
Generated on Tue Sep 23 14:27:42 2008 for jigdo by
1.5.6