uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomm3g/inc/bctestdomm3gcase.h
changeset 21 558113899881
parent 14 3320e4e6e8bb
child 22 75713bee6484
child 33 b3425bf29f82
equal deleted inserted replaced
14:3320e4e6e8bb 21:558113899881
     1 /*
       
     2 * Copyright (c) 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:  Define test case
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CBCTESTDOMM3GCASE_H
       
    20 #define C_CBCTESTDOMM3GCASE_H
       
    21 
       
    22 #include "bctestcase.h"
       
    23 
       
    24 class CBCTestDomM3gContainer;
       
    25 class CCoeControl;
       
    26 
       
    27 /**
       
    28 * test case for various list classes
       
    29 */
       
    30 class CBCTestDomM3gCase: public CBCTestCase
       
    31     {
       
    32 public: // constructor and destructor
       
    33     
       
    34     /**
       
    35     * Symbian 2nd static constructor
       
    36     */
       
    37     static CBCTestDomM3gCase* NewL( CBCTestDomM3gContainer* aContainer );
       
    38     
       
    39     /**
       
    40     * Destructor
       
    41     */
       
    42     virtual ~CBCTestDomM3gCase();
       
    43     
       
    44 // from CBCTestCase
       
    45     
       
    46     /**
       
    47     * Execute corresponding test functions for UI command
       
    48     * @param aCmd, UI command
       
    49     */
       
    50     void RunL( TInt aCmd );
       
    51 
       
    52 protected: // new functions
       
    53     
       
    54     /**
       
    55     * Build autotest script
       
    56     */
       
    57     void BuildScriptL();
       
    58     
       
    59     /*
       
    60      * Test CM3gLoader API(s).
       
    61      */
       
    62     void TestCM3gLoaderL();
       
    63 
       
    64     /*
       
    65      * Test CM3GRenderingContext API(s).
       
    66      */    
       
    67     void TestCM3GRenderingContextL();
       
    68     
       
    69     /*
       
    70      * Test RM3gObject API(s).
       
    71      */
       
    72     void TestRM3gObjectL(); 
       
    73     
       
    74     /*
       
    75      * Test RM3GBackground API(s).
       
    76      */    
       
    77     void TestRM3GBackgroundL(); 
       
    78 
       
    79     /*
       
    80      * Test RM3GAppearance API(s).
       
    81      */     
       
    82     void TestRM3GAppearanceL();  
       
    83 
       
    84     /*
       
    85      * Test RM3GCompositingMode API(s).
       
    86      */    
       
    87     void TestRM3GCompositingModeL(); 
       
    88     
       
    89     /*
       
    90      * Test RM3GFog API(s).
       
    91      */
       
    92     void TestRM3GFogL();
       
    93 
       
    94     /*
       
    95      * Test RM3GMaterial API(s).
       
    96      */    
       
    97     void TestRM3GMaterialL();
       
    98     
       
    99     /*
       
   100      * Test RM3GPolygonMode API(s).
       
   101      */ 
       
   102     void TestRM3GPolygonModeL();
       
   103 
       
   104     /*
       
   105      * Test RM3GTexture API(s).
       
   106      */     
       
   107     void TestRM3GTextureL();
       
   108 
       
   109     /*
       
   110      * Test RM3GKeyframeSequence API(s).
       
   111      */     
       
   112     void TestRM3GKeyframeSequenceL();
       
   113 
       
   114     /*
       
   115      * Test RM3GVertexBuffer API(s).
       
   116      */     
       
   117     void TestRM3GVertexBufferL();
       
   118 
       
   119     /*
       
   120      * Test RM3GVertexArray API(s).
       
   121      */   
       
   122     void TestRM3GVertexArrayL();
       
   123     
       
   124     /*
       
   125      * Test RM3GTriangleStripArray API(s).
       
   126      */     
       
   127     void TestRM3GTriangleStripArrayL();
       
   128     
       
   129     /*
       
   130      * Test RM3GIndexBuffer API(s).
       
   131      */ 
       
   132     void TestRM3GIndexBufferL();
       
   133 
       
   134     /*
       
   135      * Test RM3GAnimationController API(s).
       
   136      */     
       
   137     void TestRM3GAnimationControllerL();    
       
   138 
       
   139     /*
       
   140      * Test RM3GImage API(s).
       
   141      */      
       
   142     void TestRM3GImageL();
       
   143         
       
   144 private: // constructor
       
   145     
       
   146     /**
       
   147      * C++ default constructor
       
   148      */
       
   149     CBCTestDomM3gCase( CBCTestDomM3gContainer* aContainer );
       
   150     
       
   151     /**
       
   152      * Symbian 2nd constructor
       
   153      */
       
   154     void ConstructL();
       
   155     
       
   156 private: // data
       
   157     
       
   158     /**
       
   159      * Pointer to container.
       
   160      * not own
       
   161      */
       
   162     CBCTestDomM3gContainer* iContainer;
       
   163     
       
   164     };
       
   165 
       
   166 #endif //C_CBCTESTDOMM3GCASE_H