C# Class IInteractive.WebTest.HyperLinkParserTestCase

Afficher le fichier Open project: iinteractive/IInteractive.WebTest Class Usage Examples

Méthodes publiques

Свойство Type Description
A_TEMPLATES string[]
ContentToParse string
ExpectedLinks List
FORMAT_EXCEPTION_URIS string[]
HREF_TEMPLATES string[]
OTHER_ATTRIBUTES string[]
ROOT System.Uri
TEXT string[]
URIS string[]
WHITE_SPACES string[]

Méthodes publiques

Méthode Description
AssertExactlyEqual ( HyperLink expected, HyperLink actual ) : void
Create ( string Path, string Text, string Content ) : HyperLink
GenerateAttributes ( ) : IInteractive.WebTest.TestCasePart[]
GenerateBadTestCases ( ) : List
GenerateGoodTestCases ( ) : List
GoodLeftOfHrefText ( ) : string[]
GoodRightOfHrefText ( ) : string[]
HyperLinkParserTestCase ( string ContentToParse ) : System
HyperLinkParserTestCase ( string ContentToParse, List ExpectedLinks ) : System
Merge ( HyperLinkParserTestCase arg ) : HyperLinkParserTestCase
PerformTest ( ) : void

Private Methods

Méthode Description
AssertEqual ( List expected, List actual ) : void
IsCorrectScheme ( string path ) : bool

Method Details

AssertExactlyEqual() public static méthode

public static AssertExactlyEqual ( HyperLink expected, HyperLink actual ) : void
expected HyperLink
actual HyperLink
Résultat void

Create() public static méthode

public static Create ( string Path, string Text, string Content ) : HyperLink
Path string
Text string
Content string
Résultat HyperLink

GenerateAttributes() public static méthode

public static GenerateAttributes ( ) : IInteractive.WebTest.TestCasePart[]
Résultat IInteractive.WebTest.TestCasePart[]

GenerateBadTestCases() public static méthode

public static GenerateBadTestCases ( ) : List
Résultat List

GenerateGoodTestCases() public static méthode

public static GenerateGoodTestCases ( ) : List
Résultat List

GoodLeftOfHrefText() public static méthode

public static GoodLeftOfHrefText ( ) : string[]
Résultat string[]

GoodRightOfHrefText() public static méthode

public static GoodRightOfHrefText ( ) : string[]
Résultat string[]

HyperLinkParserTestCase() public méthode

public HyperLinkParserTestCase ( string ContentToParse ) : System
ContentToParse string
Résultat System

HyperLinkParserTestCase() public méthode

public HyperLinkParserTestCase ( string ContentToParse, List ExpectedLinks ) : System
ContentToParse string
ExpectedLinks List
Résultat System

PerformTest() public méthode

public PerformTest ( ) : void
Résultat void

Property Details

A_TEMPLATES public_oe static_oe property

public static string[] A_TEMPLATES
Résultat string[]

ContentToParse public_oe property

public string ContentToParse
Résultat string

ExpectedLinks public_oe property

public List ExpectedLinks
Résultat List

FORMAT_EXCEPTION_URIS public_oe static_oe property

public static string[] FORMAT_EXCEPTION_URIS
Résultat string[]

HREF_TEMPLATES public_oe static_oe property

public static string[] HREF_TEMPLATES
Résultat string[]

OTHER_ATTRIBUTES public_oe static_oe property

public static string[] OTHER_ATTRIBUTES
Résultat string[]

ROOT public_oe static_oe property

public static Uri,System ROOT
Résultat System.Uri

TEXT public_oe static_oe property

public static string[] TEXT
Résultat string[]

URIS public_oe static_oe property

public static string[] URIS
Résultat string[]

WHITE_SPACES public_oe static_oe property

public static string[] WHITE_SPACES
Résultat string[]