public class Configuration extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
long |
end |
String |
executionId |
Pattern |
filter |
Level |
loggingLevel |
Mode |
mode |
String |
nondexDir |
String |
nondexJarDir |
int |
seed |
boolean |
shouldPrintStackTrace |
long |
start |
String |
testName |
| 限定符 | 构造器和说明 |
|---|---|
|
Configuration(Mode mode,
int seed,
Pattern filter,
long start,
long end,
String nondexDir,
String nondexJarDir,
String testName,
String executionId,
Level loggingLevel) |
|
Configuration(Mode mode,
int seed,
Pattern filter,
long start,
long end,
String nondexDir,
String nondexJarDir,
String testName,
String executionId,
Level loggingLevel,
boolean printStackTrace) |
protected |
Configuration(Mode mode,
int seed,
Pattern filter,
String executionId) |
|
Configuration(String executionId,
String nondexDir) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createExecutionDirIfNeeded() |
void |
createNondexDirIfNeeded() |
void |
filterTests(Collection<String> failedInClean) |
Path |
getConfigPath() |
Path |
getDebugPath() |
Path |
getExecutionDir() |
Collection<String> |
getFailedTests() |
Path |
getFailuresPath() |
int |
getInvocationCount() |
Path |
getInvocationsPath() |
Path |
getLatestRunFilePath() |
Path |
getNondexDir() |
Path |
getPathToJar() |
Path |
getRunFilePath() |
boolean |
hasFewerChoicePoints(Configuration debConfig) |
long |
numChoices() |
static Configuration |
parseArgs() |
static Configuration |
parseArgs(Properties props) |
void |
setFailures(Set<String> failingTests) |
String |
toArgLine() |
String |
toString() |
public final Mode mode
public final int seed
public final Pattern filter
public final String executionId
public final long start
public final long end
public final boolean shouldPrintStackTrace
public final String nondexDir
public final String nondexJarDir
public final String testName
public final Level loggingLevel
public Configuration(Mode mode, int seed, Pattern filter, long start, long end, String nondexDir, String nondexJarDir, String testName, String executionId, Level loggingLevel)
public Configuration(Mode mode, int seed, Pattern filter, long start, long end, String nondexDir, String nondexJarDir, String testName, String executionId, Level loggingLevel, boolean printStackTrace)
public void createNondexDirIfNeeded()
public String toArgLine()
public static Configuration parseArgs()
public static Configuration parseArgs(Properties props)
public void createExecutionDirIfNeeded()
public Path getNondexDir()
public Path getExecutionDir()
public Path getFailuresPath()
public Path getInvocationsPath()
public Path getDebugPath()
public Path getConfigPath()
public Path getRunFilePath()
public Path getLatestRunFilePath()
public Path getPathToJar()
public int getInvocationCount()
public void filterTests(Collection<String> failedInClean)
public Collection<String> getFailedTests()
public long numChoices()
public boolean hasFewerChoicePoints(Configuration debConfig)
Copyright © 2023. All rights reserved.