javamanager/javainstaller/installer/tsrc/javasrc/com/nokia/mj/impl/installer/GetComponentInfoTest.java
branchRCL_3
changeset 24 6c158198356e
parent 14 04becd199f91
equal deleted inserted replaced
23:e5618cc85d74 24:6c158198356e
   854     private void assertResultMessageNoValue(InstallerResultMessage aMsg, String aName)
   854     private void assertResultMessageNoValue(InstallerResultMessage aMsg, String aName)
   855     {
   855     {
   856         try
   856         try
   857         {
   857         {
   858             String value = aMsg.getStringValue(aName);
   858             String value = aMsg.getStringValue(aName);
   859             assertTrue("Unexpected value " + aName + "=" + value, false);
   859             assertTrue("Unexpected value " + aName + "=" + value, value == null);
   860         }
   860         }
   861         catch (IllegalArgumentException iae)
   861         catch (Throwable t)
   862         {
   862         {
   863             // Expected exception.
   863             assertTrue("Unexpected exception for string value " + aName +
   864         }
       
   865         catch (Throwable t)
       
   866         {
       
   867             assertTrue("Incorrect exception for string value " + aName +
       
   868                        ": " + t, false);
   864                        ": " + t, false);
   869         }
   865         }
   870 
   866 
   871         try
   867         try
   872         {
   868         {