From 70aaa3e444cf9cb067addcbdde237762bd62fcf4 Mon Sep 17 00:00:00 2001 From: Don Kjer Date: Fri, 4 May 2007 21:57:06 +0000 Subject: svn merge -r 61148:61343 svn+ssh://svn/svn/linden/branches/maintenance into release --- indra/test/llhttpclient_tut.cpp | 7 +++++++ indra/test/lltut.cpp | 12 ++++++++++++ 2 files changed, 19 insertions(+) (limited to 'indra/test') 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 #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& actual, const std::vector& 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; -- cgit v1.2.3