[webbeans-commits] Webbeans SVN: r296 - in ri/trunk/webbeans-ri: src/test/java/org/jboss/webbeans/test and 2 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Wed Nov 12 16:09:31 EST 2008
Author: nickarls
Date: 2008-11-12 16:09:31 -0500 (Wed, 12 Nov 2008)
New Revision: 296
Modified:
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BeanDeploymentTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BindingTypeTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DeploymentTypeTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InitializerMethodTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InjectionTests.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InstantiationByNameTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/JmsModelTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ManagerTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NameTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/PassivatingContextTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanLifecycleTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/RequestContextTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ResolutionByNameTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ScopeTypeTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanLifecycleTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanModelTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SpecializationTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/StereotypesTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/lifecycle/EnterpriseBeanLifecycleTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanDeclarationTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanRemoveMethodTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanSpecializationTest.java
ri/trunk/webbeans-ri/testng.xml
Log:
"stub" test grouping for false-asserting tests.
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -6,61 +6,61 @@
public class ApplicationContextTest extends AbstractTest
{
- @Test(groups={"servlet", "contexts"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "servlet", "contexts"}) @SpecAssertion(section="8.5.3")
public void testScopeActiveDuringServiceMethod()
{
assert false;
}
- @Test(groups={"webservice", "contexts"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "webservice", "contexts"}) @SpecAssertion(section="8.5.3")
public void testScopeActiveDuringWebServiceInvocation()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
public void testScopeActiveDuringRemoteInvocationOfEjbs()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
public void testScopeActiveDuringEjbTimeoust()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
public void testScopeActiveDuringMessageDelivery()
{
assert false;
}
- @Test(groups={"servlet", "contexts"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "servlet", "contexts"}) @SpecAssertion(section="8.5.3")
public void testScopeSharedAcrossRequests()
{
assert false;
}
- @Test(groups={"webservice", "contexts"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "webservice", "contexts"}) @SpecAssertion(section="8.5.3")
public void testScopeSharedAcrossWebServiceInvocations()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
public void testScopeSharedAcrossRemoteInvocationsOfEjbs()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
public void testScopeSharedAcrossEjbTimeouts()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
public void testScopeSharedAcrossMessageDelivery()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BeanDeploymentTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BeanDeploymentTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BeanDeploymentTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -7,98 +7,98 @@
{
- @Test(groups="specialization") @SpecAssertion(section="3.1.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.1.4")
public void testOnlySpecializedSimpleBeanDeployed()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.1.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.1.4")
public void testSpecializedSimpleBeanExtends()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.1.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.1.4")
public void testSpecializedSimpleBeanHasSameBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.1.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.1.4")
public void testSpecializedSimpleBeanHasSameName()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.4")
public void testOnlySpecializedEnterpriseBeanDeployed()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.4")
public void testSpecializedEnterpriseBeanExtends()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.4")
public void testSpecializedEnterpriseBeanHasSameBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.4")
public void testSpecializedEnterpriseBeanHasSameName()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.4")
public void testSpecializedEnterpriseBeanAllLocalInterfaces()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.4")
public void testSpecializedEnterpriseBeanSupportsBeanClassLocalView()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.3.3")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.3")
public void testOnlySpecializedProducerMethodBeanDeployed()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.3.3")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.3")
public void testSpecializedProducerMethodBeanDirectlyOverrides()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.3.3")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.3")
public void testSpecializedProducerMethodBeanHasSameBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.3.3")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.3")
public void testSpecializedProducerMethodBeanHasSameName()
{
// TODO Placeholder
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BindingTypeTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BindingTypeTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/BindingTypeTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -44,19 +44,19 @@
order.getBindingTypes().iterator().next().annotationType().equals(Current.class);
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.3.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.3.2")
public void testBindingTypeHasCorrectTarget()
{
assert false;
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.3.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.3.2")
public void testBindingTypeHasCorrectRetention()
{
assert false;
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.3.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.3.2")
public void testBindingTypeDeclaresBindingTypeAnnotation()
{
assert false;
@@ -79,7 +79,7 @@
}
@SuppressWarnings("unchecked")
- @Test(groups="webbeansxml") @SpecAssertion(section="2.3.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.3.4")
public void testBindingTypesDeclaredInXml()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -91,7 +91,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.3.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.3.4")
public void testXmlBindingTypeOverridesAndIgnoresJava()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -104,7 +104,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.3.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.3.4")
public void testNoBindingTypesDeclaredInXml()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -116,7 +116,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section={"2.3.4", "2.3.1"})
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section={"2.3.4", "2.3.1"})
public void testDefaultBindingTypeDeclaredInXml()
{
SimpleBean<?> model = createSimpleBean(Tuna.class, manager);
@@ -139,13 +139,13 @@
assert barn.petSpider instanceof DefangedTarantula;
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="2.3.5")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.5")
public void testFieldWithBindingTypeInXml()
{
assert false;
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="2.3.5")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.5")
public void testFieldWithBindingTypeInXmlIgnoresAnnotations()
{
assert false;
@@ -165,13 +165,13 @@
assert spider instanceof DefangedTarantula;
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="2.3.6")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.6")
public void testMethodWithBindingAnnotationsOnParametersDeclaredInXml()
{
assert false;
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="2.3.6")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="2.3.6")
public void testMethodWithBindingAnnotationsOnParametersDeclaredInXmlIgnoresAnnotations()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -32,7 +32,7 @@
assert !foxRun.fox.equals(foxRun.anotherFox);
}
- @Test(groups={"contexts", "el"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "el"}) @SpecAssertion(section="8.3")
public void testInstanceUsedForElEvalutionNotShared()
{
assert false;
@@ -52,7 +52,7 @@
assert tarantula != tarantula2;
}
- @Test(groups={"contexts", "observerMethod"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "observerMethod"}) @SpecAssertion(section="8.3")
public void testInstanceUsedForObserverMethodNotShared()
{
assert false;
@@ -85,14 +85,14 @@
manager.getContext(Dependent.class).isActive();
}
- @Test(groups={"contexts", "observerMethod"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "observerMethod"}) @SpecAssertion(section="8.3")
public void testContextIsActiveWhenInvokingObserverMethod()
{
assert false;
}
- @Test(groups={"contexts", "el"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "el"}) @SpecAssertion(section="8.3")
public void testContextIsActiveWhenEvaluatingElExpression()
{
assert false;
@@ -109,7 +109,7 @@
assert foxRun.fox != null;
}
- @Test(groups={"contexts", "beanDestruction"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "beanDestruction"}) @SpecAssertion(section="8.3")
public void testContextIsActiveDuringBeanDestruction()
{
assert false;
@@ -125,55 +125,55 @@
assert foxRun.fox != null;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.3")
public void testEjbBeanMayMayCreateInstanceFromInitializer()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.3")
public void testEjbBeanMayMayCreateInstanceFromPostConstruct()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.3")
public void testEjbBeanMayMayCreateInstanceFromPreDestroy()
{
assert false;
}
- @Test(groups={"contexts", "servlet"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "servlet"}) @SpecAssertion(section="8.3")
public void testServletBeanMayMayCreateInstanceFromInitializer()
{
assert false;
}
- @Test(groups={"contexts", "beanDestruction"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "beanDestruction"}) @SpecAssertion(section="8.3")
public void testDestroyingParentDestroysDependents()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.3")
public void testDestroyingEjbDestroysDependents()
{
assert false;
}
- @Test(groups={"contexts", "servlet"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "servlet"}) @SpecAssertion(section="8.3")
public void testDestroyingServletDestroysDependents()
{
assert false;
}
- @Test(groups={"contexts", "el"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "el"}) @SpecAssertion(section="8.3")
public void testDependentsDestroyedWhenElEvaluationCompletes()
{
assert false;
}
- @Test(groups={"contexts", "observerMethod"}) @SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "observerMethod"}) @SpecAssertion(section="8.3")
public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DeploymentTypeTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DeploymentTypeTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DeploymentTypeTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -42,19 +42,19 @@
createSimpleBean(Gazelle.class, manager);
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.5.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.5.2")
public void testDeploymentTypeHasCorrectTarget()
{
assert false;
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.5.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.5.2")
public void testDeploymentTypeHasCorrectRetention()
{
assert false;
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.5.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.5.2")
public void testDeploymentTypeDeclaresScopeTypeAnnotation()
{
assert false;
@@ -66,7 +66,7 @@
createSimpleBean(BeanWithTooManyDeploymentTypes.class, manager);
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.5.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.5.4")
public void testXmlDeploymentTypeOverridesJava()
{
Map<Class<? extends Annotation>, Annotation> xmlDefinedDeploymentTypeAnnotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -80,7 +80,7 @@
- @Test(groups="webbeansxml") @SpecAssertion(section="2.5.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.5.4")
public void testXmlRespectsJavaDeploymentType()
{
AnnotatedClass<Tuna> annotatedItem = new SimpleAnnotatedClass<Tuna>(Tuna.class, new HashMap<Class<? extends Annotation>, Annotation>());
@@ -89,7 +89,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.5.5")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.5.5")
public void testXmlDefaultDeploymentType()
{
AnnotatedClass<Antelope> antelopeAnnotatedItem = new SimpleAnnotatedClass<Antelope>(Antelope.class, new HashMap<Class<? extends Annotation>, Annotation>());
@@ -105,7 +105,7 @@
assert bean.getDeploymentType().equals(HornedAnimalDeploymentType.class);
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.5.5")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.5.5")
public void testDeploymentTypeSpecifiedAndStereotyped()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -162,7 +162,7 @@
manager.setEnabledDeploymentTypes(enabledDeploymentTypes);
}
- @Test(groups="webbeansxml", expectedExceptions=DeploymentException.class) @SpecAssertion(section="2.5.6")
+ @Test(groups={"stub", "webbeansxml"}, expectedExceptions=DeploymentException.class) @SpecAssertion(section="2.5.6")
public void testMultipleDeployElementsCannotBeDefined()
{
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InitializerMethodTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InitializerMethodTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InitializerMethodTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -26,37 +26,37 @@
createSimpleBean(Dottrel.class, manager);
}
- @Test(groups={"initializerMethod", "servlet"}) @SpecAssertion(section="3.7")
+ @Test(groups={"stub", "initializerMethod", "servlet"}) @SpecAssertion(section="3.7")
public void testInitializerMethodCalledOnServlet()
{
assert false;
}
- @Test(groups={"initializerMethod", "ejb3"}) @SpecAssertion(section="3.7")
+ @Test(groups={"stub", "initializerMethod", "ejb3"}) @SpecAssertion(section="3.7")
public void testInitializerMethodCalledOnEJBSessionBean()
{
assert false;
}
- @Test(groups={"initializerMethod", "ejb3"}) @SpecAssertion(section="3.7")
+ @Test(groups={"stub", "initializerMethod", "ejb3"}) @SpecAssertion(section="3.7")
public void testInitializerMethodCalledOnEJBMDB()
{
assert false;
}
- @Test(groups={"initializerMethod", "ejb3", "singletons"}) @SpecAssertion(section="3.7")
+ @Test(groups={"stub", "initializerMethod", "ejb3", "singletons"}) @SpecAssertion(section="3.7")
public void testInitializerMethodCalledOnEJBSingleton()
{
assert false;
}
- @Test(groups={"initializerMethod", "ejb3"}) @SpecAssertion(section="3.7")
+ @Test(groups={"stub", "initializerMethod", "ejb3"}) @SpecAssertion(section="3.7")
public void testInitializerMethodNotABusinessMethod()
{
assert false;
}
- @Test(groups={"initializerMethod", "interceptors"}) @SpecAssertion(section="3.7")
+ @Test(groups={"stub", "initializerMethod", "interceptors"}) @SpecAssertion(section="3.7")
public void testMethodInterceptorNotCalledOnInitializerMethod()
{
assert false;
@@ -98,25 +98,25 @@
createSimpleBean(Grouse.class, manager);
}
- @Test(groups={"initializerMethod", "webbeansxml"}) @SpecAssertion(section="3.7.2")
+ @Test(groups={"stub", "initializerMethod", "webbeansxml"}) @SpecAssertion(section="3.7.2")
public void testInitializerMethodDeclaredInXml()
{
assert false;
}
- @Test(groups={"initializerMethod", "webbeansxml"}) @SpecAssertion(section="3.7.2")
+ @Test(groups={"stub", "initializerMethod", "webbeansxml"}) @SpecAssertion(section="3.7.2")
public void testInitializerMethodDeclaredInXmlIgnoresBindingAnnotationsInJava()
{
assert false;
}
- @Test(groups={"initializerMethod", "webbeansxml"}, expectedExceptions=NonexistentMethodException.class) @SpecAssertion(section="3.7.2")
+ @Test(groups={"stub", "initializerMethod", "webbeansxml"}, expectedExceptions=NonexistentMethodException.class) @SpecAssertion(section="3.7.2")
public void testInitializerMethodDeclaredInXmlDoesNotExist()
{
assert false;
}
- @Test(groups={"initializerMethod", "webbeansxml"}) @SpecAssertion(section="3.7.2")
+ @Test(groups={"stub", "initializerMethod", "webbeansxml"}) @SpecAssertion(section="3.7.2")
public void testBeanHasAllInitializerMethodsDeclaredInJavaAndXml()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InjectionTests.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InjectionTests.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InjectionTests.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -91,31 +91,31 @@
BeanWithFinalBoundField instance = bean.create();
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
public void testInjectFieldsDeclaredInXml()
{
assert false;
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
public void testInjectedFieldDeclaredInXmlIgnoresJavaAnnotations()
{
assert false;
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
public void testInjectedFieldDeclaredInXmlAssumesCurrent()
{
assert false;
}
- @Test(groups={"injection", "webbeansxml"}, expectedExceptions=NonexistentFieldException.class) @SpecAssertion(section="3.6.2")
+ @Test(groups={"stub", "injection", "webbeansxml"}, expectedExceptions=NonexistentFieldException.class) @SpecAssertion(section="3.6.2")
public void testNonexistentFieldDefinedInXml()
{
assert false;
}
- @Test(groups={"injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
+ @Test(groups={"stub", "injection", "webbeansxml"}) @SpecAssertion(section="3.6.2")
public void testInjectFieldsDeclaredInXmlAndJava()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InstantiationByNameTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InstantiationByNameTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/InstantiationByNameTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -75,7 +75,7 @@
assert manager.getInstanceByName("salmon") instanceof Salmon;
}
- @Test(groups={"resolution", "el"}) @SpecAssertion(section="4.10")
+ @Test(groups={"stub", "resolution", "el"}) @SpecAssertion(section="4.10")
public void testGetInstanceByNameCalledOncePerDistinctNameInElExpression()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/JmsModelTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/JmsModelTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/JmsModelTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -7,7 +7,7 @@
public class JmsModelTest extends AbstractTest
{
- @Test(expectedExceptions=DefinitionException.class, groups="jms") @SpecAssertion(section="2.6")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "jms"}) @SpecAssertion(section="2.6")
public void testJmsEndpointHasName()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ManagerTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ManagerTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ManagerTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -12,7 +12,7 @@
public class ManagerTest extends AbstractTest
{
- @Test(groups={"manager", "injection", "deployment"}) @SpecAssertion(section="4.8")
+ @Test(groups={"stub", "manager", "injection", "deployment"}) @SpecAssertion(section="4.8")
public void testInjectingManager()
{
assert false;
@@ -37,7 +37,7 @@
assert true;
}
- @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"}) @SpecAssertion(section="8.6")
+ @Test(expectedExceptions={ContextNotActiveException.class}, groups={"stub", "manager"}) @SpecAssertion(section="8.6")
public void testGetContextWithNoRegisteredContextsFails()
{
manager.setContexts();
@@ -55,7 +55,7 @@
}
- @Test(groups={"manager", "ejb3"}) @SpecAssertion(section="4.8")
+ @Test(groups={"stub", "manager", "ejb3"}) @SpecAssertion(section="4.8")
public void testManagerLookupInJndi()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NameTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NameTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/NameTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -26,7 +26,7 @@
public class NameTest extends AbstractTest
{
- @Test(groups="el", expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.6")
+ @Test(groups={"stub", "el"}, expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.6")
public void testInvalidElIdentifierUsedAsWebBeanName()
{
assert false;
@@ -39,7 +39,7 @@
assert moose.getName().equals("aMoose");
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.6.2")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.6.2")
public void testNonDefaultXmlNamed()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -58,7 +58,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.6.2")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.6.2")
public void testXmlNamedOverridesJavaNamed()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -77,7 +77,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section={"2.6.2", "2.6.3"})
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section={"2.6.2", "2.6.3"})
public void testJavaNamedUsedWhenNoXmlSpecified()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -96,7 +96,7 @@
assert haddock.getName().equals("haddock");
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.6.3")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.6.3")
public void testDefaultXmlNamed()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -138,7 +138,7 @@
assert model.getName() == null;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.6.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.6.4")
public void testNotNamedInStereotype()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/PassivatingContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/PassivatingContextTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/PassivatingContextTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -22,133 +22,133 @@
context = new RequestContext();
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testIsSessionScopePassivating()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testIsConversationScopePassivating()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testIsApplicationScopeNonPassivating()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testIsRequestScopePassivating()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testEJBWebBeanCanDefinePassivatingScope()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testSimpleWebBeanWithNonSerializableImplementationClassFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testProducerMethodDeclaringPassivatingScopeButReturningNonSerializableImplementationClassFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testSimpleWebBeanDeclaringPassivatingScopeIsSerializedWhenContextIsPassivated()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testStatefulEJBIsSerializedWhenPassivatedByEJBContainer()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testReferencesToWebBeansAreSerializable()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testDependentEJBsAreSerializable()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoStatefulSessionBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoNonTransientFieldOfWebBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoConstructorParameterOfWebBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoInitializerParameterOfWebBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testSimpleDependentWebBeanWithNonSerializableImplementationInjectedIntoProducerMethodParameterWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoNonTransientFieldOfWebBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoConstructorParameterOfWebBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoInitializerParameterOfWebBeanWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testDependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoProducerMethodParameterWithPassivatingScopeFails()
{
assert false;
}
- @Test(groups = { "contexts", "passivation" }) @SpecAssertion(section = "8.4")
+ @Test(groups = {"stub", "contexts", "passivation" }) @SpecAssertion(section = "8.4")
public void testJMSEndpointProxyIsSerializable()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanLifecycleTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanLifecycleTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanLifecycleTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -29,21 +29,21 @@
assert tarantula != null;
}
- @Test(groups="specialization") @SpecAssertion(section="3.3.3")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.3.3")
public void testSpecializedBeanAlwaysUsed()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"disposalMethod", "beanLifecycle"}) @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod", "beanLifecycle"}) @SpecAssertion(section="3.3.4")
public void testDisposalMethodCalled()
{
// TODO Placeholder
assert false;
}
- @Test(groups={"disposalMethod", "beanLifecycle"}) @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod", "beanLifecycle"}) @SpecAssertion(section="3.3.4")
public void testDisposalMethodHasParametersInjected()
{
// TODO Placeholder
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -50,7 +50,7 @@
createProducerMethodBean(String.class, method, manager, bean);
}
- @Test(groups={"producerMethod", "enterpriseBeans"}, expectedExceptions=DefinitionException.class) @SpecAssertion(section="3.4")
+ @Test(groups={"stub", "producerMethod", "enterpriseBeans", "stub"}, expectedExceptions=DefinitionException.class) @SpecAssertion(section="3.4")
public void testProducerMethodIsNotBusinessMethod() throws Exception
{
assert false;
@@ -83,7 +83,7 @@
createProducerMethodBean(FunnelWeaver.class, method, manager, bean);
}
- @Test(groups={"producerMethod", "deployment"}) @SpecAssertion(section="3.4")
+ @Test(groups={"stub", "producerMethod", "deployment"}) @SpecAssertion(section="3.4")
public void testBeanDeclaresMultipleProducerMethods()
{
assert false;
@@ -232,42 +232,42 @@
createProducerMethodBean(String.class, method, manager, bean);
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.4")
public void testDisposalMethodNonStatic()
{
// TODO Placeholder
assert false;
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.4")
public void testDisposalMethodMethodDeclaredOnWebBeanImplementationClass()
{
// TODO Placeholder
assert false;
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.4")
public void testDisposalMethodBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.4")
public void testDisposalMethodDefaultBindingAnnotations()
{
// TODO Placeholder
assert false;
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.4")
public void testDisposalMethodDoesNotResolveToProducerMethod()
{
// TODO Placeholder
assert false;
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.5")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.5")
public void testDisposalMethodDeclaredOnEnabledBean()
{
// TODO Placeholder
@@ -276,7 +276,7 @@
assert false;
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.4")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.5")
public void testBeanCanDeclareMultipleDisposalMethods()
{
// TODO move this
@@ -284,7 +284,7 @@
assert false;
}
- @Test(groups="disposalMethod") @SpecAssertion(section="3.3.5")
+ @Test(groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.3.5")
public void testProducerMethodHasNoMoreThanOneDisposalMethod()
{
// TODO move this
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/RequestContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/RequestContextTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/RequestContextTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -6,61 +6,61 @@
public class RequestContextTest extends AbstractTest
{
- @Test(groups={"servlet", "contexts"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "servlet", "contexts"}) @SpecAssertion(section="8.5.1")
public void testScopeActiveDuringServiceMethod()
{
assert false;
}
- @Test(groups={"webservice", "contexts"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "webservice", "contexts"}) @SpecAssertion(section="8.5.1")
public void testScopeActiveDuringWebServiceInvocation()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
public void testScopeActiveDuringRemoteInvocationOfEjbs()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
public void testScopeActiveDuringEjbTimeoutsInEE6()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
public void testScopeActiveDuringMessageDelivery()
{
assert false;
}
- @Test(groups={"servlet", "contexts"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "servlet", "contexts"}) @SpecAssertion(section="8.5.1")
public void testScopeNotSharedAcrossRequests()
{
assert false;
}
- @Test(groups={"webservice", "contexts"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "webservice", "contexts"}) @SpecAssertion(section="8.5.1")
public void testScopeNotSharedAcrossWebServiceInvocations()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
public void testScopeNotSharedAcrossRemoteInvocationsOfEjbs()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
public void testScopeNotSharedAcrossEjbTimeouts()
{
assert false;
}
- @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
+ @Test(groups={"stub", "contexts", "ejb3"}) @SpecAssertion(section="8.5.1")
public void testScopeNotSharedAcrossMessageDelivery()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ResolutionByNameTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ResolutionByNameTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ResolutionByNameTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -17,19 +17,19 @@
public class ResolutionByNameTest extends AbstractTest
{
- @Test(groups="el") @SpecAssertion(section="4.10")
+ @Test(groups={"stub", "el"}) @SpecAssertion(section="4.10")
public void testELResolver()
{
assert false;
}
- @Test(groups="el") @SpecAssertion(section="4.10.2")
+ @Test(groups={"stub", "el"}) @SpecAssertion(section="4.10.2")
public void testELResolverRegisteredWithJsf()
{
assert false;
}
- @Test(groups="el") @SpecAssertion(section="4.10.2")
+ @Test(groups={"stub", "el"}) @SpecAssertion(section="4.10.2")
public void testELResolverRegisteredWithServlet()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ScopeTypeTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ScopeTypeTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ScopeTypeTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -44,19 +44,19 @@
assert mullet.getScopeType().equals(AnotherScopeType.class);
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.4.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.4.2")
public void testScopeTypeHasCorrectTarget()
{
assert false;
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.4.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.4.2")
public void testScopeTypeHasCorrectRetention()
{
assert false;
}
- @Test(groups="annotationDefinition") @SpecAssertion(section="2.4.2")
+ @Test(groups={"stub", "annotationDefinition"}) @SpecAssertion(section="2.4.2")
public void testScopeTypeDeclaresScopeTypeAnnotation()
{
assert false;
@@ -75,7 +75,7 @@
createSimpleBean(BeanWithTooManyScopeTypes.class, manager);
}
- @Test(expectedExceptions=DefinitionException.class, groups="webbeansxml")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "webbeansxml"})
public void testTooManyScopesSpecifiedInXml()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -85,7 +85,7 @@
//createSimpleBean(null, antelopeAnnotatedItem, manager);
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.4.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.4.4")
public void testScopeDeclaredInXml()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -97,7 +97,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.4.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.4.4")
public void testScopeMissingInXml()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -108,7 +108,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.4.4")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.4.4")
public void testScopeDeclaredInXmlOverridesJava()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -126,7 +126,7 @@
assert order.getScopeType().equals(Dependent.class);
}
- @Test(groups="webbeansxml") @SpecAssertion(section={"2.4.5", "2.7.2"})
+ @Test(groups={"stub", "webbeansxml"})@SpecAssertion(section={"2.4.5", "2.7.2"})
public void testScopeSpecifiedAndStereotyped()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -157,7 +157,7 @@
assert exception;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.4.5")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.4.5")
public void testMutipleIncompatibleScopeStereotypesWithScopeSpecified()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -170,7 +170,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.4.5")
+ @Test(groups={"stub", "webbeansxml"})@SpecAssertion(section="2.4.5")
public void testMutipleCompatibleScopeStereotypes()
{
Map<Class<? extends Annotation>, Annotation> annotations = new HashMap<Class<? extends Annotation>, Annotation>();
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanLifecycleTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanLifecycleTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanLifecycleTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -29,7 +29,7 @@
assert fishPond.goldfish != null;
}
- @Test(groups="specialization") @SpecAssertion(section="3.1.4")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.1.4")
public void testSpecializedBeanAlwaysUsed()
{
// TODO Placeholder
@@ -43,31 +43,31 @@
assert bean.create() instanceof RedSnapper;
}
- @Test(groups={"beanLifecycle", "interceptors"}) @SpecAssertion(section="5.3")
+ @Test(groups={"stub", "beanLifecycle", "interceptors"}) @SpecAssertion(section="5.3")
public void testCreateBindsInterceptorStack()
{
assert false;
}
- @Test(groups={"beanLifecycle", "decorators"}) @SpecAssertion(section="5.3")
+ @Test(groups={"stub", "beanLifecycle", "decorators"}) @SpecAssertion(section="5.3")
public void testCreateBindsDecoratorStack()
{
assert false;
}
- @Test(groups={"beanLifecycle", "commonAnnotations"}) @SpecAssertion(section="5.3")
+ @Test(groups={"stub", "beanLifecycle", "commonAnnotations"}) @SpecAssertion(section="5.3")
public void testCreateInjectsEjb()
{
assert false;
}
- @Test(groups={"beanLifecycle", "commonAnnotations"}) @SpecAssertion(section="5.3")
+ @Test(groups={"stub", "beanLifecycle", "commonAnnotations"}) @SpecAssertion(section="5.3")
public void testCreateInjectsPersistenceContext()
{
assert false;
}
- @Test(groups={"beanLifecycle", "commonAnnotations"}) @SpecAssertion(section="5.3")
+ @Test(groups={"stub", "beanLifecycle", "commonAnnotations"}) @SpecAssertion(section="5.3")
public void testCreateInjectsResource()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanModelTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanModelTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SimpleBeanModelTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -69,7 +69,7 @@
createSimpleBean(ParameterizedBean.class, manager);
}
- @Test(expectedExceptions=DefinitionException.class, groups={"interceptors", "decorators"}) @SpecAssertion(section="3.2")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "interceptors", "decorators"}) @SpecAssertion(section="3.2")
public void testClassCannotBeInterceptorAndDecorator()
{
@@ -94,55 +94,55 @@
assert bean.getTypes().contains(DeadlyAnimal.class);
}
- @Test(groups={"producerMethod", "webbeansxml"}) @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "producerMethod", "webbeansxml"}) @SpecAssertion(section="3.2.4")
public void testBeanDeclaredInXmlIgnoresProducerMethodDeclaredInJava()
{
assert false;
}
- @Test(groups={"disposalMethod", "webbeansxml"}) @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "disposalMethod", "webbeansxml"}) @SpecAssertion(section="3.2.4")
public void testBeanDeclaredInXmlIgnoresDisposalMethodDeclaredInJava()
{
assert false;
}
- @Test(groups={"observerMethod", "webbeansxml"}) @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "observerMethod", "webbeansxml"}) @SpecAssertion(section="3.2.4")
public void testBeanDeclaredInXmlIgnoresObserverMethodDeclaredInJava()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class, groups="webbeansxml") @SpecAssertion(section="3.2.4")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "webbeansxml"}) @SpecAssertion(section="3.2.4")
public void testAbstractClassDeclaredInXmlIsNotAllowed()
{
}
- @Test(groups={"innerClass", "webbeansxml"}) @SpecAssertion(section="3.2.4")
+ @Test(groups={"stub", "innerClass", "webbeansxml"}) @SpecAssertion(section="3.2.4")
public void testStaticInnerClassDeclaredInXmlAllowed()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class, groups={"innerClass", "webbeansxml"}) @SpecAssertion(section="3.2.4")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "innerClass", "webbeansxml"}) @SpecAssertion(section="3.2.4")
public void testNonStaticInnerClassDeclaredInXmlNotAllowed()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class, groups="webbeansxml") @SpecAssertion(section="3.2.4")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "webbeansxml"}) @SpecAssertion(section="3.2.4")
public void testParameterizedClassDeclaredInXmlIsNotAllowed()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class, groups={"interceptors"}) @SpecAssertion(section="3.2.4")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "interceptors"}) @SpecAssertion(section="3.2.4")
public void testClassHasInterceptorInJavaMustHaveInterceptorInXml()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class, groups={"interceptors"}) @SpecAssertion(section="3.2.4")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "interceptors"}) @SpecAssertion(section="3.2.4")
public void testClassHasDecoratorInJavaMustHaveDecoratorInXml()
{
assert false;
@@ -204,25 +204,25 @@
createSimpleBean(Goose.class, manager);
}
- @Test(expectedExceptions=DefinitionException.class, groups="disposalMethod") @SpecAssertion(section="3.2.5.1")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "disposalMethod"}) @SpecAssertion(section="3.2.5.1")
public void testConstructorHasDisposesParameter()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class, groups="observerMethod") @SpecAssertion(section="3.2.5.1")
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "observerMethod"}) @SpecAssertion(section="3.2.5.1")
public void testConstructorHasObservesParameter()
{
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="3.2.5.2")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="3.2.5.2")
public void testImplicitConstructorDeclaredInXmlUsed()
{
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="3.2.5.2")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="3.2.5.2")
public void testEmptyConstructorDeclaredInXmlUsed()
{
AnnotatedConstructor<Donkey> constructor = createSimpleBean(Donkey.class, manager).getConstructor();
@@ -230,13 +230,13 @@
assert false;
}
- @Test(expectedExceptions=NonexistentConstructorException.class, groups="webbeansxml") @SpecAssertion(section="3.2.5.2")
+ @Test(expectedExceptions=NonexistentConstructorException.class, groups={"stub", "webbeansxml"}) @SpecAssertion(section="3.2.5.2")
public void testConstructorDeclaredInXmlDoesNotExist()
{
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="3.2.5.2")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="3.2.5.2")
public void testConstructorDeclaredInXmlIgnoresBindingTypesDeclaredInJava()
{
assert false;
@@ -278,31 +278,31 @@
assert bean.getName().equals("plough");
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.6")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.6")
public void testLessSpecializedClassNotInstantiated()
{
assert false;
}
- @Test(groups="specialization",expectedExceptions=DefinitionException.class) @SpecAssertion(section="3.2.6")
+ @Test(groups={"stub", "specialization"},expectedExceptions=DefinitionException.class) @SpecAssertion(section="3.2.6")
public void testSpecializedClassMustExtendAnotherWebBean()
{
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.6")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.6")
public void testSpecializedClassDeclaredInXmlInheritsBindingTypes()
{
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.6")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.6")
public void testSpecializedClassDeclaredInXmlInheritsName()
{
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.6")
+ @Test(groups={"stub", "specialization"}) @SpecAssertion(section="3.2.6")
public void testLessSpecializedClassDeclaredInXmlNotInstantiated()
{
assert false;
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SpecializationTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SpecializationTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/SpecializationTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -7,7 +7,7 @@
public class SpecializationTest
{
- @Test(expectedExceptions=InconsistentSpecializationException.class, groups="specialization")
+ @Test(expectedExceptions=InconsistentSpecializationException.class, groups={"stub", "specialization"})
public void testInconsistentSpecialization()
{
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/StereotypesTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/StereotypesTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/StereotypesTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -39,19 +39,19 @@
public class StereotypesTest extends AbstractTest
{
- @Test(groups="annotationDefinition", expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.7.1")
+ @Test(groups={"stub", "annotationDefinition"}, expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.7.1")
public void testHasCorrectTarget()
{
assert false;
}
- @Test(groups="annotationDefinition", expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.7.1")
+ @Test(groups={"stub", "annotationDefinition"}, expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.7.1")
public void testHasCorrectRetention()
{
assert false;
}
- @Test(groups="annotationDefinition", expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.7.1")
+ @Test(groups={"stub", "annotationDefinition"}, expectedExceptions=DefinitionException.class) @SpecAssertion(section="2.7.1")
public void testHasStereotypeAnnotation()
{
assert false;
@@ -119,7 +119,7 @@
assert animalStereotype.getInterceptorBindings().size() == 0;
}
- @Test(groups="interceptors") @SpecAssertion(section="2.7.1")
+ @Test(groups={"stub", "interceptors"}) @SpecAssertion(section="2.7.1")
public void testStereotypeWithInterceptors()
{
assert false;
@@ -163,7 +163,7 @@
assert highlandCow.getDeploymentType().equals(HornedAnimalDeploymentType.class);
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.7.3")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.7.3")
public void testStereotypeDeclaredInXmlIgnoresJavaStereotypes()
{
Map<Class<? extends Annotation>, Annotation> cooXmlAnnotations = new HashMap<Class<? extends Annotation>, Annotation>();
@@ -179,7 +179,7 @@
assert false;
}
- @Test(groups="webbeansxml") @SpecAssertion(section="2.7.3")
+ @Test(groups={"stub", "webbeansxml"}) @SpecAssertion(section="2.7.3")
public void testStereotypeDeclaredInXmlIgnoresJavaBindingTypes()
{
Map<Class<? extends Annotation>, Annotation> cooXmlAnnotations = new HashMap<Class<? extends Annotation>, Annotation>();
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/lifecycle/EnterpriseBeanLifecycleTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/lifecycle/EnterpriseBeanLifecycleTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/lifecycle/EnterpriseBeanLifecycleTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -9,20 +9,20 @@
public class EnterpriseBeanLifecycleTest extends AbstractTest
{
- @Test(groups="removeMethod") @SpecAssertion(section="3.2.3")
+ @Test(groups={"removeMethod", "stub"}) @SpecAssertion(section="3.2.3")
public void testInjectonOfParametersIntoRemoveMethod()
{
assert false;
}
- @Test(groups="specialization") @SpecAssertion(section="3.2.4")
+ @Test(groups={"specialization", "stub"}) @SpecAssertion(section="3.2.4")
public void testSpecializedBeanAlwaysUsed()
{
assert false;
}
- @Test(expectedExceptions = UnremovedException.class, groups={"enterpriseMethods", "removeMethod"})
+ @Test(expectedExceptions = UnremovedException.class, groups={"enterpriseMethods", "removeMethod", "stub"})
@SpecAssertion(section = "3.3.5")
public void testStatefulEnterpriseBeanWithoutRemoveMethodNotExplicitlyDestroyedBeforeManagerAttemptFails()
{
@@ -30,7 +30,7 @@
}
- @Test(groups={"enterpriseBeans", "removeMethod"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "stub"})
@SpecAssertion(section = "3.3.5")
public void testWebBeanRemoveMethodCallRemovesInstanceFromContext()
{
@@ -38,21 +38,21 @@
}
- @Test(groups={"enterpriseBeans", "removeMethod"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "stub"})
@SpecAssertion(section = "3.3.5")
public void testNoParametersPassedWhenEnterpriseBeanRemoveMethodCalledFromApplication()
{
assert false;
}
- @Test(groups={"enterpriseBeans", "removeMethod"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "stub"})
@SpecAssertion(section = "3.3.5")
public void testStatefulEnterpriseBeanRemoveMethodCalledOnDestroy()
{
assert false;
}
- @Test(groups={"removeMethod", "enterpriseBeans"})
+ @Test(groups={"removeMethod", "enterpriseBeans", "stub"})
@SpecAssertion(section = "3.3.5.3")
public void testRemoveMethodParameters()
{
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanDeclarationTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanDeclarationTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanDeclarationTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -112,63 +112,63 @@
EnterpriseBean<Pekingese> pekingese = Util.createEnterpriseBean(Pekingese.class, manager);
}
- @Test(expectedExceptions = DefinitionException.class, groups = "enterpriseBeans")
+ @Test(expectedExceptions = DefinitionException.class, groups = {"enterpriseBeans", "stub"})
@SpecAssertion(section = "3.3")
public void testMultipleAnnotationDefinedEnterpriseBeansWithSameImplementationClassFails()
{
assert false;
}
- @Test(groups = { "webbeansxml", "enterpriseBeans" })
+ @Test(groups = { "webbeansxml", "enterpriseBeans", "stub" })
@SpecAssertion(section = "3.3")
public void testMultipleXMLDefinedEnterpriseBeansWithSameImplementationClassOK()
{
assert false;
}
- @Test(groups="enterpriseBeans")
+ @Test(groups={"enterpriseBeans", "stub"})
@SpecAssertion(section = "3.3.1")
public void testAnnotatedEnterpriseBean()
{
assert false;
}
- @Test(groups="enterpriseBeans")
+ @Test(groups={"enterpriseBeans", "stub"})
@SpecAssertion(section = "3.3.1")
public void testAnnotatedEnterpriseBeanComplementedWithXML()
{
assert false;
}
- @Test(groups={"enterpriseBeans", "ejbjarxml"})
+ @Test(groups={"enterpriseBeans", "ejbjarxml", "stub"})
@SpecAssertion(section = "3.3.1")
public void testEJBJARDefinedEnterpriseBean()
{
assert false;
}
- @Test(groups={"enterpriseBeans", "ejbjarxml"})
+ @Test(groups={"enterpriseBeans", "ejbjarxml", "stub"})
@SpecAssertion(section = "3.3.1")
public void testEJBJARDefinedEnterpriseBeanComplementedWithXML()
{
assert false;
}
- @Test(groups="enterpriseBeans")
+ @Test(groups={"enterpriseBeans", "stub"})
@SpecAssertion(section = "3.3.2")
public void testAPITypesAreLocalInterfacesWithoutWildcardTypesOrTypeVariablesWithSuperInterfaces()
{
assert false;
}
- @Test(groups="enterpriseBeans")
+ @Test(groups={"enterpriseBeans", "stub"})
@SpecAssertion(section = "3.3.2")
public void testEnterpriseBeanWithLocalViewAndParameterizedTypeIncludesBeanClassAndSuperclassesInAPITypes()
{
assert false;
}
- @Test
+ @Test(groups="enterpriseBeans")
@SpecAssertion(section = "3.3.2")
public void testObjectIsInAPITypes()
{
@@ -176,28 +176,28 @@
assert laika.getTypes().contains(Object.class);
}
- @Test(groups="enterpriseBeans")
+ @Test(groups={"enterpriseBeans", "stub"})
@SpecAssertion(section = "3.3.2")
public void testRemoteInterfacesAreNotInAPITypes()
{
assert false;
}
- @Test(groups={"enterpriseBeans", "producerMethod", "observerMethod", "renoveMethod", "webbeansxml"})
+ @Test(groups={"enterpriseBeans", "producerMethod", "observerMethod", "removeMethod", "webbeansxml", "stub"})
@SpecAssertion(section = "3.3.4")
public void testXMLDefinedEnterpriseBeanIgnoresProducerAndDisposalAndObserverAnnotations()
{
assert false;
}
- @Test(expectedExceptions = DefinitionException.class, groups={"enterpriseBeans", "ejbjarxml", "singletons"})
+ @Test(expectedExceptions = DefinitionException.class, groups={"enterpriseBeans", "ejbjarxml", "singletons", "stub"})
@SpecAssertion(section = "3.3.4")
public void testXMLDefinedSingletonsFail()
{
assert false;
}
- @Test(expectedExceptions = DefinitionException.class)
+ @Test(expectedExceptions = DefinitionException.class, groups="enterpriseBeans")
@SpecAssertion(section = "3.3")
public void testMessageDrivenBeansNotOK()
{
@@ -205,7 +205,7 @@
}
- @Test
+ @Test(groups="enterpriseBeans")
@SpecAssertion(section = "3.3.7")
public void testDefaultName()
{
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanRemoveMethodTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanRemoveMethodTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanRemoveMethodTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -40,7 +40,7 @@
EnterpriseBean<Armant> bean = Util.createEnterpriseBean(Armant.class, manager);
}
- @Test(groups={"enterpriseBeans", "removeMethod", "lifecycle"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "lifecycle", "stub"})
@SpecAssertion(section = "3.3.5")
public void testStatefulEnterpriseBeanRemoveMethodCalledWhenDestroyedByManager()
{
@@ -66,7 +66,7 @@
EnterpriseBean<WelshCorgie> bean = Util.createEnterpriseBean(WelshCorgie.class, manager);
}
- @Test(groups={"enterpriseBeans", "removeMethod"}, expectedExceptions = UnremovedException.class)
+ @Test(groups={"enterpriseBeans", "removeMethod", "stub"}, expectedExceptions = UnremovedException.class)
@SpecAssertion(section = "3.3.5")
public void testStatefulEnterpriseBeanWithoutRemoveMethodMustBeRemovedByApplicationBeforeManager()
{
@@ -77,7 +77,7 @@
context.destroy(manager);
}
- @Test(groups={"enterpriseBeans", "removeMethod", "lifecycle"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "lifecycle", "stub"})
@SpecAssertion(section = "3.3.5")
public void testApplicationRemoveMethodCallRemovesInstanceFromContext()
{
@@ -156,22 +156,21 @@
}
- @Test(groups={"enterpriseBeans", "removeMethod"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "stub"})
@SpecAssertion(section = "3.3.5.2")
public void testXMLDefinedEnterpriseBeanWithoutMatchingRemoveMethodFails()
{
assert false;
}
- @Test(groups={"enterpriseBeans", "removeMethod"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "stub"})
@SpecAssertion(section = "3.3.5.2")
public void testXMLDefinedEnterpriseBeanWithMultipleRemoveMethodsFails()
{
- XmlEnterpriseBean<ChowChow> bean = Util.createXmlEnterpriseBean(ChowChow.class, manager);
assert false;
}
- @Test(groups={"enterpriseBeans", "removeMethod"})
+ @Test(groups={"enterpriseBeans", "removeMethod", "stub"})
@SpecAssertion(section = "3.3.5.2")
public void testXMLDefinedEnterpriseBeanIgnoresBindingAnnotationOnParameters()
{
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanSpecializationTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanSpecializationTest.java 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/EnterpriseBeanSpecializationTest.java 2008-11-12 21:09:31 UTC (rev 296)
@@ -49,21 +49,21 @@
assert houndOfBaskerville.getName().equals("Pongo");
}
- @Test(expectedExceptions=DefinitionException.class, groups={"specialization", "enterpriseBeans"})
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "specialization", "enterpriseBeans"})
@SpecAssertion(section = "3.3.6")
public void testSpecializingNotSupportingLocalInterfacesOfSpecializedFails()
{
assert false;
}
- @Test(expectedExceptions=DefinitionException.class, groups={"specialization", "enterpriseBeans"})
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "specialization", "enterpriseBeans"})
@SpecAssertion(section = "3.3.6")
public void testSpecializingNotSupportingLocalViewOfSpecializedFails()
{
assert false;
}
- @Test(groups={"specialization", "enterpriseBeans"})
+ @Test(groups={"stub", "specialization", "enterpriseBeans"})
@SpecAssertion(section = "3.3.6")
public void testXMLDefinedSpecializationOnAnnotationDefinedBean()
{
@@ -71,7 +71,7 @@
}
- @Test(expectedExceptions = DeploymentException.class, groups={"enterpriseBeans", "specialization"})
+ @Test(expectedExceptions = DeploymentException.class, groups={"stub", "enterpriseBeans", "specialization"})
@SpecAssertion(section = "3.3")
public void testMultipleEnabledSpecializedEnterpriseBeanFails()
{
@@ -85,7 +85,7 @@
EnterpriseBean<GreaterDane> greaterDane = Util.createEnterpriseBean(GreaterDane.class, manager);
}
- @Test(expectedExceptions=DefinitionException.class, groups={"specialization", "enterpriseBeans"})
+ @Test(expectedExceptions=DefinitionException.class, groups={"stub", "specialization", "enterpriseBeans"})
@SpecAssertion(section = "3.3.6")
public void testXMLDefinedSpecializingEnterpriseBeanNotImplementingAnnotationDefinedEnterpriseBeanFails()
{
Modified: ri/trunk/webbeans-ri/testng.xml
===================================================================
--- ri/trunk/webbeans-ri/testng.xml 2008-11-12 16:49:37 UTC (rev 295)
+++ ri/trunk/webbeans-ri/testng.xml 2008-11-12 21:09:31 UTC (rev 296)
@@ -5,6 +5,7 @@
<test name="Web Beans RI">
<groups>
<run>
+<!--
<exclude name="specialization" />
<exclude name="deployment" />
<exclude name="disposalMethod" />
@@ -22,12 +23,13 @@
<exclude name="servlet" />
<exclude name="passivation" />
- <exclude name="enterpriseBeans" />
- <exclude name="removeMethod" />
<exclude name="singletons" />
<exclude name="ejbjarxml" />
<exclude name="beanDestruction" />
<exclude name="commonAnnotations" />
+-->
+ <exclude name="stub" />
+
</run>
</groups>
<packages>
More information about the weld-commits
mailing list