536 iTestCase = &aTestCase; |
536 iTestCase = &aTestCase; |
537 iTestFailed = EFalse; |
537 iTestFailed = EFalse; |
538 iTestUtils->StartTestL( aTestCase.TestCaseName() ); |
538 iTestUtils->StartTestL( aTestCase.TestCaseName() ); |
539 __TESTNAME(aTestCase.TestCaseName()); |
539 __TESTNAME(aTestCase.TestCaseName()); |
540 |
540 |
541 CPipeliningTestClient* testClient; |
541 CPipeliningTestClient* testClient = NULL; |
542 if(aSecName.FindF(_L("TSWDEFECT")) ==0) |
542 if(aSecName.FindF(_L("TSWDEFECT")) ==0) |
543 { |
543 { |
544 RDebug::Print(_L("TSWDEFECT")); |
544 RDebug::Print(_L("TSWDEFECT")); |
545 _LIT(KTestCaseLocalAndRemoteHost, "TSWDEFECT1 JKUN-7VVGB6"); |
545 _LIT(KTestCaseLocalAndRemoteHost, "TSWDEFECT1 JKUN-7VVGB6"); |
546 if(aTestCase.TestCaseName().CompareF(KTestCaseLocalAndRemoteHost) == 0) |
546 if(aTestCase.TestCaseName().CompareF(KTestCaseLocalAndRemoteHost) == 0) |
547 { |
547 { |
548 testClient = CTestCaseLocalAndRemoteHost::NewL(*iTestUtils, *this); |
548 testClient = CTestCaseLocalAndRemoteHost::NewL(*iTestUtils, *this); |
|
549 CleanupStack::PushL(testClient); |
549 } |
550 } |
550 else |
551 else |
551 { |
552 { |
552 User::Invariant(); |
553 User::Invariant(); |
553 } |
554 } |
554 } |
555 } |
555 else |
556 else |
556 { |
557 { |
557 testClient = CPipeliningTestClient::NewL(*iTestUtils, *this); |
558 testClient = CPipeliningTestClient::NewL(*iTestUtils, *this); |
|
559 CleanupStack::PushL(testClient); |
558 } |
560 } |
559 CleanupStack::PushL(testClient); |
561 |
560 |
|
561 testClient->SetTestCase(&aTestCase); |
562 testClient->SetTestCase(&aTestCase); |
562 iTestServer->SetTestCase(&aTestCase); |
563 iTestServer->SetTestCase(&aTestCase); |
563 testClient->StartClientL(); |
564 testClient->StartClientL(); |
564 |
565 |
565 CActiveScheduler::Start(); |
566 CActiveScheduler::Start(); |