tut Namespace Reference


Classes

struct  sd_data
struct  mem_data
struct  U64_data
struct  inventory_data
struct  heap_buffer_data
struct  buffer_data
struct  buffer_and_stream_data
class  PumpAndChainTestData
struct  pipe_and_pump_fitness
 we want to test the pipes & pumps under bad conditions. More...
struct  rpc_server_data
struct  application
struct  base64_data
struct  bit_pack
class  LLData
struct  buffer
struct  control_group
struct  datapacker_test
struct  date_test
struct  ErrorTestData
struct  host_data
class  LLSDStorageNode
class  ErrorNode
class  TimeOutNode
struct  HTTPClientTestData
struct  httpdate_data
struct  HTTPNodeTestData
class  IntegerNode
class  SquareNode
class  AlphaNode
struct  llinventoryparcel_data
class  HTTPServiceTestData
struct  LLMessageConfigTestData
struct  LLMessageTemplateParserTestData
struct  mime_index
struct  mime_parse
struct  namevalue_test
struct  partdata_test
struct  permission
struct  llquat_test
struct  random
struct  llsaleinfo_tut
class  SDCleanupCheck
class  SDAllocationCheck
struct  SDTestData
struct  LLSDMessageBuilderTestData
struct  LLSDMessageReaderTestData
struct  sd_xml_data
class  TestLLSDSerializeData
class  TestLLSDParsing
 Base class for of a parse tester. More...
class  TestLLSDXMLParsing
 Concrete instance of a parse tester. More...
class  TestLLSDNotationParsing
 Concrete instance of a parse tester. More...
class  TestLLSDBinaryParsing
 Concrete instance of a parse tester. More...
class  TestLLSDCrossCompatible
 Miscellaneous serialization and parsing tests. More...
struct  llsdutil_data
struct  ServiceBuilderTestData
struct  streamtools_data
struct  string_index
struct  LLTemplateMessageBuilderTestData
struct  frametimer_test
struct  URITestData
struct  user_relationship
class  UUIDTableEntry
struct  hashmap_test
struct  llxfer_data
struct  cipher
struct  m3math_test
struct  mass_properties_data
struct  math_data
struct  uuid_data
struct  crc_data
struct  sphere_data
struct  line_data
struct  LLMessageSystemTestData
struct  linkable_data
class  TestAggregatedData
class  TestReflectionData
struct  v2math_data
struct  v3color_data
struct  v3dmath_data
struct  v3math_data
struct  v4color_data
struct  v4coloru_data
struct  v4math_data
struct  xform_test

Typedefs

