uifw/AvKon/tsrc/bc/bctestutil/inc/bctestendcase.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:  Test utility, an interface of BCTest framework.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CBCTESTENDCASE_H
       
    20 #define C_CBCTESTENDCASE_H
       
    21 
       
    22 #include "bctestcase.h"
       
    23 
       
    24 /**
       
    25  * End case class, suite will add the case to the end of case array, with the
       
    26  * case, test application will automatically exit.
       
    27  */
       
    28 class CBCTestEndCase: public CBCTestCase
       
    29     {
       
    30 public: 
       
    31 
       
    32 // constructor and destructor
       
    33     
       
    34     /**
       
    35      * Symbian 2nd phase constructor
       
    36      */
       
    37     static CBCTestEndCase* NewL();
       
    38     
       
    39     /**
       
    40      * Destructor
       
    41      */
       
    42     virtual ~CBCTestEndCase();
       
    43     
       
    44 // new functions
       
    45     
       
    46     /**
       
    47      * Build automatic test script.
       
    48      */
       
    49     void BuildScriptL();
       
    50     
       
    51 private: 
       
    52 
       
    53 // constructor
       
    54     
       
    55     /**
       
    56      * C++ default constructor
       
    57      */    
       
    58     CBCTestEndCase();
       
    59     
       
    60     /**
       
    61      * Symbian 2nd phase constructor
       
    62      */
       
    63     void ConstructL();
       
    64         
       
    65     };
       
    66     
       
    67 #endif // C_CBCTESTENDCASE_H