Class AlternativeMetaDataTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class AlternativeMetaDataTest
    extends AbstractTest
    Contains all the functioning tests for the extension which provides alternative meta data sources. Some of the assertions are really statements of intent, but are tested here to make sure the container provides implementations that meet that same intent as any third party extension would.
    Author:
    David Allen, Martin Kouba
    • Constructor Detail

      • AlternativeMetaDataTest

        public AlternativeMetaDataTest()
    • Method Detail

      • createTestArchive

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
      • testBaseType

        @SpecAssertion(section="alternative_metadata_sources",
                       id="c")
        public void testBaseType()
      • testTypeClosure

        @SpecAssertion(section="alternative_metadata_sources",
                       id="d")
        public void testTypeClosure()
      • testGetAnnotation

        @SpecAssertion(section="alternative_metadata_sources",
                       id="e")
        public void testGetAnnotation()
      • testGetAnnotations

        @SpecAssertions(@SpecAssertion(section="alternative_metadata_sources",id="f"))
        public void testGetAnnotations()
      • testIsAnnotationPresent

        @SpecAssertion(section="alternative_metadata_sources",
                       id="g")
        public void testIsAnnotationPresent()
      • testConstructors

        @SpecAssertion(section="alternative_metadata_sources",
                       id="aaa")
        public void testConstructors()
      • testMethods

        @SpecAssertion(section="alternative_metadata_sources",
                       id="aab")
        public void testMethods()
      • testFields

        @SpecAssertion(section="alternative_metadata_sources",
                       id="aad")
        public void testFields()