488 lines
10 KiB
YAML
488 lines
10 KiB
YAML
name: AbstractCrawlerTestCase
|
|
class_comment: null
|
|
dependencies:
|
|
- name: TestCase
|
|
type: class
|
|
source: PHPUnit\Framework\TestCase
|
|
- name: Crawler
|
|
type: class
|
|
source: Symfony\Component\DomCrawler\Crawler
|
|
- name: Form
|
|
type: class
|
|
source: Symfony\Component\DomCrawler\Form
|
|
- name: Image
|
|
type: class
|
|
source: Symfony\Component\DomCrawler\Image
|
|
- name: Link
|
|
type: class
|
|
source: Symfony\Component\DomCrawler\Link
|
|
properties: []
|
|
methods:
|
|
- name: getDoctype
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: createCrawler
|
|
visibility: protected
|
|
parameters:
|
|
- name: node
|
|
default: 'null'
|
|
- name: uri
|
|
default: 'null'
|
|
- name: baseHref
|
|
default: 'null'
|
|
- name: useHtml5Parser
|
|
default: 'true'
|
|
comment: null
|
|
- name: testConstructor
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetUri
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetBaseHref
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAdd
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddMultipleDocumentNode
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddHtmlContent
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddHtmlContentWithBaseTag
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddHtmlContentCharset
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * @requires extension mbstring'
|
|
- name: testAddHtmlContentInvalidBaseTag
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddHtmlContentCharsetGbk
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * @requires extension mbstring'
|
|
- name: testAddXmlContent
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddXmlContentCharset
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddContent
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddContentNonUtf8
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * @requires extension iconv'
|
|
- name: testAddDocument
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddNodeList
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddNodes
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddNode
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testClear
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEq
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testNormalizeWhiteSpace
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEach
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testIteration
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSlice
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testReduce
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAttr
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testMissingAttrValueIsNull
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testNodeName
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testText
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: provideInnerTextExamples
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInnerText
|
|
visibility: public
|
|
parameters:
|
|
- name: xPathQuery
|
|
- name: expectedText
|
|
- name: expectedInnerText
|
|
- name: expectedInnerTextNormalizeWhitespaceFalse
|
|
comment: '# * @dataProvider provideInnerTextExamples'
|
|
- name: testHtml
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEmojis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testExtract
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXpathComplexQueries
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPath
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterRemovesDuplicates
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithDefaultNamespace
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithCustomDefaultNamespace
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithNamespace
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithMultipleNamespaces
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithManuallyRegisteredNamespace
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithAnUrl
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithFakeRoot
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithAncestorAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithAncestorOrSelfAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithAttributeAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithAttributeAxisAfterElementAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithChildAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithFollowingAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithFollowingSiblingAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithNamespaceAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithNamespaceAxisAfterElementAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithParentAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithPrecedingAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithPrecedingSiblingAxis
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterXPathWithSelfAxes
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilter
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterWithDefaultNamespace
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterWithNamespace
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterWithMultipleNamespaces
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilterWithDefaultNamespaceOnly
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSelectLink
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSelectImage
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSelectButton
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSelectButtonWithSingleQuotesInNameAttribute
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSelectButtonWithDoubleQuotesInNameAttribute
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testLink
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInvalidLink
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInvalidLinks
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testImage
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSelectLinkAndLinkFiltered
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testChaining
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testLinks
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testImages
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testForm
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testInvalidForm
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testLast
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFirst
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSiblings
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: provideMatchTests
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testMatch
|
|
visibility: public
|
|
parameters:
|
|
- name: mainNodeSelector
|
|
- name: expected
|
|
- name: selector
|
|
comment: '# @dataProvider provideMatchTests'
|
|
- name: testClosest
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testOuterHtml
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testNextAll
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testPreviousAll
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testChildren
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFilteredChildren
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAncestors
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAncestorsThrowsIfNodeListIsEmpty
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testBaseTag
|
|
visibility: public
|
|
parameters:
|
|
- name: baseValue
|
|
- name: linkValue
|
|
- name: expectedUri
|
|
- name: currentUri
|
|
default: 'null'
|
|
- name: description
|
|
default: ''''''
|
|
comment: '# * @dataProvider getBaseTagData'
|
|
- name: getBaseTagData
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testBaseTagWithForm
|
|
visibility: public
|
|
parameters:
|
|
- name: baseValue
|
|
- name: actionValue
|
|
- name: expectedUri
|
|
- name: currentUri
|
|
default: 'null'
|
|
- name: description
|
|
default: 'null'
|
|
comment: '# * @dataProvider getBaseTagWithFormData'
|
|
- name: getBaseTagWithFormData
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testCountOfNestedElements
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEvaluateReturnsTypedResultOfXPathExpressionOnADocumentSubset
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEvaluateReturnsTypedResultOfNamespacedXPathExpressionOnADocumentSubset
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEvaluateReturnsTypedResultOfNamespacedXPathExpression
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEvaluateReturnsACrawlerIfXPathExpressionEvaluatesToANode
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testEvaluateThrowsAnExceptionIfDocumentIsEmpty
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testAddHtmlContentUnsupportedCharset
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: createTestCrawler
|
|
visibility: public
|
|
parameters:
|
|
- name: uri
|
|
default: 'null'
|
|
comment: null
|
|
- name: createTestXmlCrawler
|
|
visibility: protected
|
|
parameters:
|
|
- name: uri
|
|
default: 'null'
|
|
comment: null
|
|
- name: createDomDocument
|
|
visibility: protected
|
|
parameters: []
|
|
comment: null
|
|
- name: createNodeList
|
|
visibility: protected
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- PHPUnit\Framework\TestCase
|
|
- Symfony\Component\DomCrawler\Crawler
|
|
- Symfony\Component\DomCrawler\Form
|
|
- Symfony\Component\DomCrawler\Image
|
|
- Symfony\Component\DomCrawler\Link
|
|
interfaces: []
|