Public Types | |
typedef LLPointer< Response > | ResponsePtr |
Public Member Functions | |
const LLSD & | context () |
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 |
Definition at line 40 of file llhttpnode_tut.cpp.
Definition at line 93 of file llhttpnode_tut.cpp.
const LLSD& tut::HTTPNodeTestData::context | ( | ) | [inline] |
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::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().
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().
Definition at line 43 of file llhttpnode_tut.cpp.
Referenced by context(), ensureRootTraversal(), get(), post(), and remainderPath().
Definition at line 42 of file llhttpnode_tut.cpp.
Referenced by ensureRootTraversal(), get(), and post().