typedef test_group< sd_datasd_test
typedef sd_test::object sd_object
typedef test_group< mem_datamem_test
typedef mem_test::object mem_object
typedef test_group< U64_dataU64_test
typedef U64_test::object U64_object
typedef test_group
< inventory_data
inventory_test
typedef inventory_test::object inventory_object
typedef test_group
< heap_buffer_data
heap_buffer_test
typedef heap_buffer_test::object heap_buffer_object
typedef test_group< buffer_databuffer_test
typedef buffer_test::object buffer_object
typedef test_group
< buffer_and_stream_data
bas_test
typedef bas_test::object bas_object
typedef test_group
< PumpAndChainTestData
PumpAndChainTestGroup
typedef
PumpAndChainTestGroup::object 
PumpAndChainTestObject
typedef test_group
< pipe_and_pump_fitness
fitness_test_group
typedef fitness_test_group::object fitness_test_object
typedef test_group
< rpc_server_data
rpc_server_test
typedef rpc_server_test::object rpc_server_object
typedef test_group< applicationapplication_t
typedef application_t::object application_object_t
typedef test_group< base64_database64_test
typedef base64_test::object base64_object
typedef test_group< bit_packbit_pack_t
typedef bit_pack_t::object bit_pack_object_t
typedef test_group< LLDatablowfish_test
typedef blowfish_test::object blowfish_object
typedef test_group< bufferbuffer_t
typedef buffer_t::object buffer_object_t
typedef test_group< control_groupcontrol_group_test
typedef control_group_test::object control_group_t
typedef test_group
< datapacker_test
datapacker_test_t
typedef datapacker_test_t::object datapacker_test_object_t
typedef test_group< date_testdate_test_t
typedef date_test_t::object date_test_object_t
typedef test_group< ErrorTestDataErrorTestGroup
typedef ErrorTestGroup::object ErrorTestObject
typedef test_group< host_datahost_test
typedef host_test::object host_object
typedef test_group
< HTTPClientTestData
HTTPClientTestGroup
typedef HTTPClientTestGroup::object HTTPClientTestObject
typedef test_group< httpdate_datahttpdate_test
typedef httpdate_test::object httpdate_object
typedef test_group
< HTTPNodeTestData
HTTPNodeTestGroup
typedef HTTPNodeTestGroup::object HTTPNodeTestObject
typedef test_group
< llinventoryparcel_data
llinventoryparcel_test
typedef
llinventoryparcel_test::object 
llinventoryparcel_object
typedef test_group
< HTTPServiceTestData
HTTPServiceTestGroup
typedef
HTTPServiceTestGroup::object 
HTTPServiceTestObject
typedef test_group
< LLMessageConfigTestData
LLMessageConfigTestGroup
typedef
LLMessageConfigTestGroup::object 
LLMessageConfigTestObject
typedef test_group
< LLMessageTemplateParserTestData
LLMessageTemplateParserTestGroup
typedef
LLMessageTemplateParserTestGroup::object 
LLMessageTemplateParserTestObject
typedef test_group< mime_indexmime_index_t
typedef mime_index_t::object mime_index_object_t
typedef test_group< mime_parsemime_parse_t
typedef mime_parse_t::object mime_parse_object_t
typedef test_group
< namevalue_test
namevalue_t
typedef namevalue_t::object namevalue_object_t
typedef test_group< partdata_testpartdata_test_t
typedef partdata_test_t::object partdata_test_object_t
typedef test_group< permissionpermission_t
typedef permission_t::object permission_object_t
typedef test_group< llquat_testllquat_test_t
typedef llquat_test_t::object llquat_test_object_t
typedef test_group< randomrandom_t
typedef random_t::object random_object_t
typedef test_group
< llsaleinfo_tut
llsaleinfo_tut_t
typedef llsaleinfo_tut_t::object llsaleinfo_test_t
typedef test_group< SDTestDataSDTestGroup
typedef SDTestGroup::object SDTestObject
typedef test_group
< LLSDMessageBuilderTestData
LLSDMessageBuilderTestGroup
typedef
LLSDMessageBuilderTestGroup::object 
LLSDMessageBuilderTestObject
typedef test_group
< LLSDMessageReaderTestData
LLSDMessageReaderTestGroup
typedef
LLSDMessageReaderTestGroup::object 
LLSDMessageReaderTestObject
typedef test_group< sd_xml_datasd_xml_test
typedef sd_xml_test::object sd_xml_object
typedef tut::test_group
< TestLLSDSerializeData
TestLLSDSerialzeGroup
typedef
TestLLSDSerialzeGroup::object 
TestLLSDSerializeObject
typedef tut::test_group
< TestLLSDXMLParsing
TestLLSDXMLParsingGroup
typedef
TestLLSDXMLParsingGroup::object 
TestLLSDXMLParsingObject
typedef tut::test_group
< TestLLSDNotationParsing
TestLLSDNotationParsingGroup
typedef
TestLLSDNotationParsingGroup::object 
TestLLSDNotationParsingObject
typedef tut::test_group
< TestLLSDBinaryParsing
TestLLSDBinaryParsingGroup
typedef
TestLLSDBinaryParsingGroup::object 
TestLLSDBinaryParsingObject
typedef tut::test_group
< TestLLSDCrossCompatible
TestLLSDCompatibleGroup
typedef
TestLLSDCompatibleGroup::object 
TestLLSDCompatibleObject
typedef test_group< llsdutil_datallsdutil_test
typedef llsdutil_test::object llsdutil_object
typedef test_group
< ServiceBuilderTestData
ServiceBuilderTestGroup
typedef
ServiceBuilderTestGroup::object 
ServiceBuilderTestObject
typedef test_group
< streamtools_data
streamtools_test
typedef streamtools_test::object streamtools_object
typedef test_group< string_indexstring_index_t
typedef string_index_t::object string_index_object_t
typedef test_group
< LLTemplateMessageBuilderTestData
LLTemplateMessageBuilderTestGroup
typedef
LLTemplateMessageBuilderTestGroup::object 
LLTemplateMessageBuilderTestObject
typedef test_group
< frametimer_test
frametimer_group_t
typedef frametimer_group_t::object frametimer_object_t
typedef test_group< URITestDataURITestGroup
typedef URITestGroup::object URITestObject
typedef test_group
< user_relationship
user_relationship_t
typedef user_relationship_t::object user_relationship_object_t
typedef test_group< hashmap_testhash_index_t
typedef hash_index_t::object hash_index_object_t
typedef test_group< llxfer_datallxfer_test
typedef llxfer_test::object llxfer_object
typedef test_group< ciphercipher_t
typedef cipher_t::object cipher_object_t
typedef test_group< m3math_testm3math_test_t
typedef m3math_test_t::object m3math_test_object_t
typedef test_group
< mass_properties_data
mass_properties_group
typedef
mass_properties_group::object 
mass_properties
typedef test_group< math_datamath_test
typedef math_test::object math_object
typedef test_group< uuid_datauuid_test
typedef uuid_test::object uuid_object
typedef test_group< crc_datacrc_test
typedef crc_test::object crc_object
typedef test_group< sphere_datasphere_test
typedef sphere_test::object sphere_object
typedef test_group< line_dataline_test
typedef line_test::object line_object
typedef test_group
< LLMessageSystemTestData
LLMessageSystemTestGroup
typedef
LLMessageSystemTestGroup::object 
LLMessageSystemTestObject
typedef test_group< linkable_datalinkable_test
typedef linkable_test::object linkable_object
typedef tut::test_group
< TestReflectionData
TestReflectionGroup
typedef TestReflectionGroup::object TestReflectionObject
typedef test_group< v2math_datav2math_test
typedef v2math_test::object v2math_object
typedef test_group< v3color_datav3color_test
typedef v3color_test::object v3color_object
typedef test_group< v3dmath_datav3dmath_test
typedef v3dmath_test::object v3dmath_object
typedef test_group< v3math_datav3math_test
typedef v3math_test::object v3math_object
typedef test_group< v4color_datav4color_test
typedef v4color_test::object v4color_object
typedef test_group< v4coloru_datav4coloru_test
typedef v4coloru_test::object v4coloru_object
typedef test_group< v4math_datav4math_test
typedef v4math_test::object v4math_object
typedef test_group< xform_testxform_test_t
typedef xform_test_t::object xform_test_object_t

Functions

