org.jboss.cdi.tck
Class AbstractTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener
Direct Known Subclasses:
AbstractConversationTest, AbstractDecoratorTest, AbstractObserverNotificationTest, AddDefinitionErrorTest, AddDefinitionErrorTest, AddDefinitionErrorTest, AddDefinitionErrorTest, AddDeploymentProblemTest, AddingNormalScopeTest, AddingPassivatingScopeTest, AfterBeanDiscoveryObserverExecutionFailureTest, AfterBeanDiscoveryTest, AfterDeploymentValidationObserverExecutionFailureTest, AfterTypeDiscoveryTest, AlterableContextTest, AlternativeAvailabilityTest, AlternativeInLibraryWithExtensionTest, AlternativeMetadataTest, AlternativeMetaDataTest, AmbiguousDependencyResolutionTest, AmbiguousDependencyTest, AmbiguousELNamesTest, AmbiguousELNamesTest, AmbiguousInjectableReferenceTest, AmbiguousInjectionIntoNonContextualComponentTest, AnnotatedTypeAnnotationsTest, AnyInjectionTest, ApplicationContextAsyncListenerTest, ApplicationContextDestructionTest, ApplicationContextDisposerTest, ApplicationContextPreDestroyTest, ApplicationContextSharedTest, ApplicationContextTest, ApplicationInitializationLifecycleTest, ApplicationScopeEventMultiWarTest, ApplicationScopeEventTest, ApplicationShutdownLifecycleTest, AroundConstructTest, AroundConstructTest, AroundInvokeInterceptorTest, ArrayTest, AssignabilityOfRawAndParameterizedTypesTest, BeanByTypeTest, BeanConstructorWithParametersTest, BeanDefinitionTest, BeanDiscoveryTest, BeanManagerTest, BeanRegistrationByExtensionInNonBeanArchiveTest, BeansDescriptorAlternativeLocationTest, BeanTypeParamConstructorTest, BeanTypeParamDisposerTest, BeanTypeParamFieldTest, BeanTypeParamInitializerTest, BeanTypeParamProducerTest, BeforeBeanDiscoveryTest, BeforeBeanDiscoveryThrowsExceptionTest, BindingAnnotationWithMemberTest, BindingAnnotationWithMemberTest, BuiltinBeanPassivationDependencyTest, BuiltInBeansTest, BuiltinDecoratorInjectionTest, BuiltinInstanceDependentObjectTest, BuiltinInstanceTest, BuiltinInterceptorInjectionTest, BuiltinMetadataBeanTest, BuiltinUserTransactionDecoratorTest, CDIProviderInitTest, CDIProviderRuntimeTest, CircularDependencyTest, ClassIsNotAlternativeTest, ClassIsNotAlternativeTest, ClientProxyTest, ClientProxyTest, ComplexEventDecoratorTest, ConditionalObserverTest, ConstructorHasDisposesParameterTest, ConstructorHasObservesParameterTest, ConstructorInterceptionTest, ContainerEventTest, ContainerEventTest, ContainerEventTest, ContainerEventTest, ContainerEventTest, ContextDestroysBeansTest, ContextTest, ConversationDeterminationTest, ConversationFilterTest, CreateBeanAttributesTest, CreateInjectionPointTest, CreationalContextForNonContextualTest, CustomBeanImplementationTest, CustomCDIProviderTest, CustomDecoratorMatchingBeanWithFinalClassTest, CustomDecoratorTest, CustomDecoratorWithNoDelegateInjectionPointTest, CustomDecoratorWithTooManyDelegateInjectionPointsTest, CustomInterceptorInvocationTest, CustomInterceptorRegistrationTest, CustomInterceptorTest, CustomPassivatingScopeCalledWithSerializableParametersTest, CustomTransactionalObserverTest, DataSourcePassivationDependencyTest, DecoratedBeanConstructorInjectionTest, DecoratedBeanFieldInjectionTest, DecoratedBeanInitializerInjectionTest, DecoratorAndInterceptorTest, DecoratorAnnotatedStatelessSessionBeanTest, DecoratorDefinitionTest, DecoratoredBeanProxyTest, DecoratoredBeanTypeParamConstructorTest, DecoratoredBeanTypeParamFieldTest, DecoratoredBeanTypeParamInitializerTest, DecoratorInstanceIsDependentObjectTest, DecoratorInvocationTest, DecoratorInvocationTest, DecoratorInvocationTest, DecoratorListedTwiceInBeansXmlTest, DecoratorNotAppliedToResultOfProducerTest, DecoratorNotInjectedTest, DecoratorProcessBeanAttributesTest, DecoratorResolutionTest, DecoratorTypeParamConstructorTest, DecoratorTypeParamFieldTest, DecoratorTypeParamInitializerTest, DecoratorWithInvalidAbstractMethodTest, DecoratorWithNoDecoratedTypes1Test, DecoratorWithNoDecoratedTypes2Test, DecoratorWithNoDecoratedTypes3Test, DecoratorWithNonPassivatingInjectedFieldTest, DecoratorWithNonPassivationCapableDependenciesTest, DecoratorWithObserverMethodTest, DefaultNamedTest, DefinitionTest, DelegateFieldInjectionPointTest, DelegateInjectionPointTest, DelegateInjectionPointTest, DelegateInjectionPointTest, DelegateTypeImplementsParameterizedDecoratedTypeTest, DependentContextEjbTest, DependentContextTest, DependentIsConditionalObserverTest, DependentTransientReferenceDestroyedTest, DependentWithPublicFieldTest, DeploymentFailureTest, DeploymentTest, DestroyConversationNotAssociatedWithCurrentRequestEventTest, DestroyedInstanceReturnedByGetTest, DestroyForSameCreationalContext2Test, DestroyForSameCreationalContextTest, DestroyingDependentInstanceTest, DestroyingNormalScopedInstanceTest, DifferentTypeParametersTest, DirectlyExtendsNothingTest, DirectlyExtendsSimpleBeanTest, DisabledBeanNotAvailableForInjectionTest, DisabledProducerFieldInjectionNotAvailableTest, DisabledProducerMethodInjectionNotAvailableTest, DisabledSessionBeanInjectionNotAvailableTest, DisposalMethodDefinitionTest, DisposalMethodOnSessionBeanTest, DisposedParameterPositionTest, DisposerInjectionPointMetadataTest, DisposerMethodInheritanceTest, DisposerMethodOnDecoratorTest, DisposerMethodOnInterceptorTest, DisposerMethodParameterInjectionValidationTest, DisposerMethodParameterInjectionValidationTest, DuplicateBindingTypesWhenResolvingTest, DuplicateIdentifiedAnnotatedTypeTest, DuplicitNameTest, DynamicInjectionPointTest, DynamicLookupTest, EagerSingletonPostConstructCallbackTest, EagerSingletonPostConstructCallbackTest, EJBDecoratorInvocationTest, EjbInitializerMethodTest, EjbInjectionTest, EJBJarDeploymentTest, EJBObserverMethodNotBusinessMethodTest, EJBRequestContextTest, EnabledDecoratorNotADecoratorTest, EnabledManagedBeanInjectionAvailabilityTest, EnabledProducerFieldInjectionAvailabilityTest, EnabledProducerMethodInjectionAvailabilityTest, EnabledSessionBeanInjectionAvailabilityTest, EnterpriseArchiveModulesTest, EnterpriseBeanDefinitionTest, EnterpriseBeanDiscoveryTest, EnterpriseBeanLifecycleTest, EnterpriseBeanNotDiscoveredAsManagedBeanTest, EnterpriseBeanRemoveMethodTest, EnterpriseBeanSpecializationTest, EnterpriseBeanViaXmlTest, EnterpriseBeanWithIllegalDependencyTest, EnterpriseBeanWithIllegalDependencyTest, EnterpriseBeanWithNonPassivatingDecoratorTest, EnterpriseBeanWithNonPassivatingInjectedFieldInDecoratorTest, EnterpriseBeanWithNonPassivatingInjectedFieldInInterceptorTest, EnterpriseBeanWithNonPassivatingInterceptorTest, EnterpriseDecoratorInvocationTest, EnterpriseInterceptorBindingResolutionTest, EnterpriseLifecycleInterceptorDefinitionTest, EnterpriseLifecycleInterceptorDefinitionTest, EnterpriseObserverInheritanceTest, EnterpriseProducerFieldDefinitionTest, EnterpriseProducerMethodDefinitionTest, EnterpriseProducerMethodSpecializationTest, EnterpriseQualifierDefinitionTest, EnterpriseResolutionByTypeTest, EnterpriseScopeDefinitionTest, EnterpriseSelectedAlternative01Test, EnterpriseStereotypeAlternativeSpecializeTest, EnterpriseStereotypeAlternativeTest, EnterpriseStereotypeDefinitionTest, EnterpriseStereotypeInterceptorBindingTest, EnterpriseVetoedTest, EnterpriseWithAnnotationsTest, EnvInjectionTest, EventBindingTypesTest, EventInjectionWithoutTypeTest, EventMetadataInjectionPointTest, EventMetadataTest, EventTest, EventTypesTest, ExceptionTest, ExcludeFiltersTest, ExtensionLifecycleTest, ExtensionsCommunicationTest, FinalBeanClassTest, FinalBeanMethodTest, FinalClassClassLevelInterceptorTest, FinalClassMethodLevelInterceptorTest, FinalClassTest, FinalClassWithInheritedClassLevelInterceptorTest, FinalClassWithInheritedStereotypeInterceptorTest, FinalMethodClassLevelInterceptorTest, FinalMethodMethodLevelInterceptorTest, FinalMethodWithInheritedClassLevelInterceptorTest, FinalMethodWithInheritedStereotypeInterceptorTest, FireContainerLifecycleEventTest, FireEventTest, GenericInitializerMethodTest, GenericManagedBeanTest, GenericStatelessSessionBeanTest, GetAnnotatedTypesTest, GetFromContextualTest, GetOnInactiveContextTest, GetWithNoCreationalContextTest, GlobalDecoratorOrderingTest, GlobalInterceptorOrderingTest, CheckedExceptionWrappedTest, ChecksEventTypeWhenResolvingTest, CheckTypeParametersWhenResolvingObserversTest, ImplicitEventTest, InactiveConversationTest, IncompatibleStereotypesTest, InconsistentSpecializationTest, IndirectOverrideTest, InitializerMethodAnnotatedProducesTest, InitializerMethodInheritanceTest, InitializerMethodTest, InitializerUnallowedDefinitionTest, InjectableReferenceTest, InjectAnnotatedProducerFieldTest, InjectedFieldAnnotatedWithProducesTest, InjectionIntoNonContextualComponentTest, InjectionOfResourceTest, InjectionPointOverridingTest, InjectionPointTest, InjectionPointTest, InjectionTargetDefinitionErrorTest, InjectionTest, InstalledLibraryEarTest, InstalledLibraryWarTest, IntegrationWithUnifiedELTest, InterceptedBeanConstrutctorInjectionTest, InterceptedBeanFieldInjectionTest, InterceptedBeanInitializerInjectionTest, InterceptedBeanProxyTest, InterceptedBeanTypeParamConstructorTest, InterceptedBeanTypeParamFieldTest, InterceptedBeanTypeParamInitializerTest, InterceptorAnnotatedStatelessSessionBeanTest, InterceptorBindingEquivalenceTest, InterceptorBindingInheritanceTest, InterceptorBindingOverridingTest, InterceptorBindingResolutionTest, InterceptorBindingTypeWithMemberTest, InterceptorCalledBeforeDecoratorTest, InterceptorCanNotBeDecoratorTest, InterceptorDefinitionTest, InterceptorExtensionTest, InterceptorForLifecycleTargetMethodTest, InterceptorInvocationTest, InterceptorNotListedInBeansXmlNotEnabledTest, InterceptorNotResolvedInterModuleTest, InterceptorNotResolvedTest, InterceptorOrderTest, InterceptorProcessBeanAttributesTest, InterceptorTypeParamConstructorTest, InterceptorTypeParamFieldTest, InterceptorTypeParamInitializerTest, InterceptorWithNonPassivationCapableDependenciesTest, InterceptorWithObserverMethodTest, InterModuleELResolutionTest, InterModuleLookupTest, InvalidEventMetadataInjectionPointTest, InvalidQualifierTest, InvalidScopeTest, InvalidStereotypeInterceptorBindingAnnotationsTest, InvalidStereotypeTest, InvalidTransitiveInterceptorBindingAnnotationsTest, InvalidTypesTest, InvocationContextTest, InvocationOrderTest, InvocationOrderTest, JarToJarAlphaVisibilityTest, JarToJarReverseAlphaVisibilityTest, JavaEEComponentsTest, LegalRequiredTypeTest, LibraryInEarTest, LibraryInWarTest, LibraryMissingBeansXmlTest, LifecycleCallbackInterceptorExceptionTest, LifecycleCallbackInterceptorTest, LifecycleCallbackInterceptorTest, LifecycleInterceptorDefinitionTest, LifecycleInterceptorOrderTest, LongRunningConversationLifecycleEventTest, ManagedBeanTypesTest, ManagedBeanWithNonPassivatingDecoratorTest, ManagedBeanWithNonSerializableInterceptorClassTest, ManagerTest, ManagerTest, ManagerTestEar, MemberLevelInheritanceTest, MessageDrivenBeanContextTest, MessageDrivenBeanInterceptorInvocationTest, MethodLevelInterceptorTest, MultipleDelegateInjectionPointsTest, MultipleDisposeParametersDefinitionTest, MultipleDisposerMethodsForProducerMethodTest, MultipleInterceptorBindingsTest, MultiWebModuleWithExtensionTest, NamedAtInjectionPointTest, NameDefinitionTest, NamedNonFieldInjectionPointTest, NamedNonFieldInjectionPointTest, NamedNonFieldInjectionPointTest, NamePrefixTest, NewEnterpriseBeanICTest, NewEnterpriseBeanTest, NewSimpleBeanTest, NoAnnotationWithSpecifiedNameTest, NoClassWithSpecifiedNameTest, NoDelegateInjectionPointsTest, NonBindingTypePassedToFireTest, NonBindingTypesWhenResolvingTest, NonContextualInjectionPointTest, NonDecoratorWithDecoratesTest, NonDependentWithPublicStaticFieldTest, NonEmptyNamedTest, NonExistantClassInBeansXmlTest, NonExistantDecoratorClassInBeansXmlTest, NonInterceptorClassInBeansXmlTest, NonPassivatingConstructorParamTest, NonPassivatingInitParamTest, NonPassivatingInjectedFieldTest, NonPassivationCapableEjbWithPassivatingScopeTest, NonPassivationCapableProducerFieldTest, NonPassivationCapableProducerMethodTest, NonPassivationCapableSessionBeanTest, NonPassivationManagedBeanHasPassivatingScopeTest, NonPrivateNonStaticMethodTest, NonPrivateNonStaticSuperclassMethodTest, NonStaticFieldOfSessionBeanTest, NormalContextTest, NormalScopedBeanWithInjectionPoint, NotAllDecoratedTypesImplementedTest, ObserverExceptionAbortsProcessingTest, ObserverExceptionRethrownTest, ObserverInheritanceTest, ObserverMethodAnnotatedDisposesTest, ObserverMethodAnnotatedProducesTest, ObserverMethodOnIncorrectBeanTest, ObserverMethodParameterInjectionValidationTest, ObserverMethodParameterInjectionValidationTest, ObserverMethodTest, ObserverMethodWithParametertizedTypeTest, ObserverMethodWithTwoEventParametersTest, ObserverNotificationTest, ObserverParameterUnallowedDefinitionTest, OverridenLifecycleCallbackInterceptorTest, OverridenLifecycleCallbackInterceptorTest, ParameterAnnotatedDisposesTest, ParameterAnnotatedDisposesTest, ParameterAnnotatedObservesTest, ParameterAnnotatedObservesTest, ParameterizedEventTest, ParameterizedReturnTypeWithTypeVariableTest, ParameterizedReturnTypeWithWildcardTest, ParameterizedTypesInjectionRawAmbiguousTest, ParameterizedTypesInjectionToParameterizedWithActualTypeTest, ParameterizedTypesInjectionToParameterizedWithTypeVariableTest, ParameterizedTypesInjectionToParameterizedWithTypeVariableUpperBoundTest, ParameterizedTypesInjectionToParameterizedWithWildcardTest, ParameterizedTypesInjectionToRawTypeTest, ParameterizedTypeWithWildcardTest, PassivatingContextTest, PassivationCapabilityErrorTest, PassivationCapableBeanWithNonPassivatingInterceptorTest, PassivationCapableDependencyErrorTest, PassivationCapableInjectionPointTest, PassivationIdTest, PersistenceContextInjectionTest, PrimitiveInjectionPointTest, PrivateConstructorTest, PrivateFinalMethodTest, ProcessAnnotatedTypeEventThrowsExceptionTest, ProcessAnnotatedTypeTest, ProcessBeanAttributesNotFiredForBuiltinBean, ProcessBeanAttributesNotFiredForSyntheticBeanTest, ProcessBeanTest, ProcessInjectionPointFiredTest, ProcessInjectionTargetEventThrowsExceptionTest, ProcessObserverMethodErrorTest, ProcessObserverMethodEventTest, ProcessObserverMethodExceptionTest, ProcessSessionBeanTest, ProcessSyntheticAnnotatedTypeTest, ProducerFieldDefinitionTest, ProducerFieldLifecycleTest, ProducerFieldOnDecoratorTest, ProducerFieldOnInterceptorTest, ProducerFieldWithTypeVariableTest, ProducerMethodDefinitionTest, ProducerMethodLifecycleTest, ProducerMethodNotBusinessMethodTest, ProducerMethodOnDecoratorTest, ProducerMethodOnInterceptorTest, ProducerMethodSpecializationTest, ProducerMethodWithDefaultNameTest, ProducerMethodWithPrimitiveReturnTypePassivationTest, ProducerProcessingWithDefinitionErrorTest, ProducerProcessingWithExceptionTest, ProducerTest, ProducerWithPrimitiveFieldTypePassivationTest, ProducesUnallowedDefinitionTest, QualifierDefinitionTest, QualifierEquivalenceTest, QualifierInheritedTest, QualifierNotDeclaredTest, QualifierNotInheritedTest, RawBeanTypeParameterizedRequiredTypeTest, RawEventConstructorInjectionTest, RawEventCustomBeanTest, RawEventDisposerInjectionTest, RawEventFieldInjectionTest, RawEventInitMethodInjectionTest, RawEventObserverInjectionTest, RawEventProcessInjectionPointTest, RawEventProducerMethodInjectionTest, RawInstanceConstructorInjectionTest, RawInstanceCustomBeanTest, RawInstanceDisposerInjectionTest, RawInstanceFieldInjectionTest, RawInstanceInitMethodInjectionTest, RawInstanceObserverInjectionTest, RawInstanceProcessInjectionPointTest, RawInstanceProducerMethodInjectionTest, RequestContextAsyncListenerTest, RequestContextTest, RequestContextTest, RequestContextTest, RequestScopedProducerFieldWithTypeVariableTest, RequestScopeEventAsyncTest, RequestScopeEventMessageDeliveryTest, RequestScopeEventRemoteTest, RequestScopeEventTest, RequestScopeEventTimeoutTest, ResolutionByNameTest, ResolutionByNameTest, ResolutionByTypeTest, ResolveEnterpriseEventObserverTest, ResolveEventObserversTest, ResolvingChecksBindingTypeMembersTest, ResourceAdapterArchiveTest, ResourceAlternative01Test, ResourceAlternative04Test, ResourceAlternativeAvailabilityTest, ResourceDefinitionWithDifferentTypeTest, ResourceDefinitionWithDifferentTypeTest, ResourceDefinitionWithDifferentTypeTest, ResourceDefinitionWithDifferentTypeTest, ResourceDefinitionWithDifferentTypeTest, ResourceDefinitionWithNameTest, ResourcePassivationDependencyTest, ResourcePassivationDependencyTest, RestrictedManagedBeanTest, RestrictedProducerFieldTest, RestrictedProducerMethodTest, RestrictedSessionBeanTest, SameClassListedTwiceInBeansXmlTest, SameNameTest, SameTypeListedTwiceTest, ScopeDefinitionTest, SelectedAlternative01Test, SelectedAlternative02Test, SelectedAlternativeManagedBeanInjectionAvailabilityTest, SelectedAlternativeSessionBeanInjectionAvailabilityTest, SelectedBeanWithUnselectedStereotypeTest, SelectEventTest, ServletContainerBuiltinBeanTest, ServletConversationTest, SessionBeanAlternativeTest, SessionBeanConstructorInterceptionTest, SessionBeanInjectionChainTest, SessionBeanInjectionOrderingTest, SessionBeanInjectionTest, SessionBeanInterceptorDefinitionTest, SessionBeanInterceptorOnNonContextualEjbReferenceTest, SessionBeanInterceptorOrderTest, SessionBeanPassivationDependencyTest, SessionBeanTypesTest, SessionContextAsyncListenerTest, SessionContextHttpSessionListenerTest, SessionContextServletRequestListenerTest, SessionContextTest, SessionScopeEventTest, SetBeanAttributesTest, SetBeanAttributesTest, SimpleBeanDefinitionTest, SimpleBeanLifecycleTest, SimpleBeanPostConstructCallbackTest, SimpleBeanPostConstructCallbackTest, SimpleBeanSpecializationTest, SingletonWithConversationScopeTest, SingletonWithRequestScopeTest, SingletonWithSessionScopeTest, SingleWebModuleWithExtensionTest, SpecializationModularity01Test, SpecializationModularity02Test, SpecializationModularity03Test, SpecializationModularity04Test, SpecializationModularity05Test, SpecializationModularity06Test, SpecializationModularity07Test, SpecializationModularity08Test, SpecializationTest, SpecializedBeanInjectionNotAvailableTest, SpecializedProducerMethodInjectionNotAvailableTest, SpecializesStaticMethodTest, SpecializingAndSpecializedBeanHasNameTest, SpecializingAndSpecializedBeanHaveNameTest, SpecializingBeanExtendsEnterpriseBeanTest, SpecializingBeanExtendsNothingTest, SpecializingBeanImplementsInterfaceOnly, SpecializingBeanWithoutBeanTypeOfSpecializedBeanTest, SpecializingClassExtendsNonSimpleBeanTest, StatefulSessionBeanTest, StatefulSessionBeanTest, StatefulSessionBeanXmlDescriptorTest, StatefulSessionBeanXmlDescriptorTest, StatelessWithApplicationScopeTest, StatelessWithConversationScopeTest, StatelessWithRequestScopeTest, StatelessWithSessionScopeTest, StaticFinalMethodTest, StereotypeDefinitionTest, StereotypeExtensionTest, StereotypeInheritenceTest, StereoTypeWithBindingTypesTest, StereotypeWithMultipleInterceptorBindingsTest, SyntheticBeanTest, SyntheticProducerTest, ThrowExceptionInProcessBeanObserverTest, ThrowExceptionTest, ThrowExceptionTest, ThrowExceptionTest, TooManyInitializerAnnotatedConstructorsTest, TooManyScopesTest, TooManyScopeTypesTest, TransactionalObserverTest, TransientConversationLifecycleEventTest, TransientReferenceParameterTest, TwoBeansOneClassTest, TwoBeansSpecializeTheSameBeanTest, TwoBeansSpecializeTheSameBeanTest, TypeConflictDetectionTest, TypeParametersNotTheSameTest, TypeVariableInjectionPointTest, TypeVariableReturnTypeTest, UnavailableMethodsDuringApplicationInitializationTest, UnmanagedInstanceTest, UnproxyableManagedBeanTest, UnproxyableTest, UnresolvedDisposalMethodDefinitionTest, UnsatisfiedDependencyTest, UnsatisfiedInjectableReferenceTest, UnsatisfiedInjectionIntoNonContextualComponentTest, UnserializableSimpleInjectedIntoPassivatingEnterpriseBeanTest, UserTransactionInvalidInjectionTest, VerifyValuesTest, VetoedTest, VetoTest, VetoTest, VisibilityOfAnnotatedTypesFromExtensionInAlphaBeanArchiveTest, VisibilityOfAnnotatedTypesFromExtensionInBravoBeanArchiveTest, VisibilityOfBeanInWebModuleFromBeanManagerInBeanLibraryTest, VisibilityOfBeanRegisteredByExtensionFromNonBeanLibraryTest, WebArchiveModulesTest, WebServiceResourceTest, WithAnnotationsAppliedToIllegalContainerLifecycleEventParameterTest, WithAnnotationsAppliedToIllegalEventParameterTest, WithAnnotationsTest, WrapExpressionFactoryTest

