public final class DiscoveredTestDataHolder
extends java.lang.Object
Constructor and Description |
---|
DiscoveredTestDataHolder(java.nio.file.Path basePath) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
flush() |
java.util.Collection<java.lang.String> |
getAffectedFiles(Couple<java.lang.String> testQName,
byte frameworkId) |
java.util.Collection<java.lang.String> |
getTestModulesByMethodName(java.lang.String testClassName,
java.lang.String testMethodName,
byte frameworkId) |
MultiMap<java.lang.String,java.lang.String> |
getTestsByClassName(java.lang.String classFQName,
byte frameworkId) |
MultiMap<java.lang.String,java.lang.String> |
getTestsByFile(java.lang.String relativePath,
byte frameworkId) |
MultiMap<java.lang.String,java.lang.String> |
getTestsByMethodName(java.lang.String classFQName,
java.lang.String methodName,
byte frameworkId) |
boolean |
hasTestTrace(java.lang.String testClassName,
java.lang.String testMethodName,
byte frameworkId) |
boolean |
isDisposed() |
void |
removeTestTrace(java.lang.String testClassName,
java.lang.String testMethodName,
byte frameworkId) |
void |
updateTestData(java.lang.String testClassName,
java.lang.String testMethodName,
MultiMap<java.lang.String,java.lang.String> usedMethods,
java.util.List<java.lang.String> usedFiles,
java.lang.String moduleName,
byte frameworkId) |
public DiscoveredTestDataHolder(java.nio.file.Path basePath)
public void flush()
public void dispose()
public boolean hasTestTrace(java.lang.String testClassName, java.lang.String testMethodName, byte frameworkId) throws java.io.IOException
java.io.IOException
public void removeTestTrace(java.lang.String testClassName, java.lang.String testMethodName, byte frameworkId) throws java.io.IOException
java.io.IOException
public java.util.Collection<java.lang.String> getTestModulesByMethodName(java.lang.String testClassName, java.lang.String testMethodName, byte frameworkId) throws java.io.IOException
java.io.IOException
public void updateTestData(java.lang.String testClassName, java.lang.String testMethodName, MultiMap<java.lang.String,java.lang.String> usedMethods, java.util.List<java.lang.String> usedFiles, java.lang.String moduleName, byte frameworkId) throws java.io.IOException
java.io.IOException
public MultiMap<java.lang.String,java.lang.String> getTestsByFile(java.lang.String relativePath, byte frameworkId) throws java.io.IOException
java.io.IOException
public MultiMap<java.lang.String,java.lang.String> getTestsByClassName(java.lang.String classFQName, byte frameworkId) throws java.io.IOException
java.io.IOException
public MultiMap<java.lang.String,java.lang.String> getTestsByMethodName(java.lang.String classFQName, java.lang.String methodName, byte frameworkId) throws java.io.IOException
java.io.IOException
public java.util.Collection<java.lang.String> getAffectedFiles(Couple<java.lang.String> testQName, byte frameworkId) throws java.io.IOException
java.io.IOException
public boolean isDisposed()