tut::sd_test sd ("llsd")
tut::mem_test mem_stream ("memory_stream")
tut::U64_test U64_testcase ("U64_conversion")
tut::inventory_test inv ("llinventory")
tut::heap_buffer_test thb ("heap_buffer")
tut::buffer_test tba ("buffer_array")
tut::bas_test tbs ("buffer_stream")
PumpAndChainTestGroup pumpAndChainTestGroup ("pump_and_chain")
fitness_test_group fitness ("pipe and pump fitness")
tut::rpc_server_test rpc ("rpc_server")
tut::application_t tut_application ("application")
tut::base64_test base64 ("base64")
tut::bit_pack_t tut_bit_pack ("bitpack")
tut::blowfish_test blowfish ("blowfish")
tut::buffer_t tut_buffer ("buffer")
control_group_test tut_control_group ("control_group")
tut::datapacker_test_t tut_datapacker_test ("datapacker_test")
tut::date_test_t tut_date_test ("date_test")
ErrorTestGroup errorTestGroup ("error")
tut::host_test host_testcase ("llhost")
HTTPClientTestGroup httpClientTestGroup ("http_client")
tut::httpdate_test httpdate ("httpdate")
HTTPNodeTestGroup httpNodeTestGroup ("http node")
tut::llinventoryparcel_test llinventoryparcel ("llinventoryparcel")
HTTPServiceTestGroup httpServiceTestGroup ("http service")
LLMessageConfigTestGroup llMessageConfigTestGroup ("LLMessageConfig")
LLMessageTemplateParserTestGroup llMessageTemplateParserTestGroup ("LLMessageTemplateParser")
tut::mime_index_t tut_mime_index ("mime_index")
tut::mime_parse_t tut_mime_parse ("mime_parse")
tut::namevalue_t tut_namevalue ("namevalue_test")
tut::partdata_test_t tut_partdata_test ("partdata_test")
tut::permission_t tut_permission ("permission")
tut::llquat_test_t tut_llquat_test ("llquat")
tut::random_t tut_random ("random")
tut::llsaleinfo_tut_t tut_llsaleinfo_test ("llsaleinfo")
SDTestGroup sdTestGroup ("LLSD(new)")
void checkConversions (const char *msg, const LLSD &v, LLSD::Boolean eBoolean, LLSD::Integer eInteger, LLSD::Real eReal, const LLSD::String &eString)
template<class T>
void checkRoundTrip (const std::string &msg, const LLSD &actual, const char *sExpected, T vExpected)
LLSDMessageBuilderTestGroup llsdMessageBuilderTestGroup ("LLSDMessageBuilder")
LLSDMessageReaderTestGroup llsdMessageReaderTestGroup ("LLSDMessageReader")
template<typename T>
LLSDMessageReader testType (const T &value)
tut::sd_xml_test sd_xml_stream ("sd_xml_serialization")
static void fillmap (LLSD &root, U32 width, U32 depth)
TestLLSDSerialzeGroup gTestLLSDSerializeGroup ("llsd serialization")
TestLLSDXMLParsingGroup gTestLLSDXMLParsingGroup ("llsd XML parsing")
TestLLSDNotationParsingGroup gTestLLSDNotationParsingGroup ("llsd notation parsing")
TestLLSDBinaryParsingGroup gTestLLSDBinaryParsingGroup ("llsd binary parsing")
TestLLSDCompatibleGroup gTestLLSDCompatibleGroup ("llsd serialize compatible")
tut::llsdutil_test tutil ("llsdutil")
ServiceBuilderTestGroup serviceBuilderTestGroup ("ServiceBuilder")
tut::streamtools_test streamtools_testcase ("streamtools")
tut::string_index_t tut_string_index ("string_test")
LLTemplateMessageBuilderTestGroup templateMessageBuilderTestGroup ("LLTemplateMessageBuilder")
tut::frametimer_group_t frametimer_instance ("frametimer")
template<>
void ensure_equals (const char *msg, const LLDate &actual, const LLDate &expected)
template<>
void ensure_equals (const char *msg, const LLURI &actual, const LLURI &expected)
template<>
void ensure_equals (const char *msg, const std::vector< U8 > &actual, const std::vector< U8 > &expected)
template<>
void ensure_equals (const char *m, const LLSD &actual, const LLSD &expected)
void ensure_starts_with (const std::string &msg, const std::string &actual, const std::string &expectedStart)
void ensure_ends_with (const std::string &msg, const std::string &actual, const std::string &expectedEnd)
void ensure_contains (const std::string &msg, const std::string &actual, const std::string &expectedSubString)
void ensure_does_not_contain (const std::string &msg, const std::string &actual, const std::string &expectedSubString)
void ensure_approximately_equals (const char *msg, F64 actual, F64 expected, U32 frac_bits)
void ensure_approximately_equals (const char *msg, F32 actual, F32 expected, U32 frac_bits)
void ensure_approximately_equals (F32 actual, F32 expected, U32 frac_bits)
void ensure_memory_matches (const char *msg, const void *actual, U32 actual_len, const void *expected, U32 expected_len)
void ensure_memory_matches (const void *actual, U32 actual_len, const void *expected, U32 expected_len)
template<class T, class Q>
void ensure_not_equals (const char *msg, const Q &actual, const T &expected)
template<class T, class Q>
void ensure_not_equals (const Q &actual, const T &expected)
template<class T, class Q>
void ensure_equals (const std::string &msg, const Q &actual, const T &expected)
URITestGroup uriTestGroup ("LLURI")
tut::user_relationship_t tut_user_relationship ("relationships")
tut::hash_index_t tut_hash_index ("hashmap_test")
tut::llxfer_test llxfer ("llxfer")
tut::cipher_t tut_cipher ("cipher")
tut::m3math_test_t tut_m3math_test ("m3math_test")
tut::mass_properties_group mp_test_group ("mass properties")
tut::math_test tm ("basic_linden_math")
tut::uuid_test tu ("uuid")
tut::crc_test tc ("crc")
tut::sphere_test tsphere ("LLSphere")
tut::line_test tline ("LLLine")
LLMessageSystemTestGroup messageTestGroup ("LLMessageSystem")
tut::linkable_test wtf ("prim linkability")
TestReflectionGroup gTestReflectionGroup ("reflection")
tut::v2math_test v2math_testcase ("v2math")
tut::v3color_test v3color_testcase ("v3color")
tut::v3dmath_test v3dmath_testcase ("v3dmath")
tut::v3math_test v3math_testcase ("v3math")
tut::v4color_test v4color_testcase ("v4color")
tut::v4coloru_test v4coloru_testcase ("v4coloru")
tut::v4math_test v4math_testcase ("v4math")
tut::xform_test_t tut_xform_test ("xform_test")

