xml/wbxmlparser/test/rtest/tsrc/t_wbxmlsyncmlparserstabilitytests.cpp
branchRCL_3
changeset 20 889504eac4fb
parent 0 e35f40988205
child 21 604ca70b6235
equal deleted inserted replaced
19:6bcc0aa4be39 20:889504eac4fb
    57 */
    57 */
    58 static void SyncmlTestsL()
    58 static void SyncmlTestsL()
    59 	{
    59 	{
    60 	test.Next(_L(" @SYMTestCaseID:SYSLIB-XML-CT-3723 SyncmlTestsL tests... "));
    60 	test.Next(_L(" @SYMTestCaseID:SYSLIB-XML-CT-3723 SyncmlTestsL tests... "));
    61 
    61 
    62 	__UHEAP_MARK;
    62 	__UHEAP_MARK;	
    63 
       
    64 	CStabilityTestClass* syncml1_1TestWithOpaque = CStabilityTestClass::NewL(test, EFalse, KMaxChunkSize);
    63 	CStabilityTestClass* syncml1_1TestWithOpaque = CStabilityTestClass::NewL(test, EFalse, KMaxChunkSize);
    65 	CleanupStack::PushL(syncml1_1TestWithOpaque);
    64 	CleanupStack::PushL(syncml1_1TestWithOpaque);
    66 	syncml1_1TestWithOpaque->StabilityTestL(KSyncML1_1Directory(), KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    65 	syncml1_1TestWithOpaque->StabilityTestL(KSyncML1_1Directory(), KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    67 	syncml1_1TestWithOpaque->StabilityTestL(KSyncML1_1Directory(), KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    66 	syncml1_1TestWithOpaque->StabilityTestL(KSyncML1_1Directory(), KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    68 	CleanupStack::PopAndDestroy(syncml1_1TestWithOpaque);
    67 	CleanupStack::PopAndDestroy(syncml1_1TestWithOpaque);
    71 	CleanupStack::PushL(syncml1_1TestMax);
    70 	CleanupStack::PushL(syncml1_1TestMax);
    72 	syncml1_1TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    71 	syncml1_1TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    73 	syncml1_1TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    72 	syncml1_1TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    74 	CleanupStack::PopAndDestroy(syncml1_1TestMax);
    73 	CleanupStack::PopAndDestroy(syncml1_1TestMax);
    75 
    74 
    76 	::DeleteTestDirL();
    75 	//::DeleteTestDirL();
    77 
       
    78 	CStabilityTestClass* syncml1_2TestWithOpaque = CStabilityTestClass::NewL(test, EFalse, KMaxChunkSize);
    76 	CStabilityTestClass* syncml1_2TestWithOpaque = CStabilityTestClass::NewL(test, EFalse, KMaxChunkSize);
    79 	CleanupStack::PushL(syncml1_2TestWithOpaque);
    77 	CleanupStack::PushL(syncml1_2TestWithOpaque);
    80 	syncml1_2TestWithOpaque->StabilityTestL(KSyncML1_2Directory(), KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    78 	syncml1_2TestWithOpaque->StabilityTestL(KSyncML1_2Directory(), KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    81 	syncml1_2TestWithOpaque->StabilityTestL(KSyncML1_2Directory(), KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    79 	syncml1_2TestWithOpaque->StabilityTestL(KSyncML1_2Directory(), KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    82 	CleanupStack::PopAndDestroy(syncml1_2TestWithOpaque);
    80 	CleanupStack::PopAndDestroy(syncml1_2TestWithOpaque);
    85 	CleanupStack::PushL(syncml1_2TestMax);
    83 	CleanupStack::PushL(syncml1_2TestMax);
    86 	syncml1_2TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    84 	syncml1_2TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestWholeL);
    87 	syncml1_2TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    85 	syncml1_2TestMax->StabilityTestL(KOpaqueDirectory(), 	 KWbxmlExt(), &CStabilityTestClass::TestChunkL);
    88 	CleanupStack::PopAndDestroy(syncml1_2TestMax);
    86 	CleanupStack::PopAndDestroy(syncml1_2TestMax);
    89 
    87 
    90 	::DeleteTestDirL();
    88 	//::DeleteTestDirL();
    91 
    89 
    92 	__UHEAP_MARKEND;
    90 	__UHEAP_MARKEND;
    93 	}
    91 	}
    94 
    92 
    95 
    93