camerasrv_plat/camera_application_engine_api/tsrc/src/CaeTestTop.cpp
branchRCL_3
changeset 34 27fe719c32e6
parent 0 9b3e960ffc8a
equal deleted inserted replaced
33:e3cdd00b5ae3 34:27fe719c32e6
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: CaeTestTop.cpp
       
    15 *
       
    16 */
       
    17 #include "CaeTestTop.h"
       
    18 #include "CaeTestRelease.h"
       
    19 #include "CaeTestStillSettings.h"
       
    20 #include "CaeTestStillStates.h"
       
    21 #include "CaeTestVideoStates.h"
       
    22 #include "CaeTestVideoSettings.h"
       
    23 
       
    24 #include <e32des8.h>
       
    25 
       
    26 
       
    27 // Starting point of the DLL (Always needed) 
       
    28 #ifndef EKA2
       
    29 GLDEF_C TInt E32Dll( TDllReason )
       
    30     {
       
    31     return( KErrNone );
       
    32     }
       
    33 #endif
       
    34 
       
    35 // Exactly one exported function returning the suite of 
       
    36 // test functions for the test runner in the framework.
       
    37 // (Always needed)
       
    38 //
       
    39 
       
    40 
       
    41 EXPORT_C MTest* CreateTopFct()
       
    42     {
       
    43 	return ( CCaeTestTop::suiteL() );
       
    44     }
       
    45 
       
    46 
       
    47 CCaeTestTop::~CCaeTestTop()
       
    48     {
       
    49     }
       
    50 
       
    51 
       
    52 MTest* CCaeTestTop::suiteL()
       
    53     {
       
    54 	CTestSuite *suite = CTestSuite::NewL( _L8( "Camera Application Engine Test Suite Container" ) );
       
    55     
       
    56     suite->addTestL( CCaeTestRelease::suiteL() );
       
    57     
       
    58     //suite->addTestL( CCaeTestStillStates::suiteL() );
       
    59     //suite->addTestL( CCaeTestVideoStates::suiteL() );
       
    60     
       
    61   	//suite->addTestL( CCaeTestStillSettings::suiteL() );
       
    62     //suite->addTestL( CCaeTestVideoSettings::suiteL() );
       
    63     
       
    64     return suite;	
       
    65     }
       
    66 
       
    67