JavaProgramTestBase
instead.@Deprecated public abstract class JavaProgramTestBaseJUnit4 extends AbstractTestBaseJUnit4
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()
.
MINI_CLUSTER_RESOURCE, TEMPORARY_FOLDER
log, nameProvider, watchman
Constructor and Description |
---|
JavaProgramTestBaseJUnit4()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
getLatestExecutionResult()
Deprecated.
|
int |
getParallelism()
Deprecated.
|
boolean |
isCollectionExecution()
Deprecated.
|
protected void |
postSubmit()
Deprecated.
|
protected void |
preSubmit()
Deprecated.
|
void |
setNumberOfTestRepetitions(int numberOfTestRepetitions)
Deprecated.
|
protected boolean |
skipCollectionExecution()
Deprecated.
|
void |
testJobCollectionExecution()
Deprecated.
|
void |
testJobWithObjectReuse()
Deprecated.
|
void |
testJobWithoutObjectReuse()
Deprecated.
|
protected abstract void |
testProgram()
Deprecated.
|
cleanupRunningJobs, createAndRegisterTempFile, createTempFile, getTempDirPath, getTempFilePath
public void setNumberOfTestRepetitions(int numberOfTestRepetitions)
public int getParallelism()
public JobExecutionResult getLatestExecutionResult()
public boolean isCollectionExecution()
protected boolean skipCollectionExecution()
public void testJobWithObjectReuse() throws Exception
Exception
public void testJobWithoutObjectReuse() throws Exception
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.