Variables

LLSD storage
LLHTTPRegistration
< LLSDStorageNode
gStorageNode ("/test/storage")
LLHTTPRegistration< ErrorNodegErrorNode ("/test/error")
LLHTTPRegistration< TimeOutNodegTimeOutNode ("/test/timeout")
static
LLTemplateMessageBuilder::message_template_name_map_t 
nameMap
static
LLTemplateMessageReader::message_template_number_map_t 
numberMap
F32 SMALL_RADIUS = 1.0f
F32 MEDIUM_RADIUS = 5.0f
F32 LARGE_RADIUS = 10.0f
F32 ALMOST_PARALLEL = 0.99f
test_runner_singleton runner


Detailed Description

THOROUGH_DESCRIPTION of common.cpp

These classes test the HTTP client framework.

You can add tests by creating a new cpp file in this directory, and rebuilding. There are at most 50 tests per testgroup without a little bit of template parameter and makefile tweaking.


Typedef Documentation

typedef application_t::object tut::application_object_t

Definition at line 63 of file llapp_tut.cpp.

typedef test_group<application> tut::application_t

Definition at line 62 of file llapp_tut.cpp.

typedef bas_test::object tut::bas_object

Definition at line 413 of file io.cpp.

Definition at line 412 of file io.cpp.

typedef base64_test::object tut::base64_object

Definition at line 47 of file llbase64_tut.cpp.

typedef test_group<base64_data> tut::base64_test

Definition at line 46 of file llbase64_tut.cpp.

typedef bit_pack_t::object tut::bit_pack_object_t

Definition at line 46 of file llbitpack_tut.cpp.

typedef test_group<bit_pack> tut::bit_pack_t

Definition at line 45 of file llbitpack_tut.cpp.

typedef blowfish_test::object tut::blowfish_object

Definition at line 88 of file llblowfish_tut.cpp.

typedef test_group<LLData> tut::blowfish_test

Definition at line 87 of file llblowfish_tut.cpp.

typedef buffer_test::object tut::buffer_object

Definition at line 157 of file io.cpp.

typedef buffer_t::object tut::buffer_object_t

Definition at line 49 of file llbuffer_tut.cpp.

typedef test_group<buffer> tut::buffer_t

Definition at line 48 of file llbuffer_tut.cpp.

typedef test_group<buffer_data> tut::buffer_test

Definition at line 156 of file io.cpp.

typedef cipher_t::object tut::cipher_object_t

Definition at line 45 of file llxorcipher_tut.cpp.

typedef test_group<cipher> tut::cipher_t

Definition at line 44 of file llxorcipher_tut.cpp.

typedef control_group_test::object tut::control_group_t

Definition at line 92 of file llcontrol_tut.cpp.

Definition at line 91 of file llcontrol_tut.cpp.

typedef crc_test::object tut::crc_object

Definition at line 239 of file math.cpp.

typedef test_group<crc_data> tut::crc_test

Definition at line 238 of file math.cpp.

typedef datapacker_test_t::object tut::datapacker_test_object_t

Definition at line 52 of file lldatapacker_tut.cpp.

Definition at line 51 of file lldatapacker_tut.cpp.

typedef date_test_t::object tut::date_test_object_t

Definition at line 74 of file lldate_tut.cpp.

typedef test_group<date_test> tut::date_test_t

Definition at line 73 of file lldate_tut.cpp.

typedef test_group<ErrorTestData> tut::ErrorTestGroup

Definition at line 137 of file llerror_tut.cpp.

typedef ErrorTestGroup::object tut::ErrorTestObject

Definition at line 138 of file llerror_tut.cpp.

Definition at line 932 of file io.cpp.

typedef fitness_test_group::object tut::fitness_test_object

Definition at line 933 of file io.cpp.

Definition at line 48 of file lltiming_tut.cpp.

typedef frametimer_group_t::object tut::frametimer_object_t

Definition at line 49 of file lltiming_tut.cpp.

typedef hash_index_t::object tut::hash_index_object_t

Definition at line 80 of file lluuidhashmap_tut.cpp.

typedef test_group<hashmap_test> tut::hash_index_t

Definition at line 79 of file lluuidhashmap_tut.cpp.

typedef heap_buffer_test::object tut::heap_buffer_object

Definition at line 64 of file io.cpp.

Definition at line 63 of file io.cpp.

typedef host_test::object tut::host_object

Definition at line 45 of file llhost_tut.cpp.

typedef test_group<host_data> tut::host_test

Definition at line 44 of file llhost_tut.cpp.

Definition at line 255 of file llhttpclient_tut.cpp.

typedef HTTPClientTestGroup::object tut::HTTPClientTestObject

Definition at line 256 of file llhttpclient_tut.cpp.

typedef httpdate_test::object tut::httpdate_object

Definition at line 46 of file llhttpdate_tut.cpp.

typedef test_group<httpdate_data> tut::httpdate_test

Definition at line 45 of file llhttpdate_tut.cpp.

Definition at line 147 of file llhttpnode_tut.cpp.

typedef HTTPNodeTestGroup::object tut::HTTPNodeTestObject

Definition at line 148 of file llhttpnode_tut.cpp.

Definition at line 181 of file lliohttpserver_tut.cpp.

typedef HTTPServiceTestGroup::object tut::HTTPServiceTestObject

Definition at line 182 of file lliohttpserver_tut.cpp.

typedef inventory_test::object tut::inventory_object

