equal
deleted
inserted
replaced
96 } |
96 } |
97 |
97 |
98 void UT_SRTPAuthentication_NULL::Teardown( ) |
98 void UT_SRTPAuthentication_NULL::Teardown( ) |
99 { |
99 { |
100 delete iAuthenticator; |
100 delete iAuthenticator; |
101 |
101 iAuthenticator = NULL; |
|
102 |
102 delete iRFC2202_Test1_Key_160bits; |
103 delete iRFC2202_Test1_Key_160bits; |
103 delete iRFC2202_Test1_Data_16bits; |
104 delete iRFC2202_Test1_Data_16bits; |
104 delete iRFC2202_Test1_Tag_80bits; |
105 delete iRFC2202_Test1_Tag_80bits; |
|
106 |
|
107 iRFC2202_Test1_Key_160bits = NULL; |
|
108 iRFC2202_Test1_Data_16bits = NULL; |
|
109 iRFC2202_Test1_Tag_80bits = NULL; |
105 } |
110 } |
106 |
111 |
107 void UT_SRTPAuthentication_NULL::UT_AuthenticateL_RFC2202_Test1_80L( ) |
112 void UT_SRTPAuthentication_NULL::UT_AuthenticateL_RFC2202_Test1_EightyL( ) |
108 { |
113 { |
109 HBufC8* result = iAuthenticator->AuthenticateL(80, *iRFC2202_Test1_Key_160bits, |
114 HBufC8* result = iAuthenticator->AuthenticateL(80, *iRFC2202_Test1_Key_160bits, |
110 *iRFC2202_Test1_Data_16bits, |
115 *iRFC2202_Test1_Data_16bits, |
111 KNullDesC8); |
116 KNullDesC8); |
112 |
117 |
148 EUNIT_TEST( |
153 EUNIT_TEST( |
149 "AuthenticateL - 1 80 bits", |
154 "AuthenticateL - 1 80 bits", |
150 "SRTPAuthentication_NULL", |
155 "SRTPAuthentication_NULL", |
151 "AuthenticateL", |
156 "AuthenticateL", |
152 "FUNCTIONALITY", |
157 "FUNCTIONALITY", |
153 SetupL, UT_AuthenticateL_RFC2202_Test1_80L, Teardown) |
158 SetupL, UT_AuthenticateL_RFC2202_Test1_EightyL, Teardown) |
154 |
159 |
155 |
160 |
156 EUNIT_END_TEST_TABLE |
161 EUNIT_END_TEST_TABLE |
157 |
162 |
158 // END OF FILE |
163 // END OF FILE |