Package gw.test
Class TestClassFinder
java.lang.Object
gw.test.TestClassFinder
Created by IntelliJ IDEA.
User: akeefer
Date: Dec 6, 2010
Time: 4:29:46 PM
To change this template use File | Settings | File Templates.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindTests
(List<IDirectory> gosuSourceRoots, List<IDirectory> javaClassRoots) findTestTypes
(IDirectory entry, TestClassFinder.TestClassFindType findType) private void
findTestTypesImpl
(IDirectory root, IDirectory entry, TestClassFinder.TestClassFindType findType, ArrayList<IType> types) private boolean
matchesIncludedPackages
(String packageName) private boolean
matchesPackageFilters
(String packageName) private void
possiblyAddTest
(IFile entry, IDirectory root, TestClassFinder.TestClassFindType findType, ArrayList<IType> types) private boolean
shouldConsiderFile
(IFile entry, TestClassFinder.TestClassFindType findType) private boolean
shouldConsiderType
(IType type) private boolean
shouldConsiderTypeName
(String typeName)
-
Field Details
-
_iFileFilters
-
_packageFilters
-
_withPackages
-
_typeFilters
-
-
Constructor Details
-
TestClassFinder
-
-
Method Details
-
findTests
public TreeSet<TestSpec> findTests(List<IDirectory> gosuSourceRoots, List<IDirectory> javaClassRoots) -
findTestTypes
-
findTestTypesImpl
private void findTestTypesImpl(IDirectory root, IDirectory entry, TestClassFinder.TestClassFindType findType, ArrayList<IType> types) -
possiblyAddTest
private void possiblyAddTest(IFile entry, IDirectory root, TestClassFinder.TestClassFindType findType, ArrayList<IType> types) -
shouldConsiderFile
-
shouldConsiderTypeName
-
matchesPackageFilters
-
matchesIncludedPackages
-
shouldConsiderType
-