diff -r 34024902876b -r 50d5061ee01e camerasrv_plat/asynchronous_file_saving_queue_api/tsrc/inc/TestFramework/test.h --- a/camerasrv_plat/asynchronous_file_saving_queue_api/tsrc/inc/TestFramework/test.h Fri Mar 19 09:33:47 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -/* -* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* 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". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: FSQ Test DLL -* -*/ - - - -#ifndef __CPPUNIT_MTEST_H -#define __CPPUNIT_MTEST_H - -#include -#include -class CCppUnitLog; - - -// A MTest can be run and collect its results. See CTestResult. -// -class MTest - { -public: - - virtual ~MTest() { } - - virtual void ExecuteL (TTestResult& aResult) = 0; - - virtual TInt CountTestCases () = 0; - - virtual const TDesC8& Name () = 0; - - // Same functions with an Index. - virtual void ExecuteTestL(TTestResult& aResult, - TInt aIndex) = 0; - - virtual const TDesC8& TestCaseName (TInt aIndex) = 0; - }; - -// All the polymorphic DLLs containing tests should use the following UID: -// -const TInt KCppUnitTestDllUidValue=0x101F5380; -const TUid KCppUnitTestDllUid={KCppUnitTestDllUidValue}; - -#endif -