455 |
455 |
456 MTest* CCamcTest_8::suiteL () |
456 MTest* CCamcTest_8::suiteL () |
457 { |
457 { |
458 // Always use NewL (Do not use NewLC) !!! |
458 // Always use NewL (Do not use NewLC) !!! |
459 CTestSuite *suite = CTestSuite::NewL(_L8("CCamcTest_8")); |
459 CTestSuite *suite = CTestSuite::NewL(_L8("CCamcTest_8")); |
|
460 CleanupStack::PushL( suite ); |
460 |
461 |
461 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_001"), &MultipleInstance_001_L)); |
462 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_001"), &MultipleInstance_001_L)); |
462 |
463 |
463 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_002"), &MultipleInstance_002_L)); |
464 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_002"), &MultipleInstance_002_L)); |
464 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_003"), &MultipleInstance_003_L)); |
465 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_003"), &MultipleInstance_003_L)); |
465 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_004"), &MultipleInstance_004_L)); |
466 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_004"), &MultipleInstance_004_L)); |
466 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_005"), &MultipleInstance_005_L)); |
467 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_005"), &MultipleInstance_005_L)); |
467 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_006"), &MultipleInstance_006_L)); |
468 suite->addTestL(CTestCaller<CCamcTest_8>::NewL(_L8("CAMC_API.MULTIPLEINSTANCE_006"), &MultipleInstance_006_L)); |
468 |
469 |
|
470 CleanupStack::Pop( suite ); |
469 return suite; |
471 return suite; |
470 } |
472 } |
471 |
473 |