Class JavaProgramTestBaseJUnit4


  • @Deprecated
    public abstract class JavaProgramTestBaseJUnit4
    extends AbstractTestBaseJUnit4
    Deprecated.
    Use JavaProgramTestBase instead.
    Base class for unit tests that run a single test with object reuse enabled/disabled and against collection environments.

    To write a unit test against this test base, simply extend it and implement the testProgram() method.

    To skip the execution against collection environments you have to override skipCollectionExecution().

    • Constructor Detail

      • JavaProgramTestBaseJUnit4

        public JavaProgramTestBaseJUnit4()
        Deprecated.
    • Method Detail

      • setNumberOfTestRepetitions

        public void setNumberOfTestRepetitions​(int numberOfTestRepetitions)
        Deprecated.
      • getParallelism

        public int getParallelism()
        Deprecated.
      • getLatestExecutionResult

        public org.apache.flink.api.common.JobExecutionResult getLatestExecutionResult()
        Deprecated.
      • testProgram

        protected abstract void testProgram()
                                     throws Exception
        Deprecated.
        Throws:
        Exception
      • skipCollectionExecution

        protected boolean skipCollectionExecution()
        Deprecated.
      • testJobWithObjectReuse

        public void testJobWithObjectReuse()
                                    throws Exception
        Deprecated.
        Throws:
        Exception
      • testJobWithoutObjectReuse

        public void testJobWithoutObjectReuse()
                                       throws Exception
        Deprecated.
        Throws:
        Exception