equal
deleted
inserted
replaced
34 // ======== LOCAL CONSTANTS ==================================================== |
34 // ======== LOCAL CONSTANTS ==================================================== |
35 // LIW variant names |
35 // LIW variant names |
36 _LIT8( KHspsAppUid, "appUid" ); |
36 _LIT8( KHspsAppUid, "appUid" ); |
37 |
37 |
38 // Heap size for test step thread |
38 // Heap size for test step thread |
39 const TUint KDefaultHeapSize = 0x10000; |
39 const TUint KDefaultHeapSize = 0x100000; |
40 |
40 |
41 // Test step data |
41 // Test step data |
42 typedef struct |
42 typedef struct |
43 { |
43 { |
44 TUint8* iMethod; |
44 TUint8* iMethod; |
593 |
593 |
594 // Wait test step to be completed |
594 // Wait test step to be completed |
595 User::WaitForRequest( status ); |
595 User::WaitForRequest( status ); |
596 err = status.Int(); |
596 err = status.Int(); |
597 |
597 |
598 testThread.Close(); |
|
599 |
|
600 // Give test thread some time to close |
598 // Give test thread some time to close |
601 User::After( 2000000 ); |
599 User::After( 2000000 ); |
602 |
600 |
|
601 // Terminate thread. |
|
602 testThread.Kill( KErrNone ); |
|
603 testThread.Close(); |
603 } |
604 } |
604 |
605 |
605 User::LeaveIfError( err ); |
606 User::LeaveIfError( err ); |
606 |
607 |
607 } |
608 } |