From 9f75ae5e327c2802a901b1afd6ce3deb77212181 Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Thu, 9 Sep 2010 16:51:20 -0700 Subject: fixed link seam in login unit test --- indra/newview/tests/lllogininstance_test.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra/newview/tests') diff --git a/indra/newview/tests/lllogininstance_test.cpp b/indra/newview/tests/lllogininstance_test.cpp index a0697af6c3..ed6c2e4cbc 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 { }; -- cgit v1.2.3 From 24a7ac8dd6438a1648feda1fa34dc4482d0c8d2d Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 22 Sep 2010 13:46:50 +0100 Subject: CID-505 Checker: UNINIT_CTOR Function: LLGridManager::LLGridManager() File: /indra/newview/tests/lllogininstance_test.cpp --- indra/newview/tests/lllogininstance_test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/tests') diff --git a/indra/newview/tests/lllogininstance_test.cpp b/indra/newview/tests/lllogininstance_test.cpp index 55823fc386..b750d5d816 100644 --- a/indra/newview/tests/lllogininstance_test.cpp +++ b/indra/newview/tests/lllogininstance_test.cpp @@ -100,6 +100,8 @@ void LLCredential::authenticatorType(std::string &idType) //----------------------------------------------------------------------------- #include "../llviewernetwork.h" LLGridManager::~LLGridManager() +: + mIsInProductionGrid(false) { } -- cgit v1.2.3 From 1200c4aabfed19fb4e8e330041bb1f3694ee7aab Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 22 Sep 2010 13:49:04 +0100 Subject: doh, fix this in the RIGHT place. --- indra/newview/tests/lllogininstance_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/tests') diff --git a/indra/newview/tests/lllogininstance_test.cpp b/indra/newview/tests/lllogininstance_test.cpp index b750d5d816..712f9a197e 100644 --- a/indra/newview/tests/lllogininstance_test.cpp +++ b/indra/newview/tests/lllogininstance_test.cpp @@ -100,8 +100,6 @@ void LLCredential::authenticatorType(std::string &idType) //----------------------------------------------------------------------------- #include "../llviewernetwork.h" LLGridManager::~LLGridManager() -: - mIsInProductionGrid(false) { } @@ -109,6 +107,8 @@ void LLGridManager::addGrid(LLSD& grid_data) { } LLGridManager::LLGridManager() +: + mIsInProductionGrid(false) { } -- cgit v1.2.3