stif/TestEngine/src/TestModuleController.cpp
branchRCL_3
changeset 18 d27dfa8884ad
parent 14 381827f66490
child 39 3406c99bc375
--- a/stif/TestEngine/src/TestModuleController.cpp	Tue Apr 27 18:14:33 2010 +0300
+++ b/stif/TestEngine/src/TestModuleController.cpp	Tue May 11 17:39:09 2010 +0300
@@ -250,6 +250,11 @@
 
     if ( r != KErrNone )
         {
+        if ( r == KErrBadName )
+            {
+            __TRACE( KError, ( CStifLogger::ERed, _L( "Test Module name or Configuration File name is too long: [%S]" ), &name) );
+            LeaveWithNotifyL( r,  _L( "Test Module name or Configuration File name is too long." ) );
+            }
         __TRACE( KError, ( CStifLogger::ERed, _L( "Can't connect to test module [%S], IniFile [%S]" ), &name, &aIniFile ) );
         LeaveWithNotifyL( r,  _L( "Can't connect to test module" ) );
         }