[weld-commits] Weld SVN: r5834 - in cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation: simple/lifecycle and 1 other directory.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Feb 12 07:44:20 EST 2010


Author: oskutka at redhat.com
Date: 2010-02-12 07:44:20 -0500 (Fri, 12 Feb 2010)
New Revision: 5834

Modified:
   cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/EjbInitializerMethodTest.java
   cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java
Log:
Minor typo bug fixes.

Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/EjbInitializerMethodTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/EjbInitializerMethodTest.java	2010-02-12 05:07:37 UTC (rev 5833)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/EjbInitializerMethodTest.java	2010-02-12 12:44:20 UTC (rev 5834)
@@ -41,6 +41,6 @@
    {
       AndalusianChicken.nonBusinessMethodCalled = false;
       getInstanceByType(LocalChicken.class).cluck();
-      assert AndalusianChicken.nonBusinessMethodCalled = true;
+      assert AndalusianChicken.nonBusinessMethodCalled;
    }
 }

Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java	2010-02-12 05:07:37 UTC (rev 5833)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java	2010-02-12 12:44:20 UTC (rev 5834)
@@ -155,7 +155,7 @@
       assert fishPond.goldfish instanceof Goldfish;
       assert fishPond.goose != null;
       assert fishPond.salmon != null;
-      assert fishPond.postConstructCalled = true; // required by Managed Bean specification
+      assert fishPond.postConstructCalled; // required by Managed Bean specification
    }
       
    @Test(groups = {"beanLifecycle"})



More information about the weld-commits mailing list