javamanager/javainstaller/installer/tsrc/javasrc/com/nokia/mj/impl/installer/GetComponentInfoTest.java
branchRCL_3
changeset 83 26b2b12093af
parent 60 6c158198356e
--- a/javamanager/javainstaller/installer/tsrc/javasrc/com/nokia/mj/impl/installer/GetComponentInfoTest.java	Wed Sep 15 12:05:25 2010 +0300
+++ b/javamanager/javainstaller/installer/tsrc/javasrc/com/nokia/mj/impl/installer/GetComponentInfoTest.java	Wed Oct 13 14:23:59 2010 +0300
@@ -856,11 +856,15 @@
         try
         {
             String value = aMsg.getStringValue(aName);
-            assertTrue("Unexpected value " + aName + "=" + value, value == null);
+            assertTrue("Unexpected value " + aName + "=" + value, false);
+        }
+        catch (IllegalArgumentException iae)
+        {
+            // Expected exception.
         }
         catch (Throwable t)
         {
-            assertTrue("Unexpected exception for string value " + aName +
+            assertTrue("Incorrect exception for string value " + aName +
                        ": " + t, false);
         }