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

typedef LLPointer<Response> tut::HTTPNodeTestData::ResponsePtr

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.

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

Definition at line 126 of file llhttpnode_tut.cpp.

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

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().

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().

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().

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().

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().


Member Data Documentation

LLSD tut::HTTPNodeTestData::mContext

Definition at line 43 of file llhttpnode_tut.cpp.

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

LLHTTPNode tut::HTTPNodeTestData::mRoot

Definition at line 42 of file llhttpnode_tut.cpp.

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


The documentation for this struct was generated from the following file:
Generated on Thu Jul 1 06:12:06 2010 for Second Life Viewer by  doxygen 1.4.7