camcordermmfplugin/tsrc/public/basic/src/camcTest_1.cpp
changeset 42 605672cc2a86
parent 0 9b3e960ffc8a
equal deleted inserted replaced
39:e80a5e3e883f 42:605672cc2a86
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include "CamcTest_1.h"
    21 #include "camcTest_1.h"
    22 #include <bldvariant.hrh>
    22 #include <bldvariant.hrh>
    23 
    23 
    24 
    24 
    25 // EXTERNAL DATA STRUCTURES
    25 // EXTERNAL DATA STRUCTURES
    26 
    26 
   843 
   843 
   844 MTest* CCamcTest_1::suiteL ()
   844 MTest* CCamcTest_1::suiteL ()
   845     {
   845     {
   846     // Always use NewL (Do not use NewLC) !!!
   846     // Always use NewL (Do not use NewLC) !!!
   847     CTestSuite *suite = CTestSuite::NewL(_L8("CCamcTest_1"));
   847     CTestSuite *suite = CTestSuite::NewL(_L8("CCamcTest_1"));
       
   848     CleanupStack::PushL( suite );
   848 
   849 
   849     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENFILEL_001"), &OpenFileL_001_L));
   850     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENFILEL_001"), &OpenFileL_001_L));
   850     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENFILEL_002"), &OpenFileL_002_L));
   851     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENFILEL_002"), &OpenFileL_002_L));
   851     // OPENFILEL_003 is not a valid test case.
   852     // OPENFILEL_003 is not a valid test case.
   852     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENFILEL_004"), &OpenFileL_004_L));
   853     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENFILEL_004"), &OpenFileL_004_L));
   873 #endif
   874 #endif
   874     
   875     
   875     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENDESCL_001"), &OpenDesL_001_L));
   876     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENDESCL_001"), &OpenDesL_001_L));
   876     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENURLL_001"), &OpenUrlL_001_L));
   877     suite->addTestL(CTestCaller<CCamcTest_1>::NewL(_L8("CAMC_API.OPENURLL_001"), &OpenUrlL_001_L));
   877     
   878     
   878     
   879     CleanupStack::Pop( suite );
   879     return suite;
   880     return suite;
   880     }
   881     }
   881 
   882