public abstract class AbstractTest
extends org.jboss.arquillian.testng.Arquillian

Abstract CDI TCK test.


Field Summary
protected  javax.enterprise.inject.spi.BeanManager beanManager
           
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
AbstractTest()
           
 
Method Summary
protected  Object activate(byte[] bytes)
           
 boolean annotationSetMatches(Set<? extends Annotation> annotations, Annotation... requiredAnnotations)
           
 boolean annotationSetMatches(Set<? extends Annotation> annotations, Class<? extends Annotation>... requiredAnnotationTypes)
          Checks if all annotations are in a given set of annotations
protected  void destroyContext(javax.enterprise.context.spi.Context context)
           
<T> Set<javax.enterprise.inject.spi.Bean<T>>
getBeans(Class<T> type, Annotation... bindings)
           
<T> Set<javax.enterprise.inject.spi.Bean<T>>
getBeans(javax.enterprise.util.TypeLiteral<T> type, Annotation... bindings)
           
<T> T
getContextualReference(Class<T> beanType, Annotation... qualifiers)
           
<T> T
getContextualReference(String name, Class<T> beanType)
           
<T> T
getContextualReference(javax.enterprise.util.TypeLiteral<T> beanType, Annotation... qualifiers)
           
protected  Configuration getCurrentConfiguration()
           
