NAME
Fennec::FileType - Base class for FileType plugins.
DESCRIPTION
All FileType plugins for fennec should subclass this module.
ABSTRACT METHODS
Your FileType must override these
- $bool = $class->valid_file( $filename )
-
Check if a file is of this type.
- $testfile_class = $obj->load_file()
-
Load the file the object was constructed with and return the testfile class it produced.
- @paths = paths()
-
Should return a list of paths relative to project root which contain test files.
CONSTRUCTOR
CLASS METHODS
OBJECT METHODS
- $obj->filename()
-
Get the filename this instance was constructed with.
- $testfile_class = $obj->load()
-
Load the FileType object and return the class name of the TestFile class it produced.
Only loads the file once.
AUTHORS
Chad Granum exodist7@gmail.com
COPYRIGHT
Copyright (C) 2010 Chad Granum
Fennec is free software; Standard perl licence.
Fennec is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.