equal
deleted
inserted
replaced
25 Each test step initialises it's own name |
25 Each test step initialises it's own name |
26 @param aSocketServer is the session handle |
26 @param aSocketServer is the session handle |
27 @param aSocket is the sub-session handle |
27 @param aSocket is the sub-session handle |
28 */ |
28 */ |
29 { |
29 { |
30 iSocketServer = &aSocketServer; |
30 iSharedSocketServer = &aSocketServer; |
31 } |
31 } |
32 |
32 |
33 /** |
33 /** |
34 Close the socket sub-session and socket server session |
34 Close the socket sub-session and socket server session |
35 */ |
35 */ |
36 TVerdict CCloseSMSProtocol::doTestStepL() |
36 TVerdict CCloseSMSProtocol::doTestStepL() |
37 { |
37 { |
38 //Close session |
38 //Close session |
39 if(iSocketServer) |
39 if( iSharedSocketServer != NULL ) |
40 { |
40 { |
41 iSocketServer->Close(); |
41 iSharedSocketServer->Close(); |
42 } |
42 } |
43 |
43 |
44 #ifdef _DEBUG |
44 #ifdef _DEBUG |
45 TInt err = RProperty::Delete(KUidPSSMSStackCategory, KUidPSSMSStackFreeDiskSpaceKey); |
45 TInt err = RProperty::Delete(KUidPSSMSStackCategory, KUidPSSMSStackFreeDiskSpaceKey); |
46 if (err != KErrNone && err != KErrNotFound) |
46 if (err != KErrNone && err != KErrNotFound) |
47 { |
47 { |
49 } |
49 } |
50 #endif |
50 #endif |
51 |
51 |
52 return TestStepResult(); |
52 return TestStepResult(); |
53 } |
53 } |
54 //----------------------------------------------------------------------------- |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|