C# Class ValueInjector.Instrumenter

Exibir arquivo Open project: lukesandberg/PexFaultLocalization

Private Properties

Property Type Description
Instrumenter System
SaveValue void

Public Methods

Method Description
ApplyMapping ( SourceCodeLocation stmt, ValueMapping vm ) : void
GetAlternateMappings ( SourceCodeLocation stmt ) : IEnumerable
GetCurrentMapping ( SourceCodeLocation stmt ) : ValueMapping
Instrument ( object value, String FileName, int lineStart, int lineEnd, int colStart, int colEnd, int id ) : object
SetCurrentTestName ( String testName ) : void

Private Methods

Method Description
Instrumenter ( ) : System
SaveValue ( SourceCodeLocation stmt, int key, Type t, object value ) : void

Method Details

ApplyMapping() public static method

public static ApplyMapping ( SourceCodeLocation stmt, ValueMapping vm ) : void
stmt SourceCodeLocation
vm ValueMapping
return void

GetAlternateMappings() public static method

public static GetAlternateMappings ( SourceCodeLocation stmt ) : IEnumerable
stmt SourceCodeLocation
return IEnumerable

GetCurrentMapping() public static method

public static GetCurrentMapping ( SourceCodeLocation stmt ) : ValueMapping
stmt SourceCodeLocation
return ValueMapping

Instrument() public static method

public static Instrument ( object value, String FileName, int lineStart, int lineEnd, int colStart, int colEnd, int id ) : object
value object
FileName String
lineStart int
lineEnd int
colStart int
colEnd int
id int
return object

SetCurrentTestName() public static method

public static SetCurrentTestName ( String testName ) : void
testName String
return void