Home | Trees | Indices | Help |
---|
|
object --+ | extension.Extension --+ | database.Database --+ | CompilationTestDatabase
A 'CompilationTestDatabase' test database maps source code files to compilation tests.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
srcdir = TextField(title= "Source Directory", description= "Th
|
|||
excluded_subdirs = SetField(TextField(), default_value= ['QMTe
|
|||
test_extensions = DictionaryField(TextField(), EnumerationFiel
|
|||
_is_generic_database = True True if this database implements 'GetExtension' as a primitive. |
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Construct a 'Database'. 'path' -- A string containing the absolute path to the directory containing the database. 'arguments' -- A dictionary mapping attribute names to values. The use of this parameter is deprecated. Use keyword arguments instead. Derived classes must call this method from their own '__init__' methods. Every derived class must have an '__init__' method that takes the path to the directory containing the database as its only argument. The path provided to the derived class '__init__' function will always be an absolute path.
|
Return the immediate subdirectories of 'directory'. 'directory' -- A label indicating a directory in the database. returns -- A sequence of (relative) labels indictating the immediate subdirectories of 'directory'. For example, if "a.b" and "a.c" are directories in the database, this method will return "b" and "c" given "a" as 'directory'. Derived classes may override this method.
|
Return all IDs of the indicated 'kind' that begin with 'directory'. 'kind' -- One of the 'ITEM_KINDS'. 'directory' -- A label indicating the directory in which to begin the search. 'scan_subdirs' -- True if (and only if) subdirectories of 'directory' should be scanned. returns -- A list of all items of the indicated 'kind' located within 'directory', as absolute labels. Derived classes may override this method.
|
Return the extension object named 'id'. 'id' -- The label for the extension. returns -- The instance of 'Extension' with the indicated name, or 'None' if there is no such entity. Database classes should override this method. For backwards compatibility, this base class implements this generic method in terms of the special-purpose methods 'GetTest()' and 'GetResource()'. Only if _is_generic_database is True are these implemented in terms of 'GetExtension()'.
|
|
srcdir
|
excluded_subdirs
|
test_extensions
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |