openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r732813 - /incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java
Date Thu, 08 Jan 2009 20:12:00 GMT
Author: gerdogdu
Date: Thu Jan  8 12:12:00 2009
New Revision: 732813

URL: http://svn.apache.org/viewvc?rev=732813&view=rev
Log:
OWB-33 resolved bug. Thanks Mark Struberg.

Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java?rev=732813&r1=732812&r2=732813&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java
Thu Jan  8 12:12:00 2009
@@ -116,9 +116,7 @@
         String[] arr = (String[]) obj;
 
         Assert.assertEquals(2, arr.length);
-        Assert.assertEquals("key", arr[0]);
-        Assert.assertEquals("key2", arr[1]);
-
+        Assert.assertTrue("key".equals(arr[0]) && "key2".equals(arr[1]) || "key".equals(arr[1])
&& "key2".equals(arr[0]));
         ContextFactory.destroyRequestContext(null);
     }
 
@@ -143,9 +141,7 @@
         String[] arr = (String[]) obj;
 
         Assert.assertEquals(2, arr.length);
-        Assert.assertEquals("key", arr[0]);
-        Assert.assertEquals("key0", arr[1]);
-
+        Assert.assertTrue("key".equals(arr[0]) && "key0".equals(arr[1]) || "key".equals(arr[1])
&& "key0".equals(arr[0]));
         ContextFactory.destroyRequestContext(null);
     }
 



Mime
View raw message