equal
deleted
inserted
replaced
248 // Connect to server |
248 // Connect to server |
249 TInt r = iServer.Connect( name, aConfigFile ); |
249 TInt r = iServer.Connect( name, aConfigFile ); |
250 |
250 |
251 if ( r != KErrNone ) |
251 if ( r != KErrNone ) |
252 { |
252 { |
|
253 if ( r == KErrBadName ) |
|
254 { |
|
255 __TRACE( KError, ( CStifLogger::ERed, _L( "Test Module name or Configuration File name is too long: [%S]" ), &name) ); |
|
256 LeaveWithNotifyL( r, _L( "Test Module name or Configuration File name is too long." ) ); |
|
257 } |
253 __TRACE( KError, ( CStifLogger::ERed, _L( "Can't connect to test module [%S], IniFile [%S]" ), &name, &aIniFile ) ); |
258 __TRACE( KError, ( CStifLogger::ERed, _L( "Can't connect to test module [%S], IniFile [%S]" ), &name, &aIniFile ) ); |
254 LeaveWithNotifyL( r, _L( "Can't connect to test module" ) ); |
259 LeaveWithNotifyL( r, _L( "Can't connect to test module" ) ); |
255 } |
260 } |
256 |
261 |
257 // Open session |
262 // Open session |