protected  javax.enterprise.inject.spi.BeanManager getCurrentManager()
          Note that TCK uses Arquillian Servlet protocol and so the test class is instantiated/enriched from within the WAR module.
<T> javax.enterprise.inject.spi.Bean<T>
getUniqueBean(Class<T> type, Annotation... bindings)
           
<T> javax.enterprise.inject.spi.Bean<T>
getUniqueBean(javax.enterprise.util.TypeLiteral<T> type, Annotation... bindings)
           
protected  boolean isThrowablePresent(Class<? extends Throwable> throwableType, Throwable throwable)
          Extracted from test harness.
<T> DependentInstance<T>
newDependentInstance(Class<T> beanType, Annotation... qualifiers)
           
protected  byte[] passivate(Object instance)
           
 boolean rawTypeSetMatches(Set<Type> types, Class<?>... requiredTypes)
           
protected  void setContextActive(javax.enterprise.context.spi.Context context)
           
protected  void setContextInactive(javax.enterprise.context.spi.Context context)
           
 boolean typeSetMatches(Collection<? extends Type> types, Type... requiredTypes)
           
 
Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanManager

@Inject
protected javax.enterprise.inject.spi.BeanManager beanManager
Constructor Detail

AbstractTest

public AbstractTest()
Method Detail

getCurrentManager

