javacommons/security/tsrc/javasrc/com/nokia/mj/impl/security/midp/authentication/AuthenticationModuleTests.java
changeset 50 023eef975703
parent 21 2a9601315dfc
child 64 0ea12c182930
--- a/javacommons/security/tsrc/javasrc/com/nokia/mj/impl/security/midp/authentication/AuthenticationModuleTests.java	Tue Jul 06 20:36:19 2010 +0300
+++ b/javacommons/security/tsrc/javasrc/com/nokia/mj/impl/security/midp/authentication/AuthenticationModuleTests.java	Fri Jul 09 16:35:45 2010 +0300
@@ -1046,8 +1046,8 @@
         }
         catch (RuntimeSecurityException e)
         {
-            assertTrue(e.getShortMessage().equals(securityErrorMessage.get(SecurityErrorMessage.JAR_TAMPERED, null))
-                       && e.getDetailedMessage().equals(securityDetailedErrorMessage.get(SecurityDetailedErrorMessage.JAR_TAMPERED, null)));
+            assertTrue(e.getShortMessage().equals(securityErrorMessage.get(SecurityErrorMessage.JAR_NOT_FOUND, null))
+                       && e.getDetailedMessage().equals(securityDetailedErrorMessage.get(SecurityDetailedErrorMessage.JAR_NOT_FOUND, null)));
         }
         // root not enabled
         try
@@ -1105,7 +1105,7 @@
                                appUID.getStringValue()));
         entry.addAttribute(new StorageAttribute(
                                StorageNames.NAME,
-                               "MIDlet-Operator-Allowed"));
+                               "Nokia-MIDlet-Operator-Allowed"));
         entry.addAttribute(new StorageAttribute(
                                StorageNames.VALUE,
                                "123-45 456-789 000-000"));
@@ -1126,7 +1126,7 @@
                                appUID.getStringValue()));
         entry.addAttribute(new StorageAttribute(
                                StorageNames.NAME,
-                               "MIDlet-Operator-Allowed"));
+                               "Nokia-MIDlet-Operator-Allowed"));
         entry.addAttribute(new StorageAttribute(
                                StorageNames.VALUE,
                                "123-45"));
@@ -1147,7 +1147,7 @@
                                appUID.getStringValue()));
         entry.addAttribute(new StorageAttribute(
                                StorageNames.NAME,
-                               "MIDlet-Operator-Allowed"));
+                               "Nokia-MIDlet-Operator-Allowed"));
         entry.addAttribute(new StorageAttribute(
                                StorageNames.VALUE,
                                "123-45"));