C# Class ValidateBuilds.ExpectedResults

Represents the expected (successful) output of post-build assembly processing.
Expected results files take the following form: <ExpectedResults Script="path/to/script" > <Classes> <Include Name="SomeType" /> <Exclude Name="OtherType" /> </Classes> <Warnings> <Pattern> regex </Pattern> </Warnings> <Errors> <Pattern> regex </Pattern> </Errors> </ExpectedResults>
Datei anzeigen Open project: benjamin-bader/stiletto Class Usage Examples

Public Methods

Method Description
Parse ( System.Xml.Linq.XElement element, string directoryPath ) : ExpectedResults

Private Methods

Method Description
ExpectedResults ( IEnumerable warnings, IEnumerable errors, ISet includedClasses, ISet excludedClasses ) : System
ReadElementAsString ( System.Xml.Linq.XElement e ) : string

Method Details

Parse() public static method

public static Parse ( System.Xml.Linq.XElement element, string directoryPath ) : ExpectedResults
element System.Xml.Linq.XElement
directoryPath string /// The path to the directory containing the expected results file. ///
return ExpectedResults