protected javax.enterprise.inject.spi.BeanManager getCurrentManager()
Note that TCK uses Arquillian Servlet protocol and so the test class is instantiated/enriched from within the WAR module. This affects most of the BeanManager methods functionality. For instance the method BeanManager.getBeans(Type, Annotation...) returns the set of beans which are available for injection in the module or library containing the class into which the BeanManager was injected (simplified).

Returns:
the current BeanManager

passivate

protected byte[] passivate(Object instance)
                    throws IOException
Throws:
IOException

activate

protected Object activate(byte[] bytes)
                   throws IOException,
                          ClassNotFoundException
Throws:
IOException
ClassNotFoundException

setContextActive

protected void setContextActive(javax.enterprise.context.spi.Context context)

setContextInactive

protected void setContextInactive(javax.enterprise.context.spi.Context context)

destroyContext

protected void destroyContext(javax.enterprise.context.spi.Context context)

getCurrentConfiguration

protected Configuration getCurrentConfiguration()

annotationSetMatches

public boolean annotationSetMatches(Set<? extends Annotation> annotations,
                                    Class<? extends Annotation>... requiredAnnotationTypes)
Checks if all annotations are in a given set of annotations

Parameters:
annotations - The annotation set
requiredAnnotationTypes - The annotations to match
Returns:
True if match, false otherwise

