public class SquashTestFileLocationService extends Object
Constructor and Description |
---|
SquashTestFileLocationService(com.intellij.openapi.project.Project p) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowSubfolders()
Some project elements may be organized in subfolders, other may not.
|
protected String |
expectedFolder() |
String |
getProjectBasePath() |
List<File> |
getProjectSquashFiles() |
protected boolean |
isInExpectedFolder(String currentFilePath) |
boolean |
isInTestsFolder(String currentFilePath)
This method is to check if the working TA test file is in the project 'tests' folder
|
public SquashTestFileLocationService(com.intellij.openapi.project.Project p)
public boolean isInTestsFolder(String currentFilePath)
currentFilePath
- the current TA test file path@NotNull protected String expectedFolder()
protected boolean allowSubfolders()
public String getProjectBasePath()
public List<File> getProjectSquashFiles()
protected boolean isInExpectedFolder(String currentFilePath)
Copyright © 2018-2019 Henix. All Rights Reserved.