diff -r c1f20ce4abcf -r 3e88ff8f41d5 kerneltest/e32test/usbho/t_otgdi/src/testcasecontroller.cpp --- a/kerneltest/e32test/usbho/t_otgdi/src/testcasecontroller.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/kerneltest/e32test/usbho/t_otgdi/src/testcasecontroller.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-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" @@ -29,10 +29,6 @@ #include "testcaseroot.h" #include "testcasecontroller.h" #include "testengine.h" -#include "OstTraceDefinitions.h" -#ifdef OST_TRACE_COMPILER_IN_USE -#include "testcasecontrollerTraces.h" -#endif @@ -97,12 +93,10 @@ if (err != KErrNone) { test.Printf(_L(" Test case %lS failed\n"),&iTestCaseId); - OstTraceExt1(TRACE_NORMAL, CTESTCASECONTROLLER_RUNL, " Test case %lS failed\n",iTestCaseId); } else { test.Printf(_L("Test case %lS passed\n"),&iTestCaseId); - OstTraceExt1(TRACE_NORMAL, CTESTCASECONTROLLER_RUNL_DUP01, "Test case %lS passed\n",iTestCaseId); } // Find next test to run @@ -110,9 +104,7 @@ if (err == KErrNone) { test.Printf(_L("\n")); // ensures blank line between tests - OstTrace0(TRACE_NORMAL, CTESTCASECONTROLLER_RUNL_DUP02, "\n"); // ensures blank line between tests test.Printf(_L("\n")); - OstTrace0(TRACE_NORMAL, CTESTCASECONTROLLER_RUNL_DUP03, "\n"); test.Next(iTestCaseId); // run the next test here @@ -121,12 +113,12 @@ } else if (err == KErrNotFound) { - OstTrace0(TRACE_NORMAL, CTESTCASECONTROLLER_RUNL_DUP04, "All specified test cases performed"); + RDebug::Printf("All specified test cases performed"); CActiveScheduler::Stop(); } else { - OstTrace1(TRACE_NORMAL, CTESTCASECONTROLLER_RUNL_DUP05, " Unknown error from CTestEngine::NextTestCaseId",err); + RDebug::Printf(" Unknown error from CTestEngine::NextTestCaseId",err); User::Leave(err); } } @@ -134,10 +126,7 @@ TInt CTestCaseController::RunError(TInt aError) { - if(gVerboseOutput) - { - OstTraceFunctionEntry0(CTESTCASECONTROLLER_RUNERROR); - } + LOG_FUNC switch (aError) { case KErrNoMemory: