diff options
author | Don Kjer <don@lindenlab.com> | 2007-05-04 21:57:06 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2007-05-04 21:57:06 +0000 |
commit | 70aaa3e444cf9cb067addcbdde237762bd62fcf4 (patch) | |
tree | 4013659d2335c4681b8c93ea795cf8ccb8aa55cd /indra/test | |
parent | 08d746156b56d8b72919af8cbca25609c855ef82 (diff) |
svn merge -r 61148:61343 svn+ssh://svn/svn/linden/branches/maintenance into release
Diffstat (limited to 'indra/test')
-rw-r--r-- | indra/test/llhttpclient_tut.cpp | 7 | ||||
-rw-r--r-- | indra/test/lltut.cpp | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/indra/test/llhttpclient_tut.cpp b/indra/test/llhttpclient_tut.cpp index 17bad4bc14..25626719ac 100644 --- a/indra/test/llhttpclient_tut.cpp +++ b/indra/test/llhttpclient_tut.cpp @@ -14,6 +14,10 @@ #include <tut/tut.h> #include "linden_common.h" + +// These are too slow on Windows to actually include in the build. JC +#if !LL_WINDOWS + #include "lltut.h" #include "llhttpclient.h" #include "llformat.h" @@ -313,4 +317,7 @@ namespace tut LLSD body = result["body"]; ensure_equals("echoed result matches", body.size(), expected.size()); } + } + +#endif // !LL_WINDOWS diff --git a/indra/test/lltut.cpp b/indra/test/lltut.cpp index 5a6ccabec2..0e9a886bb8 100644 --- a/indra/test/lltut.cpp +++ b/indra/test/lltut.cpp @@ -20,6 +20,8 @@ namespace tut void ensure_equals(const char* msg, const LLDate& actual, const LLDate& expected) { + std::cout << "ensure_equals " << msg << std::endl; + ensure_equals(msg, actual.secondsSinceEpoch(), expected.secondsSinceEpoch()); } @@ -28,6 +30,8 @@ namespace tut void ensure_equals(const char* msg, const LLURI& actual, const LLURI& expected) { + std::cout << "ensure_equals " << msg << std::endl; + ensure_equals(msg, actual.asString(), expected.asString()); } @@ -36,6 +40,8 @@ namespace tut void ensure_equals(const char* msg, const std::vector<U8>& actual, const std::vector<U8>& expected) { + std::cout << "ensure_equals " << msg << std::endl; + std::string s(msg); ensure_equals(s + " size", actual.size(), expected.size()); @@ -54,6 +60,8 @@ namespace tut void ensure_equals(const char* m, const LLSD& actual, const LLSD& expected) { + std::cout << "ensure_equals " << m << std::endl; + const std::string& msg = m; ensure_equals(msg + " type", actual.type(), expected.type()); @@ -129,6 +137,7 @@ namespace tut void ensure_starts_with(const std::string& msg, const std::string& actual, const std::string& expectedStart) { + std::cout << "ensure_starts_with " << msg << std::endl; if( actual.find(expectedStart, 0) != 0 ) { std::stringstream ss; @@ -141,6 +150,7 @@ namespace tut void ensure_ends_with(const std::string& msg, const std::string& actual, const std::string& expectedEnd) { + std::cout << "ensure_ends_with " << msg << std::endl; if( actual.size() < expectedEnd.size() || actual.rfind(expectedEnd) != (actual.size() - expectedEnd.size()) ) @@ -155,6 +165,7 @@ namespace tut void ensure_contains(const std::string& msg, const std::string& actual, const std::string& expectedSubString) { + std::cout << "ensure_contains " << msg << std::endl; if( actual.find(expectedSubString, 0) == std::string::npos ) { std::stringstream ss; @@ -167,6 +178,7 @@ namespace tut void ensure_does_not_contain(const std::string& msg, const std::string& actual, const std::string& expectedSubString) { + std::cout << "ensure_does_not_contain " << msg << std::endl; if( actual.find(expectedSubString, 0) != std::string::npos ) { std::stringstream ss; |