openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1594521 - /openwebbeans/branches/owb_1.2.x/webbeans-impl/src/test/java/org/apache/webbeans/newtests/instance/InstanceIteratorTest.java
Date Wed, 14 May 2014 08:52:23 GMT
Author: struberg
Date: Wed May 14 08:52:22 2014
New Revision: 1594521

URL: http://svn.apache.org/r1594521
Log:
OWB-956 use beanclass as default for the injection type

Modified:
    openwebbeans/branches/owb_1.2.x/webbeans-impl/src/test/java/org/apache/webbeans/newtests/instance/InstanceIteratorTest.java

Modified: openwebbeans/branches/owb_1.2.x/webbeans-impl/src/test/java/org/apache/webbeans/newtests/instance/InstanceIteratorTest.java
URL: http://svn.apache.org/viewvc/openwebbeans/branches/owb_1.2.x/webbeans-impl/src/test/java/org/apache/webbeans/newtests/instance/InstanceIteratorTest.java?rev=1594521&r1=1594520&r2=1594521&view=diff
==============================================================================
--- openwebbeans/branches/owb_1.2.x/webbeans-impl/src/test/java/org/apache/webbeans/newtests/instance/InstanceIteratorTest.java
(original)
+++ openwebbeans/branches/owb_1.2.x/webbeans-impl/src/test/java/org/apache/webbeans/newtests/instance/InstanceIteratorTest.java
Wed May 14 08:52:22 2014
@@ -65,7 +65,18 @@ public class InstanceIteratorTest extend
     }
 
     @Test
-    public void testInstanceWithoutImpl()
+    public void testInstanceIteratorWithoutImpl()
+    {
+        startContainer(InstanceIteratorHolder.class);
+
+        InstanceIteratorHolder instanceIteratorHolder = getInstance(InstanceIteratorHolder.class);
+        assertNotNull(instanceIteratorHolder);
+
+        Assert.assertFalse(instanceIteratorHolder.iterateOverContracts());
+    }
+
+    @Test
+    public void testInstanceIteratorWithImpl()
     {
         startContainer(InstanceIteratorHolder.class, Bean1.class);
 



Mime
View raw message