Definition at line 99 of file inventory.cpp.

typedef test_group<inventory_data> tut::inventory_test

Definition at line 98 of file inventory.cpp.

typedef line_test::object tut::line_object

Definition at line 453 of file math.cpp.

typedef test_group<line_data> tut::line_test

Definition at line 452 of file math.cpp.

typedef linkable_test::object tut::linkable_object

Definition at line 70 of file prim_linkability_tut.cpp.

typedef test_group<linkable_data> tut::linkable_test

Definition at line 69 of file prim_linkability_tut.cpp.

typedef llinventoryparcel_test::object tut::llinventoryparcel_object

Definition at line 46 of file llinventoryparcel_tut.cpp.

Definition at line 45 of file llinventoryparcel_tut.cpp.

Definition at line 85 of file llmessageconfig_tut.cpp.

typedef LLMessageConfigTestGroup::object tut::LLMessageConfigTestObject

Definition at line 86 of file llmessageconfig_tut.cpp.

Definition at line 86 of file message_tut.cpp.

typedef LLMessageSystemTestGroup::object tut::LLMessageSystemTestObject

Definition at line 87 of file message_tut.cpp.

Definition at line 98 of file llmessagetemplateparser_tut.cpp.

typedef LLMessageTemplateParserTestGroup::object tut::LLMessageTemplateParserTestObject

Definition at line 99 of file llmessagetemplateparser_tut.cpp.

typedef llquat_test_t::object tut::llquat_test_object_t

Definition at line 52 of file llquaternion_tut.cpp.

typedef test_group<llquat_test> tut::llquat_test_t

Definition at line 51 of file llquaternion_tut.cpp.

typedef llsaleinfo_tut_t::object tut::llsaleinfo_test_t

Definition at line 45 of file llsaleinfo_tut.cpp.

Definition at line 44 of file llsaleinfo_tut.cpp.

Definition at line 65 of file llsdmessagebuilder_tut.cpp.

typedef LLSDMessageBuilderTestGroup::object tut::LLSDMessageBuilderTestObject

Definition at line 66 of file llsdmessagebuilder_tut.cpp.

Definition at line 86 of file llsdmessagereader_tut.cpp.

typedef LLSDMessageReaderTestGroup::object tut::LLSDMessageReaderTestObject

Definition at line 87 of file llsdmessagereader_tut.cpp.

typedef llsdutil_test::object tut::llsdutil_object

Definition at line 47 of file llsdutil_tut.cpp.

typedef test_group<llsdutil_data> tut::llsdutil_test

Definition at line 47 of file llsdutil_tut.cpp.

Definition at line 119 of file lltemplatemessagebuilder_tut.cpp.

typedef LLTemplateMessageBuilderTestGroup::object tut::LLTemplateMessageBuilderTestObject

Definition at line 120 of file lltemplatemessagebuilder_tut.cpp.

typedef llxfer_test::object tut::llxfer_object

Definition at line 46 of file llxfer_tut.cpp.

typedef test_group<llxfer_data> tut::llxfer_test

Definition at line 45 of file llxfer_tut.cpp.

typedef m3math_test_t::object tut::m3math_test_object_t

Definition at line 50 of file m3math_tut.cpp.

typedef test_group<m3math_test> tut::m3math_test_t

Definition at line 49 of file m3math_tut.cpp.

typedef mass_properties_group::object tut::mass_properties

Definition at line 49 of file mass_properties_tut.cpp.

Definition at line 48 of file mass_properties_tut.cpp.

typedef math_test::object tut::math_object

Definition at line 51 of file math.cpp.

typedef test_group<math_data> tut::math_test

Definition at line 50 of file math.cpp.

typedef mem_test::object tut::mem_object

Definition at line 446 of file common.cpp.

typedef test_group<mem_data> tut::mem_test

Definition at line 445 of file common.cpp.

typedef mime_index_t::object tut::mime_index_object_t

Definition at line 45 of file llmime_tut.cpp.

typedef test_group<mime_index> tut::mime_index_t

Definition at line 44 of file llmime_tut.cpp.

typedef mime_parse_t::object tut::mime_parse_object_t

Definition at line 232 of file llmime_tut.cpp.

typedef test_group<mime_parse> tut::mime_parse_t

Definition at line 231 of file llmime_tut.cpp.

typedef namevalue_t::object tut::namevalue_object_t

Definition at line 48 of file llnamevalue_tut.cpp.

typedef test_group<namevalue_test> tut::namevalue_t

Definition at line 47 of file llnamevalue_tut.cpp.

typedef partdata_test_t::object tut::partdata_test_object_t

Definition at line 50 of file llpartdata_tut.cpp.

typedef test_group<partdata_test> tut::partdata_test_t

Definition at line 49 of file llpartdata_tut.cpp.

typedef permission_t::object tut::permission_object_t

Definition at line 47 of file llpermissions_tut.cpp.

typedef test_group<permission> tut::permission_t

Definition at line 46 of file llpermissions_tut.cpp.

Definition at line 843 of file io.cpp.

typedef PumpAndChainTestGroup::object tut::PumpAndChainTestObject

Definition at line 844 of file io.cpp.

typedef random_t::object tut::random_object_t

Definition at line 47 of file llrandom_tut.cpp.

typedef test_group<random> tut::random_t

Definition at line 46 of file llrandom_tut.cpp.

typedef rpc_server_test::object tut::rpc_server_object

Definition at line 1295 of file io.cpp.

Definition at line 1294 of file io.cpp.

typedef sd_test::object tut::sd_object

Definition at line 58 of file common.cpp.

typedef test_group<sd_data> tut::sd_test

Definition at line 57 of file common.cpp.

typedef sd_xml_test::object tut::sd_xml_object

Definition at line 68 of file llsdserialize_tut.cpp.

