Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1263

Weld integration tests should not depend on weld-core

    XMLWordPrintable

Details

    Description

      Currently, many tests in tests-arquillian depend on classes from weld-core, which is not optimal as it reduces portability. Such tests, for example, can't be run (without modification) on Glassfish.

      This pertains to all tests that use classes from the weld-core-test package, like the org.jboss.weld.test.util.Utils class, which is used by:

      org.jboss.weld.tests.producer.receiver.ReceiverBeanLifecycleTest
      org.jboss.weld.tests.producer.method.ManagerProducerTest
      org.jboss.weld.tests.producer.method.DisposalMethodOnOtherBeanNotResolvedTest
      org.jboss.weld.tests.producer.method.NamedProducerTest
      org.jboss.weld.tests.producer.method.NullProducerTest
      org.jboss.weld.tests.producer.method.NamedProducerWithBindingTest
      org.jboss.weld.tests.producer.method.InstanceCleanupTest
      org.jboss.weld.tests.producer.method.DisposalMethodInjectionPointTest
      org.jboss.weld.tests.resolution.ResolutionTest
      org.jboss.weld.tests.resolution.LookupInstanceTest
      org.jboss.weld.tests.resolution.wbri293.ContextualReferenceTest
      org.jboss.weld.tests.scope.RemoteScopeTest
      org.jboss.weld.tests.scope.ScopeTest
      org.jboss.weld.tests.scope.RemoteClient
      org.jboss.weld.tests.injectionTarget.InjectionTargetTest
      org.jboss.weld.tests.decorators.custom.CustomDecorator2Test
      org.jboss.weld.tests.decorators.custom.CustomDecoratorTest
      org.jboss.weld.tests.enterprise.EnterpriseBeanTest
      org.jboss.weld.tests.enterprise.EnterpriseBeanDefinitionTest
      org.jboss.weld.tests.enterprise.lifecycle.EnterpriseBeanLifecycleTest
      org.jboss.weld.tests.enterprise.lifecycle.RemoteClient
      org.jboss.weld.tests.enterprise.lifecycle.EnterpriseBeanLifecycleRemoteTest
      org.jboss.weld.tests.builtinBeans.ee.EEResourceProducerFieldPassivationCapableTest
      org.jboss.weld.tests.builtinBeans.BuiltInBeanPassivationCapableTest
      org.jboss.weld.tests.contexts.passivating.serialization.PassivationTest
      org.jboss.weld.tests.contexts.passivating.serialization.interception.PassivationTest
      org.jboss.weld.tests.contexts.ContextTest
      org.jboss.weld.tests.event.observer.transactional.TransactionalObserversTest
      org.jboss.weld.tests.injectionPoint.InjectionPointTest
      org.jboss.weld.tests.activities.ActivitiesTest
      org.jboss.weld.tests.activities.current.ELCurrentActivityTest
      org.jboss.weld.tests.activities.current.InstanceCurrentActivityTest
      org.jboss.weld.tests.activities.current.JndiManagerCurrentActivityTest
      org.jboss.weld.tests.activities.current.InjectedManagerCurrentActivityTest
      org.jboss.weld.tests.activities.current.EventCurrentActivityTest
      org.jboss.weld.tests.activities.current.NonNormalScopeTest
      org.jboss.weld.tests.extensions.supertypes.beans.SuperTypeTest
      org.jboss.weld.tests.extensions.annotatedType.AnnotatedTypeExtensionTest
      org.jboss.weld.tests.extensions.injectionTarget.InjectionTargetTest
      org.jboss.weld.tests.extensions.multipleBeans.MultipleBeansTest
      org.jboss.weld.tests.proxy.enterprise.EnterpriseBeanProxyTest
      org.jboss.weld.tests.beanManager.BeanManagerTest
      org.jboss.weld.tests.beanManager.serializability.ManagerTest
      org.jboss.weld.tests.exceptions.ExceptionHandlingTest
      org.jboss.weld.tests.serialization.SerializationTest
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jharting Jozef Hartinger
              rsmeral Ron Šmeral (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: