C# Класс CsQuery.Tests.CsQueryTest

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
_Dom CsQuery.CQ
document IDomDocument

Открытые методы

Метод Описание
CsQueryTest ( ) : System
TestDomPath ( string name ) : string
q ( ) : IEnumerable
t ( string testName, string selector, IEnumerable ids = null ) : void

Защищенные методы

Метод Описание
Del ( System.Action action ) : TestDelegate
GetMemoryStream ( string html, Encoding encoding = null ) : MemoryStream

Gets a memory stream from a string encoded with a specific encoding.

ResetQunit ( ) : void
TestDom ( string name ) : CQ

Get a CQ object from the Resources folder for file name.htm

TestHtml ( string name ) : string
jQuery ( ) : CQ
jQuery ( IDomObject parm ) : CQ
jQuery ( IEnumerable parm ) : CQ
jQuery ( string parm ) : CQ
jQuery ( string parm, CQ context ) : CQ
jQueryAny ( object parm ) : CQ

Приватные методы

Метод Описание
FixtureSetUp ( ) : void
FixtureTearDown ( ) : void

Описание методов

CsQueryTest() публичный Метод

public CsQueryTest ( ) : System
Результат System

Del() защищенный Метод

protected Del ( System.Action action ) : TestDelegate
action System.Action
Результат TestDelegate

GetMemoryStream() защищенный Метод

Gets a memory stream from a string encoded with a specific encoding.
protected GetMemoryStream ( string html, Encoding encoding = null ) : MemoryStream
html string /// The HTML. ///
encoding System.Text.Encoding /// The encoding. ///
Результат System.IO.MemoryStream

ResetQunit() защищенный Метод

protected ResetQunit ( ) : void
Результат void

TestDom() защищенный Метод

Get a CQ object from the Resources folder for file name.htm
protected TestDom ( string name ) : CQ
name string
Результат CsQuery.CQ

TestDomPath() публичный статический Метод

public static TestDomPath ( string name ) : string
name string
Результат string

TestHtml() защищенный Метод

protected TestHtml ( string name ) : string
name string
Результат string

jQuery() защищенный Метод

protected jQuery ( ) : CQ
Результат CsQuery.CQ

jQuery() защищенный Метод

protected jQuery ( IDomObject parm ) : CQ
parm IDomObject
Результат CsQuery.CQ

jQuery() защищенный Метод

protected jQuery ( IEnumerable parm ) : CQ
parm IEnumerable
Результат CsQuery.CQ

jQuery() защищенный Метод

protected jQuery ( string parm ) : CQ
parm string
Результат CsQuery.CQ

jQuery() защищенный Метод

protected jQuery ( string parm, CQ context ) : CQ
parm string
context CsQuery.CQ
Результат CsQuery.CQ

jQueryAny() защищенный Метод

protected jQueryAny ( object parm ) : CQ
parm object
Результат CsQuery.CQ

q() публичный Метод

public q ( ) : IEnumerable
Результат IEnumerable

t() публичный Метод

public t ( string testName, string selector, IEnumerable ids = null ) : void
testName string
selector string
ids IEnumerable
Результат void

Описание свойств

_Dom публичное свойство

public CQ,CsQuery _Dom
Результат CsQuery.CQ

document публичное свойство

public IDomDocument document
Результат IDomDocument