typedef test_group<sd_xml_data> tut::sd_xml_test

Definition at line 67 of file llsdserialize_tut.cpp.

typedef test_group<SDTestData> tut::SDTestGroup

Definition at line 89 of file llsd_new_tut.cpp.

typedef SDTestGroup::object tut::SDTestObject

Definition at line 90 of file llsd_new_tut.cpp.

Definition at line 47 of file llservicebuilder_tut.cpp.

typedef ServiceBuilderTestGroup::object tut::ServiceBuilderTestObject

Definition at line 48 of file llservicebuilder_tut.cpp.

typedef sphere_test::object tut::sphere_object

Definition at line 291 of file math.cpp.

typedef test_group<sphere_data> tut::sphere_test

Definition at line 290 of file math.cpp.

typedef streamtools_test::object tut::streamtools_object

Definition at line 47 of file llstreamtools_tut.cpp.

Definition at line 46 of file llstreamtools_tut.cpp.

typedef string_index_t::object tut::string_index_object_t

Definition at line 45 of file llstring_tut.cpp.

typedef test_group<string_index> tut::string_index_t

Definition at line 44 of file llstring_tut.cpp.

Definition at line 907 of file llsdserialize_tut.cpp.

typedef TestLLSDBinaryParsingGroup::object tut::TestLLSDBinaryParsingObject

Definition at line 908 of file llsdserialize_tut.cpp.

Definition at line 1311 of file llsdserialize_tut.cpp.

typedef TestLLSDCompatibleGroup::object tut::TestLLSDCompatibleObject

Definition at line 1312 of file llsdserialize_tut.cpp.

Definition at line 655 of file llsdserialize_tut.cpp.

typedef TestLLSDNotationParsingGroup::object tut::TestLLSDNotationParsingObject

Definition at line 656 of file llsdserialize_tut.cpp.

typedef TestLLSDSerialzeGroup::object tut::TestLLSDSerializeObject

Definition at line 427 of file llsdserialize_tut.cpp.

Definition at line 426 of file llsdserialize_tut.cpp.

Definition at line 503 of file llsdserialize_tut.cpp.

typedef TestLLSDXMLParsingGroup::object tut::TestLLSDXMLParsingObject

Definition at line 504 of file llsdserialize_tut.cpp.

typedef tut::test_group<TestReflectionData> tut::TestReflectionGroup

Definition at line 103 of file reflection_tut.cpp.

typedef TestReflectionGroup::object tut::TestReflectionObject

Definition at line 104 of file reflection_tut.cpp.

typedef U64_test::object tut::U64_object

Definition at line 468 of file common.cpp.

typedef test_group<U64_data> tut::U64_test

Definition at line 467 of file common.cpp.

typedef test_group<URITestData> tut::URITestGroup

Definition at line 66 of file lluri_tut.cpp.

typedef URITestGroup::object tut::URITestObject

Definition at line 67 of file lluri_tut.cpp.

typedef user_relationship_t::object tut::user_relationship_object_t

Definition at line 46 of file lluserrelations_tut.cpp.

Definition at line 45 of file lluserrelations_tut.cpp.

typedef uuid_test::object tut::uuid_object

Definition at line 184 of file math.cpp.

typedef test_group<uuid_data> tut::uuid_test

Definition at line 183 of file math.cpp.

typedef v2math_test::object tut::v2math_object

Definition at line 47 of file v2math_tut.cpp.

typedef test_group<v2math_data> tut::v2math_test

Definition at line 46 of file v2math_tut.cpp.

typedef v3color_test::object tut::v3color_object

Definition at line 46 of file v3color_tut.cpp.

typedef test_group<v3color_data> tut::v3color_test

Definition at line 45 of file v3color_tut.cpp.

typedef v3dmath_test::object tut::v3dmath_object

Definition at line 50 of file v3dmath_tut.cpp.

typedef test_group<v3dmath_data> tut::v3dmath_test

Definition at line 49 of file v3dmath_tut.cpp.

typedef v3math_test::object tut::v3math_object

Definition at line 53 of file v3math_tut.cpp.

typedef test_group<v3math_data> tut::v3math_test

Definition at line 52 of file v3math_tut.cpp.

typedef v4color_test::object tut::v4color_object

Definition at line 50 of file v4color_tut.cpp.

typedef test_group<v4color_data> tut::v4color_test

Definition at line 49 of file v4color_tut.cpp.

typedef v4coloru_test::object tut::v4coloru_object

Definition at line 48 of file v4coloru_tut.cpp.

typedef test_group<v4coloru_data> tut::v4coloru_test

Definition at line 47 of file v4coloru_tut.cpp.

typedef v4math_test::object tut::v4math_object

Definition at line 48 of file v4math_tut.cpp.

typedef test_group<v4math_data> tut::v4math_test

Definition at line 47 of file v4math_tut.cpp.

typedef xform_test_t::object tut::xform_test_object_t

Definition at line 45 of file xform_tut.cpp.

typedef test_group<xform_test> tut::xform_test_t

Definition at line 44 of file xform_tut.cpp.


Function Documentation

tut::base64_test tut::base64 ( "base64"   ) 

tut::blowfish_test tut::blowfish ( "blowfish"   ) 

void tut::checkConversions ( const char *  msg,
const LLSD v,
LLSD::Boolean  eBoolean,
LLSD::Integer  eInteger,
LLSD::Real  eReal,
const LLSD::String eString 
)

Definition at line 213 of file llsd_new_tut.cpp.

References LLSD::asBoolean(), LLSD::asInteger(), LLSD::asReal(), LLSD::asString(), ensure_equals(), and FPCLASSIFY_NAMESPACE.

Here is the call graph for this function:

template<class T>
void tut::checkRoundTrip ( const std::string &  msg,
const LLSD actual,
const char *  sExpected,
vExpected 
) [inline]

