Open sandboxFocus

Property DefinedConstants

DefinedConstants

Gets the set of preprocessor symbols that are defined for this test. To add an item into this collection from a test, add this comment to your test file: // @DefinedConstant(constant). All constants of the test project and TESTRUNNER and METALAMA are defined by default. Constants added via DependencyDefinedConstants option are not added.

Declaration
public List<string> DefinedConstants { get; }
Property Value
Type Description
List<string>