tut::HTTPNodeTestData Struct Reference

Collaboration diagram for tut::HTTPNodeTestData:

Collaboration graph
[legend]

List of all members.

Public Types

typedef LLPointer< ResponseResponsePtr

Public Member Functions

const LLSDcontext ()
std::string remainderPath ()
void ensureRootTraversal (const std::string &path, const LLHTTPNode *expectedNode, const char *expectedRemainder)
LLSD get (const std::string &path)
LLSD post (const std::string &path, const LLSD &input)
void ensureMemberString (const std::string &name, const LLSD &actualMap, const std::string &member, const std::string &expectedValue)
void ensureInArray (const LLSD &actualArray, const std::string &expectedValue)

Public Attributes

LLHTTPNode mRoot
LLSD mContext

Classes

class  Response


Detailed Description

Definition at line 40 of file llhttpnode_tut.cpp.


Member Typedef Documentation

Definition at line 93 of file llhttpnode_tut.cpp.


Member Function Documentation

const LLSD& tut::HTTPNodeTestData::context (  )  [inline]

Definition at line 45 of file llhttpnode_tut.cpp.

References mContext.

std::string tut::HTTPNodeTestData::remainderPath (  )  [inline]

Definition at line 47 of file llhttpnode_tut.cpp.

References LLSD::beginArray(), LLSD::endArray(), i, and mContext.

Referenced by ensureRootTraversal().

Here is the call graph for this function:

Here is the caller graph for this function:

void tut::HTTPNodeTestData::ensureRootTraversal ( const std::string &  path,
const LLHTTPNode expectedNode,
const char *  expectedRemainder 
) [inline]

Definition at line 65 of file llhttpnode_tut.cpp.

References LLSD::clear(), tut::ensure_equals(), mContext, mRoot, remainderPath(), and LLHTTPNode::traverse().

Here is the call graph for this function:

LLSD tut::HTTPNodeTestData::get ( const std::string &  path  )  [inline]

Definition at line 95 of file llhttpnode_tut.cpp.

References LLSD::clear(), tut::HTTPNodeTestData::Response::create(), LLHTTPNode::get(), mContext, mRoot, NULL, and LLHTTPNode::traverse().

Here is the call graph for this function:

LLSD tut::HTTPNodeTestData::post ( const std::string &  path,
const LLSD input 
) [inline]

Definition at line 106 of file llhttpnode_tut.cpp.

References LLSD::clear(), tut::HTTPNodeTestData::Response::create(), mContext, mRoot, NULL, LLHTTPNode::post(), and LLHTTPNode::traverse().

Here is the call graph for this function:

void tut::HTTPNodeTestData::ensureMemberString ( const std::string &  name,
const LLSD actualMap,
const std::string &  member,
const std::string &  expectedValue 
) [inline]

Definition at line 117 of file llhttpnode_tut.cpp.

References tut::ensure_equals().

Here is the call graph for this function:

void tut::HTTPNodeTestData::ensureInArray ( const LLSD actualArray,
const std::string &  expectedValue 
) [inline]

Definition at line 126 of file llhttpnode_tut.cpp.

References LLSD::beginArray(), LLSD::endArray(), and i.

Here is the call graph for this function:


Member Data Documentation

Definition at line 42 of file llhttpnode_tut.cpp.

Referenced by ensureRootTraversal(), get(), and post().

Definition at line 43 of file llhttpnode_tut.cpp.

Referenced by context(), ensureRootTraversal(), get(), post(), and remainderPath().


The documentation for this struct was generated from the following file:

Generated on Fri May 16 09:43:00 2008 for SecondLife by  doxygen 1.5.5