summaryrefslogtreecommitdiff
path: root/indra/llimage/tests
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-12-17 11:30:52 -0800
committerMerov Linden <merov@lindenlab.com>2010-12-17 11:30:52 -0800
commit922f4e59ab2ab58192f9e8832b14fe7a63ee8fd8 (patch)
tree3033da4b74179b0c20efd42f0dc157ddd2f58e79 /indra/llimage/tests
parent71fa0894981bacd26ed07b8a8ab542dcaf2e7ae2 (diff)
STORM-744 : Turn llimage/tests/ on again
Diffstat (limited to 'indra/llimage/tests')
-rw-r--r--indra/llimage/tests/llimageworker_test.cpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/indra/llimage/tests/llimageworker_test.cpp b/indra/llimage/tests/llimageworker_test.cpp
index a109276709..08476fb72c 100644
--- a/indra/llimage/tests/llimageworker_test.cpp
+++ b/indra/llimage/tests/llimageworker_test.cpp
@@ -26,10 +26,8 @@
*/
// Precompiled header: almost always required for newview cpp files
-#include <list>
-#include <map>
-#include <algorithm>
-// Class to test
+#include "linden_common.h"
+// Class to test
#include "../llimageworker.h"
// For timer class
#include "../llcommon/lltimer.h"
@@ -44,7 +42,17 @@
// * Do not make any assumption as to how those classes or methods work (i.e. don't copy/paste code)
// * A simulator for a class can be implemented here. Please comment and document thoroughly.
-LLImageBase::LLImageBase() {}
+LLImageBase::LLImageBase()
+: mData(NULL),
+mDataSize(0),
+mWidth(0),
+mHeight(0),
+mComponents(0),
+mBadBufferAllocation(false),
+mAllowOverSize(false),
+mMemType(LLMemType::MTYPE_IMAGEBASE)
+{
+}
LLImageBase::~LLImageBase() {}
void LLImageBase::dump() { }
void LLImageBase::sanityCheck() { }