diff options
| author | Dave Parks <davep@lindenlab.com> | 2012-06-28 13:50:35 -0500 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2012-06-28 13:50:35 -0500 | 
| commit | db5d1b851a0d808dc1e8b0896fad734c2c54a03f (patch) | |
| tree | ebe50ddb5e1aa700d54f50bbc1ab4b435462b85e /indra/llui/tests | |
| parent | 1d8f117069945499ac297ef13eb6a916a2b96d72 (diff) | |
| parent | ed72fd0ae98671f1cfce3c975b93e1f760fc40f0 (diff) | |
merge
Diffstat (limited to 'indra/llui/tests')
| -rw-r--r-- | indra/llui/tests/llurlentry_stub.cpp | 22 | ||||
| -rw-r--r-- | indra/llui/tests/llurlentry_test.cpp | 15 | ||||
| -rw-r--r-- | indra/llui/tests/llurlmatch_test.cpp | 34 | 
3 files changed, 0 insertions, 71 deletions
diff --git a/indra/llui/tests/llurlentry_stub.cpp b/indra/llui/tests/llurlentry_stub.cpp index c75df86891..cb3b7abb14 100644 --- a/indra/llui/tests/llurlentry_stub.cpp +++ b/indra/llui/tests/llurlentry_stub.cpp @@ -105,28 +105,6 @@ LLStyle::Params::Params()  namespace LLInitParam  { -	Param::Param(BaseBlock* enclosing_block) -	:	mIsProvided(false) -	{ -		const U8* my_addr = reinterpret_cast<const U8*>(this); -		const U8* block_addr = reinterpret_cast<const U8*>(enclosing_block); -		mEnclosingBlockOffset = (U16)(my_addr - block_addr); -	} - -	void BaseBlock::addParam(BlockDescriptor& block_data, const ParamDescriptorPtr in_param, const char* char_name){} -	void BaseBlock::addSynonym(Param& param, const std::string& synonym) {} -	param_handle_t BaseBlock::getHandleFromParam(const Param* param) const {return 0;} -	 -	void BaseBlock::init(BlockDescriptor& descriptor, BlockDescriptor& base_descriptor, size_t block_size) -	{ -		descriptor.mCurrentBlockPtr = this; -	} -	bool BaseBlock::deserializeBlock(Parser& p, Parser::name_stack_range_t name_stack, bool new_name){ return true; } -	void BaseBlock::serializeBlock(Parser& parser, Parser::name_stack_t& name_stack, const LLInitParam::BaseBlock* diff_block) const {} -	bool BaseBlock::inspectBlock(Parser& parser, Parser::name_stack_t name_stack, S32 min_value, S32 max_value) const { return true; } -	bool BaseBlock::mergeBlock(BlockDescriptor& block_data, const BaseBlock& other, bool overwrite) { return true; } -	bool BaseBlock::validateBlock(bool emit_errors) const { return true; } -  	ParamValue<LLUIColor, TypeValues<LLUIColor> >::ParamValue(const LLUIColor& color)  	:	super_t(color)  	{} diff --git a/indra/llui/tests/llurlentry_test.cpp b/indra/llui/tests/llurlentry_test.cpp index c1fb050206..8f0a48018f 100644 --- a/indra/llui/tests/llurlentry_test.cpp +++ b/indra/llui/tests/llurlentry_test.cpp @@ -70,21 +70,6 @@ S32 LLUIImage::getHeight() const  	return 0;  } -namespace LLInitParam -{ -	BlockDescriptor::BlockDescriptor() {} -	ParamDescriptor::ParamDescriptor(param_handle_t p,  -						merge_func_t merge_func,  -						deserialize_func_t deserialize_func,  -						serialize_func_t serialize_func, -						validation_func_t validation_func, -						inspect_func_t inspect_func, -						S32 min_count, -						S32 max_count){} -	ParamDescriptor::~ParamDescriptor() {} - -} -  namespace tut  {  	struct LLUrlEntryData diff --git a/indra/llui/tests/llurlmatch_test.cpp b/indra/llui/tests/llurlmatch_test.cpp index 7183413463..963473c92a 100644 --- a/indra/llui/tests/llurlmatch_test.cpp +++ b/indra/llui/tests/llurlmatch_test.cpp @@ -63,40 +63,6 @@ S32 LLUIImage::getHeight() const  namespace LLInitParam  { -	BlockDescriptor::BlockDescriptor() {} -	ParamDescriptor::ParamDescriptor(param_handle_t p,  -						merge_func_t merge_func,  -						deserialize_func_t deserialize_func,  -						serialize_func_t serialize_func, -						validation_func_t validation_func, -						inspect_func_t inspect_func, -						S32 min_count, -						S32 max_count){} -	ParamDescriptor::~ParamDescriptor() {} - -	void BaseBlock::addParam(BlockDescriptor& block_data, const ParamDescriptorPtr in_param, const char* char_name){} -	param_handle_t BaseBlock::getHandleFromParam(const Param* param) const {return 0;} -	void BaseBlock::addSynonym(Param& param, const std::string& synonym) {} - -	void BaseBlock::init(BlockDescriptor& descriptor, BlockDescriptor& base_descriptor, size_t block_size) -	{ -		descriptor.mCurrentBlockPtr = this; -	} - -	Param::Param(BaseBlock* enclosing_block) -	:	mIsProvided(false) -	{ -		const U8* my_addr = reinterpret_cast<const U8*>(this); -		const U8* block_addr = reinterpret_cast<const U8*>(enclosing_block); -		mEnclosingBlockOffset = 0x7FFFffff & ((U32)(my_addr - block_addr)); -	} - -	bool BaseBlock::deserializeBlock(Parser& p, Parser::name_stack_range_t name_stack, bool new_name){ return true; } -	void BaseBlock::serializeBlock(Parser& parser, Parser::name_stack_t& name_stack, const LLInitParam::BaseBlock* diff_block) const {} -	bool BaseBlock::inspectBlock(Parser& parser, Parser::name_stack_t name_stack, S32 min_count, S32 max_count) const { return true; } -	bool BaseBlock::mergeBlock(BlockDescriptor& block_data, const BaseBlock& other, bool overwrite) { return true; } -	bool BaseBlock::validateBlock(bool emit_errors) const { return true; } -  	ParamValue<LLUIColor, TypeValues<LLUIColor> >::ParamValue(const LLUIColor& color)  	:	super_t(color)  	{}  | 
