InterceptFrontend

Test double generation of C code.

TODO Describe the options.

Constructors

this
this(MainFileName main_fname, DirName output_dir, Regex!char strip_incl)

Design of c'tor.

Members

Functions

argForceTestDoubleIncludes
auto argForceTestDoubleIncludes(string[] a)

Force the includes to be those supplied by the user.

argXmlConfig
auto argXmlConfig(Nullable!XmlConfig conf)

Ensure that the relevant information from the xml file is extracted.

doSymbol
bool doSymbol(string symbol)

If no symbols are specified to be intercept then all are intercepted.

getProducedFiles
FileData[] getProducedFiles()

Data produced by the generatore intented to be written to specified file.

symbolPrefix
StubPrefix symbolPrefix(string symbol)

Defaults to the global if a specific prefix isn't provided.

Inherited Members

From Controller

doSymbol
bool doSymbol(string symbol)

Query the controller for a decision if it shall be processed.

From Parameters

getFiles
Files getFiles()

Files to write generated test double data to.

getOutputDirectory
DirName getOutputDirectory()

Output directory to store files in.

getToolVersion
DextoolVersion getToolVersion()

Dextool Tool version.

getCustomHeader
CustomHeader getCustomHeader()

Custom header to prepend generated files with.

getIncludes
FileName[] getIncludes()

A list of includes for the test double header.

symbolPrefix
StubPrefix symbolPrefix(string symbol)

The prefix to use for a symbol.

From Products

putFile
void putFile(FileName fname, CppHModule data)
void putFile(FileName fname, CppModule data)
void putFile(FileName fname, ShScriptModule data)

Data pushed from the generator to be written to files.

putLocation
void putLocation(FileName loc, LocationType type)

During the translation phase the location of symbols that aren't filtered out are pushed to the variant.

Meta