annotationSetMatches

public boolean annotationSetMatches(Set<? extends Annotation> annotations,
                                    Annotation... requiredAnnotations)
Parameters:
annotations - The annotation set
requiredAnnotationTypes - The required annotations
Returns:
true if speficied set matches required annotations, false otherwise

rawTypeSetMatches

public boolean rawTypeSetMatches(Set<Type> types,
                                 Class<?>... requiredTypes)

typeSetMatches

public boolean typeSetMatches(Collection<? extends Type> types,
                              Type... requiredTypes)

getUniqueBean

public <T> javax.enterprise.inject.spi.Bean<T> getUniqueBean(Class<T> type,
                                                             Annotation... bindings)

getUniqueBean

public <T> javax.enterprise.inject.spi.Bean<T> getUniqueBean(javax.enterprise.util.TypeLiteral<T> type,
                                                             Annotation... bindings)

getBeans

public <T> Set<javax.enterprise.inject.spi.Bean<T>> getBeans(Class<T> type,
                                                             Annotation... bindings)

getBeans

public <T> Set<javax.enterprise.inject.spi.Bean<T>> getBeans(javax.enterprise.util.TypeLiteral<T> type,
                                                             Annotation... bindings)

getContextualReference

public <T> T getContextualReference(Class<T> beanType,
                                    Annotation... qualifiers)

getContextualReference

public <T> T getContextualReference(javax.enterprise.util.TypeLiteral<T> beanType,
                                    Annotation... qualifiers)

getContextualReference

public <T> T getContextualReference(String name,
                                    Class<T> beanType)

newDependentInstance

public <T> DependentInstance<T> newDependentInstance(Class<T> beanType,
                                                     Annotation... qualifiers)

isThrowablePresent

protected boolean isThrowablePresent(Class<? extends Throwable> throwableType,
                                     Throwable throwable)
Extracted from test harness. We need this since testng expected exceptions feature is not working with exception cause - see org.testng.internal.Invoker.isExpectedException(Throwable, ExpectedExceptionsHolder).

Parameters:
throwableType -
throwable -
Returns:
true if throwable type is assignable from specified throwable or any cause in stack (works recursively), false otherwise


Copyright © 2008-2013 Seam Framework. All Rights Reserved.