Definition at line 278 of file llsd_new_tut.cpp.

References LLSD::asString(), ensure_equals(), and LLSDTraits< T >::get().

Here is the call graph for this function:

void tut::ensure_approximately_equals ( F32  actual,
F32  expected,
U32  frac_bits 
) [inline]

Definition at line 67 of file lltut.h.

References ensure_approximately_equals(), and NULL.

Here is the call graph for this function:

void tut::ensure_approximately_equals ( const char *  msg,
F32  actual,
F32  expected,
U32  frac_bits 
) [inline]

Definition at line 57 of file lltut.h.

References is_approx_equal_fraction().

Here is the call graph for this function:

void tut::ensure_approximately_equals ( const char *  msg,
F64  actual,
F64  expected,
U32  frac_bits 
) [inline]

Definition at line 47 of file lltut.h.

References is_approx_equal_fraction().

Referenced by ensure_approximately_equals().

Here is the call graph for this function:

Here is the caller graph for this function:

void tut::ensure_contains ( const std::string &  msg,
const std::string &  actual,
const std::string &  expectedSubString 
)

Definition at line 178 of file lltut.cpp.

Referenced by tut::ErrorTestData::ensure_message_contains().

Here is the caller graph for this function:

void tut::ensure_does_not_contain ( const std::string &  msg,
const std::string &  actual,
const std::string &  expectedSubString 
)

Definition at line 190 of file lltut.cpp.

Referenced by tut::ErrorTestData::ensure_message_does_not_contain().

Here is the caller graph for this function:

void tut::ensure_ends_with ( const std::string &  msg,
const std::string &  actual,
const std::string &  expectedEnd 
)

Definition at line 164 of file lltut.cpp.

template<class T, class Q>
void tut::ensure_equals ( const std::string &  msg,
const Q &  actual,
const T &  expected 
) [inline]

Definition at line 107 of file lltut.h.

References ensure_equals().

Here is the call graph for this function:

template<>
void tut::ensure_equals ( const char *  m,
const LLSD actual,
const LLSD expected 
) [inline]

template<>
void tut::ensure_equals ( const char *  msg,
const std::vector< U8 > &  actual,
const std::vector< U8 > &  expected 
) [inline]

Definition at line 59 of file lltut.cpp.

References ensure_equals(), i, and j.

Here is the call graph for this function:

template<>
void tut::ensure_equals ( const char *  msg,
const LLURI actual,
const LLURI expected 
) [inline]

Definition at line 51 of file lltut.cpp.

References LLURI::asString(), and ensure_equals().

Here is the call graph for this function:

template<>
void tut::ensure_equals ( const char *  msg,
const LLDate actual,
const LLDate expected 
) [inline]

void tut::ensure_memory_matches ( const void *  actual,
U32  actual_len,
const void *  expected,
U32  expected_len 
) [inline]

Definition at line 83 of file lltut.h.

References ensure_memory_matches(), and NULL.

Here is the call graph for this function:

void tut::ensure_memory_matches ( const char *  msg,
const void *  actual,
U32  actual_len,
const void *  expected,
U32  expected_len 
) [inline]

Definition at line 72 of file lltut.h.

Referenced by ensure_memory_matches().

Here is the caller graph for this function:

template<class T, class Q>
void tut::ensure_not_equals ( const Q &  actual,
const T &  expected 
) [inline]

Definition at line 100 of file lltut.h.

References ensure_not_equals(), and NULL.

Here is the call graph for this function:

template<class T, class Q>
void tut::ensure_not_equals ( const char *  msg,
const Q &  actual,
const T &  expected 
) [inline]

Definition at line 89 of file lltut.h.

Referenced by ensure_not_equals().

Here is the caller graph for this function:

void tut::ensure_starts_with ( const std::string &  msg,
const std::string &  actual,
const std::string &  expectedStart 
)

Definition at line 152 of file lltut.cpp.

ErrorTestGroup tut::errorTestGroup ( "error"   ) 

static void tut::fillmap ( LLSD root,
U32  width,
U32  depth 
) [static]

Definition at line 242 of file llsdserialize_tut.cpp.

References LLSD::emptyMap(), i, and llformat().

Referenced by tut::TestLLSDSerializeData::doRoundTripTests().

Here is the call graph for this function:

Here is the caller graph for this function:

fitness_test_group tut::fitness ( "pipe and pump fitness"   ) 

tut::frametimer_group_t tut::frametimer_instance ( "frametimer"   ) 

TestLLSDBinaryParsingGroup tut::gTestLLSDBinaryParsingGroup ( "llsd binary parsing"   ) 

TestLLSDCompatibleGroup tut::gTestLLSDCompatibleGroup ( "llsd serialize compatible"   ) 

TestLLSDNotationParsingGroup tut::gTestLLSDNotationParsingGroup ( "llsd notation parsing"   ) 

TestLLSDSerialzeGroup tut::gTestLLSDSerializeGroup ( "llsd serialization"   ) 

TestLLSDXMLParsingGroup tut::gTestLLSDXMLParsingGroup ( "llsd XML parsing"   ) 

TestReflectionGroup tut::gTestReflectionGroup ( "reflection"   ) 

tut::host_test tut::host_testcase ( "llhost"   ) 

HTTPClientTestGroup tut::httpClientTestGroup ( "http_client"   ) 

tut::httpdate_test tut::httpdate ( "httpdate"   ) 

HTTPNodeTestGroup tut::httpNodeTestGroup ( "http node"   ) 

HTTPServiceTestGroup tut::httpServiceTestGroup ( "http service"   ) 

tut::inventory_test tut::inv ( "llinventory"   ) 

tut::llinventoryparcel_test tut::llinventoryparcel ( "llinventoryparcel"   ) 

