C# Class CommentReflowerTest.TestFileWrapper

This class implements enough of EnvDTE.TextDocument for regression testing.
Inheritance: EnvDTE.TextDocument
Afficher le fichier Open project: kmunson/CommentReflowerVSIX Class Usage Examples

Méthodes publiques

Méthode Description
ClearBookmarks ( ) : void
CreateEditPoint ( EnvDTE tp ) : EnvDTE.EditPoint
GetLine ( int lineNum ) : string
GetNumberLines ( ) : int
MarkText ( string st, int i ) : bool
OnDelete ( TestTextPoint startPoint, object obj ) : void
OnInsert ( TestTextPoint startPoint, string st ) : void
PrintOut ( ) : void
ReplacePattern ( string a, string b, int c, EnvDTE &d ) : bool
ReplaceText ( string a, string b, int i ) : bool
SetLine ( int lineNum, string val ) : void
TestFileWrapper ( string fileName ) : System
WriteToFile ( string fileName ) : void

Method Details

ClearBookmarks() public méthode

public ClearBookmarks ( ) : void
Résultat void

CreateEditPoint() public méthode

public CreateEditPoint ( EnvDTE tp ) : EnvDTE.EditPoint
tp EnvDTE
Résultat EnvDTE.EditPoint

GetLine() public méthode

public GetLine ( int lineNum ) : string
lineNum int
Résultat string

GetNumberLines() public méthode

public GetNumberLines ( ) : int
Résultat int

MarkText() public méthode

public MarkText ( string st, int i ) : bool
st string
i int
Résultat bool

OnDelete() public méthode

public OnDelete ( TestTextPoint startPoint, object obj ) : void
startPoint TestTextPoint
obj object
Résultat void

OnInsert() public méthode

public OnInsert ( TestTextPoint startPoint, string st ) : void
startPoint TestTextPoint
st string
Résultat void

PrintOut() public méthode

public PrintOut ( ) : void
Résultat void

ReplacePattern() public méthode

public ReplacePattern ( string a, string b, int c, EnvDTE &d ) : bool
a string
b string
c int
d EnvDTE
Résultat bool

ReplaceText() public méthode

public ReplaceText ( string a, string b, int i ) : bool
a string
b string
i int
Résultat bool

SetLine() public méthode

public SetLine ( int lineNum, string val ) : void
lineNum int
val string
Résultat void

TestFileWrapper() public méthode

public TestFileWrapper ( string fileName ) : System
fileName string
Résultat System

WriteToFile() public méthode

public WriteToFile ( string fileName ) : void
fileName string
Résultat void