diff -r 512f698a535d -r 484cb5040995 classicui_plat/common_file_dialogs_filter_factory_api/tsrc/src/testdomcfdfilterfactoryblocks.cpp --- a/classicui_plat/common_file_dialogs_filter_factory_api/tsrc/src/testdomcfdfilterfactoryblocks.cpp Mon Jun 21 22:36:19 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +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: for testing the cfd filer factory module -* -*/ - - - -// [INCLUDE FILES] -#include -#include -#include -#include -#include -#include -#include - -#include "testdomcfdfilterfactory.h" - - -// ============================ MEMBER FUNCTIONS =============================== - -// ----------------------------------------------------------------------------- -// Ctestdomcfdfilterfactory::RunMethodL -// Run specified method. Contains also table of test mothods and their names. -// ----------------------------------------------------------------------------- -// -TInt CTestDOMCFDFilterFactory::RunMethodL( CStifItemParser& aItem ) - { - - static TStifFunctionInfo const KFunctions[] = - { - // First string is the function name used in TestScripter script file. - // Second is the actual implementation member function. - ENTRY( "TestFFFCreateAttributeFilterLC", - CTestDOMCFDFilterFactory::TestFFFCreateAttributeFilterLC ), - ENTRY( "TestFFFCreateFilenameFilterLC", - CTestDOMCFDFilterFactory::TestFFFCreateFilenameFilterLC ), - - // [test cases entries] - - }; - - const TInt count = sizeof( KFunctions ) / sizeof( TStifFunctionInfo ); - - return RunInternalL( KFunctions, count, aItem ); - - } - -// ----------------------------------------------------------------------------- -// CTestDOMCFDFilterFactory::TestFFFCreateAttributeFilterLC -// ----------------------------------------------------------------------------- -// -TInt CTestDOMCFDFilterFactory::TestFFFCreateAttributeFilterLC( CStifItemParser& /*aItem*/ ) - { - - // Print to UI - _LIT( Ktestdomcfdfilterfactory, "testdomcfdfilterfactory" ); - _LIT( KTestFFFCreateAttributeFilterLC, "In TestFFFCreateAttributeFilterLC" ); - TestModuleIf().Printf( 0, Ktestdomcfdfilterfactory, KTestFFFCreateAttributeFilterLC ); - // Print to log file - iLog->Log( KTestFFFCreateAttributeFilterLC ); - - return KErrNone; - } - -// ----------------------------------------------------------------------------- -// CTestDOMCFDFilterFactory::TestFFFCreateFilenameFilterLC -// ----------------------------------------------------------------------------- -// -TInt CTestDOMCFDFilterFactory::TestFFFCreateFilenameFilterLC( CStifItemParser& /*aItem*/ ) - { - - // Print to UI - _LIT( Ktestdomcfdfilterfactory, "testdomcfdfilterfactory" ); - _LIT( KTestFFFCreateFilenameFilterLC, "In TestFFFCreateFilenameFilterLC" ); - TestModuleIf().Printf( 0, Ktestdomcfdfilterfactory, KTestFFFCreateFilenameFilterLC ); - // Print to log file - iLog->Log( KTestFFFCreateFilenameFilterLC ); - - return KErrNone; - } - -// [End of File] -