Class BasicCoreWarBuilder

    • Constructor Detail

      • BasicCoreWarBuilder

        protected BasicCoreWarBuilder​(Class<T> test)
        Constructs a war builder for the specified test class. It will load all the resources in the same packages of the specified test class.
        Type Parameters:
        T - the concrete type of the test
        Parameters:
        test - the class of the test for which a war archive will be build.
    • Method Detail

      • onWarForTestClass

        public static <T> BasicCoreWarBuilder onWarForTestClass​(Class<T> test)
        Constructs an instance of the basic core war archive builder for the specified test class.
        Type Parameters:
        T - the type of the test.
        Parameters:
        test - the test class for which a war will be built. Any resources located in the same package of the test will be loaded into the war.
        Returns:
        a basic builder of the war archive.