diff -r aa99f2208aad -r b8d18c84f71c localisation/apparchitecture/tef/T_Serv3Step.cpp --- a/localisation/apparchitecture/tef/T_Serv3Step.cpp Wed Jul 28 16:03:37 2010 +0100 +++ b/localisation/apparchitecture/tef/T_Serv3Step.cpp Tue Aug 03 10:20:34 2010 +0100 @@ -1,7 +1,7 @@ // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available -// under the terms of the License "Eclipse Public License v1.0" +// under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available // at the URL "http://www.eclipse.org/legal/epl-v10.html". // @@ -15,23 +15,25 @@ // Tests Application information, Data recognition and application // launching capabilities of the application architecture server.\n // +// t_serv3step.cpp // - - /** - @file + @file t_serv3step.cpp @internalComponent - Internal Symbian test code */ #include #include #include +#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS +#include +#include +#endif //SYMBIAN_ENABLE_SPLIT_HEADERS #include #include #include "testableapalssession.h" #include -#include #include #include #include @@ -81,10 +83,6 @@ { // Call base class method to set up the human readable name for logging SetTestStepName(KT_Serv3Step); - - //Set up active scheduler - iActiveScheduler= new(ELeave) CActiveScheduler; - CActiveScheduler::Install(iActiveScheduler); } /** @@ -1801,7 +1799,6 @@ //DONT_CHECK Skips the heap check at server side. This heap imbalance occurs randomly in server side // while canceling the outstanding async request. HEAP_TEST_LS_SESSION(ls, 0, DONT_CHECK, DoAsyncFolderRecognizerTest14L(ls), ls.FlushRecognitionCache() ); - CleanupStack::PopAndDestroy(&ls); // close the server session and we have done some type store reloading @@ -1896,6 +1893,10 @@ * @return - TVerdict code */ { + //Set up active scheduler + iActiveScheduler= new(ELeave) CActiveScheduler; + CActiveScheduler::Install(iActiveScheduler); + FbsStartup(); TInt ret = RFbsSession::Connect(); TEST(ret==KErrNone); @@ -1947,3 +1948,4 @@ //Stop AS CActiveScheduler::Stop(); } +