public abstract class TestSourcesFilter
extends java.lang.Object
 By default, IntelliJ Platform considers files as tests only if they are located under test
 sources root FileIndex.isInTestSourceContent(VirtualFile).
 
However there are plenty frameworks and languages which keep test files just nearby production files. E.g. *_test.go files are test files in Go language and some js/dart files are test files depending on their content. The extensions allow IDE to highlight such files with a green background, properly check if they are included in built-in search scopes, etc.
| Constructor and Description | 
|---|
TestSourcesFilter()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract boolean | 
isTestSource(VirtualFile file,
            Project project)  | 
static boolean | 
isTestSources(VirtualFile file,
             Project project)  | 
public static boolean isTestSources(VirtualFile file, Project project)
public abstract boolean isTestSource(VirtualFile file, Project project)