diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-10-19 13:47:15 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-10-19 13:47:15 -0700 |
commit | 42e397e155239932a75fa694dc77d9dd952e3c09 (patch) | |
tree | 1d3cb00d99a585879facf6dce5b7133dbd8ad6da /indra/newview/tests | |
parent | a63b83775120f7ebe3bafb897da70e4e41bda6a4 (diff) | |
parent | c683151587067cb2758206432610d4ff4884036e (diff) |
Merged from 2.3.0-beta1 tag in viewer-development
Diffstat (limited to 'indra/newview/tests')
-rw-r--r-- | indra/newview/tests/lldateutil_test.cpp | 10 | ||||
-rw-r--r-- | indra/newview/tests/lllogininstance_test.cpp | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/indra/newview/tests/lldateutil_test.cpp b/indra/newview/tests/lldateutil_test.cpp index 99b346cff8..47353962e1 100644 --- a/indra/newview/tests/lldateutil_test.cpp +++ b/indra/newview/tests/lldateutil_test.cpp @@ -183,4 +183,14 @@ namespace tut LLDateUtil::ageFromDate("12/13/2009", now), "3 weeks old" ); } + + //template<> template<> + //void dateutil_object_t::test<6>() + //{ + // set_test_name("ISO dates"); + // LLDate now(std::string("2010-01-04T12:00:00Z")); + // ensure_equals("days", + // LLDateUtil::ageFromDateISO("2009-12-13", now), + // "3 weeks old" ); + //} } diff --git a/indra/newview/tests/lllogininstance_test.cpp b/indra/newview/tests/lllogininstance_test.cpp index 55823fc386..db50b89620 100644 --- a/indra/newview/tests/lllogininstance_test.cpp +++ b/indra/newview/tests/lllogininstance_test.cpp @@ -62,6 +62,12 @@ LLSLURL LLStartUp::sStartSLURL; static std::string gLoginURI; static LLSD gLoginCreds; static bool gDisconnectCalled = false; + +#include "../llviewerwindow.h" +void LLViewerWindow::setShowProgress(BOOL show) {} + +LLViewerWindow* gViewerWindow; + class LLLogin::Impl { }; @@ -107,6 +113,8 @@ void LLGridManager::addGrid(LLSD& grid_data) { } LLGridManager::LLGridManager() +: + mIsInProductionGrid(false) { } |