[webbeans-commits] Webbeans SVN: r1149 - in tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization: producer/method and 1 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Wed Jan 21 14:28:16 EST 2009
Author: pete.muir at jboss.org
Date: 2009-01-21 14:28:15 -0500 (Wed, 21 Jan 2009)
New Revision: 1149
Modified:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java
Log:
A few misunderstood assertions
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java 2009-01-21 19:08:40 UTC (rev 1148)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/enterprise/EnterpriseBeanSpecializationTest.java 2009-01-21 19:28:15 UTC (rev 1149)
@@ -54,9 +54,9 @@
}
@Test(groups="broken", expectedExceptions=DefinitionException.class) @SpecAssertion(section = "4.3.1")
- public void testSpecializedBeanHasNonDefaultName()
+ public void testSpecializingAndSpecializedBeanHasName()
{
- deployBeans(FarmYard_Broken.class);
+ //deployBeans(FarmYard_Broken.class);
}
@Test(groups="broken") @SpecAssertion(section={"4.3.1", "3.2.7"})
@@ -74,10 +74,10 @@
}
@Test(groups="broken") @SpecAssertion(section="4.3.1")
- public void testProducerMethodOnSpecializedBeanNotDeployed()
+ public void testProducerMethodOnSpecializedBeanCalledOnSpecializingBean()
{
- deployBeans(Office.class, Building.class);
- assert manager.resolveByType(Waste.class).size() == 0;
+ //deployBeans(Office.class, Building.class);
+ //assert manager.resolveByType(Waste.class).size() == 0;
}
@Test(groups="broken", expectedExceptions=InconsistentSpecializationException.class) @SpecAssertion(section="4.3.1")
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java 2009-01-21 19:08:40 UTC (rev 1148)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java 2009-01-21 19:28:15 UTC (rev 1149)
@@ -52,9 +52,9 @@
}
@Test(groups="broken", expectedExceptions=DefinitionException.class) @SpecAssertion(section = "4.3.1")
- public void testSpecializedBeanHasNonDefaultName()
+ public void testSpecializingAndSpecializedBeanHasName()
{
- deployBeans(HighSchool_Broken.class);
+ //deployBeans(HighSchool_Broken.class);
}
@Test(groups="broken") @SpecAssertion(section={"4.3.1", "3.4.5"})
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java 2009-01-21 19:08:40 UTC (rev 1148)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/inheritance/specialization/simple/SimpleBeanSpecializationTest.java 2009-01-21 19:28:15 UTC (rev 1149)
@@ -54,9 +54,9 @@
}
@Test(groups="broken", expectedExceptions=DefinitionException.class) @SpecAssertion(section = "4.3.1")
- public void testSpecializedBeanHasNonDefaultName()
+ public void testSpecializingAndSpecializedBeanHasName()
{
- deployBeans(FarmYard_Broken.class);
+ //deployBeans(FarmYard_Broken.class);
}
@Test(groups="broken") @SpecAssertion(section={"4.3.1", "3.3.7"})
@@ -74,10 +74,10 @@
}
@Test(groups="broken") @SpecAssertion(section="4.3.1")
- public void testProducerMethodOnSpecializedBeanNotDeployed()
+ public void testProducerMethodOnSpecializedBeanCalledOnSpecializingBean()
{
- deployBeans(Office.class, Building.class);
- assert manager.resolveByType(Waste.class).size() == 0;
+ //deployBeans(Office.class, Building.class);
+ //assert manager.resolveByType(Waste.class).size() == 0;
}
@Test(groups="broken", expectedExceptions=InconsistentSpecializationException.class) @SpecAssertion(section="4.3.1")
More information about the weld-commits
mailing list