LLMessageConfigTestGroup tut::llMessageConfigTestGroup ( "LLMessageConfig"   ) 

LLMessageTemplateParserTestGroup tut::llMessageTemplateParserTestGroup ( "LLMessageTemplateParser"   ) 

LLSDMessageBuilderTestGroup tut::llsdMessageBuilderTestGroup ( "LLSDMessageBuilder"   ) 

LLSDMessageReaderTestGroup tut::llsdMessageReaderTestGroup ( "LLSDMessageReader"   ) 

tut::llxfer_test tut::llxfer ( "llxfer"   ) 

tut::mem_test tut::mem_stream ( "memory_stream"   ) 

LLMessageSystemTestGroup tut::messageTestGroup ( "LLMessageSystem"   ) 

tut::mass_properties_group tut::mp_test_group ( "mass properties"   ) 

PumpAndChainTestGroup tut::pumpAndChainTestGroup ( "pump_and_chain"   ) 

tut::rpc_server_test tut::rpc ( "rpc_server"   ) 

tut::sd_test tut::sd ( "llsd"   ) 

tut::sd_xml_test tut::sd_xml_stream ( "sd_xml_serialization"   ) 

SDTestGroup tut::sdTestGroup ( "LLSD(new)"   ) 

ServiceBuilderTestGroup tut::serviceBuilderTestGroup ( "ServiceBuilder"   ) 

tut::streamtools_test tut::streamtools_testcase ( "streamtools"   ) 

tut::buffer_test tut::tba ( "buffer_array"   ) 

tut::bas_test tut::tbs ( "buffer_stream"   ) 

tut::crc_test tut::tc ( "crc"   ) 

Referenced by LLFastTimerView::draw(), LLFace::getGeometryVolume(), LLFace::renderSelectedUV(), and LLVOTree::updateGeometry().

Here is the caller graph for this function:

LLTemplateMessageBuilderTestGroup tut::templateMessageBuilderTestGroup ( "LLTemplateMessageBuilder"   ) 

template<typename T>
LLSDMessageReader tut::testType ( const T &  value  )  [inline]

Definition at line 138 of file llsdmessagereader_tut.cpp.

References LLSD::emptyMap(), and LLSDMessageReader::setMessage().

Here is the call graph for this function:

tut::heap_buffer_test tut::thb ( "heap_buffer"   ) 

tut::line_test tut::tline ( "LLLine"   ) 

Referenced by LLTextEditor::getLineAndOffset().

Here is the caller graph for this function:

tut::math_test tut::tm ( "basic_linden_math"   ) 

tut::sphere_test tut::tsphere ( "LLSphere"   ) 

tut::uuid_test tut::tu ( "uuid"   ) 

tut::application_t tut::tut_application ( "application"   ) 

tut::bit_pack_t tut::tut_bit_pack ( "bitpack"   ) 

tut::buffer_t tut::tut_buffer ( "buffer"   ) 

tut::cipher_t tut::tut_cipher ( "cipher"   ) 

control_group_test tut::tut_control_group ( "control_group"   ) 

tut::datapacker_test_t tut::tut_datapacker_test ( "datapacker_test"   ) 

tut::date_test_t tut::tut_date_test ( "date_test"   ) 

tut::hash_index_t tut::tut_hash_index ( "hashmap_test"   ) 

tut::llquat_test_t tut::tut_llquat_test ( "llquat"   ) 

tut::llsaleinfo_tut_t tut::tut_llsaleinfo_test ( "llsaleinfo"   ) 

tut::m3math_test_t tut::tut_m3math_test ( "m3math_test"   ) 

tut::mime_index_t tut::tut_mime_index ( "mime_index"   ) 

tut::mime_parse_t tut::tut_mime_parse ( "mime_parse"   ) 

tut::namevalue_t tut::tut_namevalue ( "namevalue_test"   ) 

tut::partdata_test_t tut::tut_partdata_test ( "partdata_test"   ) 

tut::permission_t tut::tut_permission ( "permission"   ) 

tut::random_t tut::tut_random ( "random"   ) 

tut::string_index_t tut::tut_string_index ( "string_test"   ) 

tut::user_relationship_t tut::tut_user_relationship ( "relationships"   ) 

tut::xform_test_t tut::tut_xform_test ( "xform_test"   ) 

tut::llsdutil_test tut::tutil ( "llsdutil"   ) 

tut::U64_test tut::U64_testcase ( "U64_conversion"   ) 

URITestGroup tut::uriTestGroup ( "LLURI"   ) 

tut::v2math_test tut::v2math_testcase ( "v2math"   ) 

tut::v3color_test tut::v3color_testcase ( "v3color"   ) 

tut::v3dmath_test tut::v3dmath_testcase ( "v3dmath"   ) 

tut::v3math_test tut::v3math_testcase ( "v3math"   ) 

tut::v4color_test tut::v4color_testcase ( "v4color"   ) 

tut::v4coloru_test tut::v4coloru_testcase ( "v4coloru"   ) 

tut::v4math_test tut::v4math_testcase ( "v4math"   ) 

tut::linkable_test tut::wtf ( "prim linkability"   ) 


Variable Documentation

Definition at line 622 of file math.cpp.

Definition at line 447 of file math.cpp.

Definition at line 446 of file math.cpp.

test_runner_singleton tut::runner

Definition at line 59 of file test.cpp.

Referenced by lsa_cat_lists(), lsa_postadd_lists(), lsa_preadd_lists(), main(), and stream_groups().

Definition at line 445 of file math.cpp.

Definition at line 56 of file llhttpclient_tut.cpp.

Referenced by tut::LLSDStorageNode::get(), and tut::LLSDStorageNode::put().


Generated on Fri May 16 09:42:54 2008 for SecondLife by  doxygen 1.5.5