

Public Member Functions | |
| ConfigFileRedeemerTestDir (Logger logger) | |
| String[] | getFileEndings () |
Static Public Attributes | |
| static final String | testDirName = File.separator + "test" + File.separator |
| static final String | srcDirName = File.separator + "src" + File.separator |
Protected Member Functions | |
| boolean | _isNotAConfigFile (File file) |
Redeems all files that are located underneath a module's test directorie(s). To determine whether a directory is a module's test dir, this class uses the heuristics that the name must be "test", that it must contain a Makefile, and that there be a sibling directory "src" which must also contain a Makefile.
| alma::acs::config::validators::ConfigFileRedeemerTestDir::ConfigFileRedeemerTestDir | ( | Logger | logger | ) | [inline] |
| boolean alma::acs::config::validators::ConfigFileRedeemerTestDir::_isNotAConfigFile | ( | File | file | ) | [inline, protected, virtual] |
Called by isNotAConfigFile(File) only if the file ending matches one of the endings in getFileEndings().
Implements alma::acs::config::validators::ConfigFileRedeemer.
References srcDirName, and testDirName.
| String [] alma::acs::config::validators::ConfigFileRedeemerTestDir::getFileEndings | ( | ) | [inline, virtual] |
Returns null so that it gets to redeem any kind of file which is under a module's test dir.
Implements alma::acs::config::validators::ConfigFileRedeemer.
final String alma::acs::config::validators::ConfigFileRedeemerTestDir::srcDirName = File.separator + "src" + File.separator [static] |
Referenced by _isNotAConfigFile().
final String alma::acs::config::validators::ConfigFileRedeemerTestDir::testDirName = File.separator + "test" + File.separator [static] |
Referenced by _isNotAConfigFile().
1.6.2