C# Class IInteractive.WebTest.HyperLinkParserTestCase

ファイルを表示 Open project: iinteractive/IInteractive.WebTest Class Usage Examples

Public Properties

Property 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[]

Public Methods

Method 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

Method Description
AssertEqual ( List expected, List actual ) : void
IsCorrectScheme ( string path ) : bool

Method Details

AssertExactlyEqual() public static method

public static AssertExactlyEqual ( HyperLink expected, HyperLink actual ) : void
expected HyperLink
actual HyperLink
return void

Create() public static method

public static Create ( string Path, string Text, string Content ) : HyperLink
Path string
Text string
Content string
return HyperLink

GenerateAttributes() public static method

public static GenerateAttributes ( ) : IInteractive.WebTest.TestCasePart[]
return IInteractive.WebTest.TestCasePart[]

GenerateBadTestCases() public static method

public static GenerateBadTestCases ( ) : List
return List

GenerateGoodTestCases() public static method

public static GenerateGoodTestCases ( ) : List
return List

GoodLeftOfHrefText() public static method

public static GoodLeftOfHrefText ( ) : string[]
return string[]

GoodRightOfHrefText() public static method

public static GoodRightOfHrefText ( ) : string[]
return string[]

HyperLinkParserTestCase() public method

public HyperLinkParserTestCase ( string ContentToParse ) : System
ContentToParse string
return System

HyperLinkParserTestCase() public method

public HyperLinkParserTestCase ( string ContentToParse, List ExpectedLinks ) : System
ContentToParse string
ExpectedLinks List
return System

PerformTest() public method

public PerformTest ( ) : void
return void

Property Details

A_TEMPLATES public_oe static_oe property

public static string[] A_TEMPLATES
return string[]

ContentToParse public_oe property

public string ContentToParse
return string

ExpectedLinks public_oe property

public List ExpectedLinks
return List

FORMAT_EXCEPTION_URIS public_oe static_oe property

public static string[] FORMAT_EXCEPTION_URIS
return string[]

HREF_TEMPLATES public_oe static_oe property

public static string[] HREF_TEMPLATES
return string[]

OTHER_ATTRIBUTES public_oe static_oe property

public static string[] OTHER_ATTRIBUTES
return string[]

ROOT public_oe static_oe property

public static Uri,System ROOT
return System.Uri

TEXT public_oe static_oe property

public static string[] TEXT
return string[]

URIS public_oe static_oe property

public static string[] URIS
return string[]

WHITE_SPACES public_oe static_oe property

public static string[] WHITE_SPACES
return string[]