[webbeans-commits] Webbeans SVN: r3314 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/el.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Tue Jul 28 09:24:13 EDT 2009


Author: jharting
Date: 2009-07-28 09:24:13 -0400 (Tue, 28 Jul 2009)
New Revision: 3314

Modified:
   tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/el/ResolutionByNameTest.java
Log:
Reassigned 2.5 a)

Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/el/ResolutionByNameTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/el/ResolutionByNameTest.java	2009-07-28 13:07:36 UTC (rev 3313)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/el/ResolutionByNameTest.java	2009-07-28 13:24:13 UTC (rev 3314)
@@ -33,10 +33,7 @@
 {
    
    @Test(groups="ri-broken")
-   @SpecAssertions({
-      @SpecAssertion(section="5.8", id="c"),
-      @SpecAssertion(section="2.5", id="a")
-   })
+   @SpecAssertion(section="2.5", id="a")
    //WBRI-322
    public void testQualifiedNameLookup()
    {
@@ -62,10 +59,13 @@
    }
 
    @Test(groups = "el")
-   @SpecAssertion(section="5.8", id="bc")
+   @SpecAssertions({
+      @SpecAssertion(section="5.8", id="bc"),
+      @SpecAssertion(section="2.5", id="a")
+   })
    public void testELResolverReturnsContextualInstance() {
       Salmon salmon = getInstanceByType(Salmon.class);
       salmon.setAge(3);
-      assert getCurrentConfiguration().getEl().evaluateValueExpression("#{salmon}", Salmon.class).getAge() == 3;
+      assert getCurrentConfiguration().getEl().evaluateValueExpression("#{salmon.age}", Integer.class) == 3;
    }
 }




More information about the weld-commits mailing list