Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Tests\Utils\Validators\HtmlValidator Class Reference
Inheritance diagram for SMW\Tests\Utils\Validators\HtmlValidator:
Inheritance graph
[legend]
Collaboration diagram for SMW\Tests\Utils\Validators\HtmlValidator:
Collaboration graph
[legend]

Public Member Functions

 assertThatHtmlIsValid ( $actual, $message='')
 
 canUse ()
 
 assertThatHtmlContains ( $cssSelectors, $htmlFragment, $message='', $expected=true)
 
 assertThatHtmlNotContains ( $cssSelectors, $htmlFragment, $message='')
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
Stephan Gambke

Member Function Documentation

◆ assertThatHtmlContains()

SMW\Tests\Utils\Validators\HtmlValidator::assertThatHtmlContains (   $cssSelectors,
  $htmlFragment,
  $message = '',
  $expected = true 
)
Parameters
string| string[] $cssSelectors
string$htmlFragment
string$message

◆ assertThatHtmlIsValid()

SMW\Tests\Utils\Validators\HtmlValidator::assertThatHtmlIsValid (   $actual,
  $message = '' 
)
Parameters
string$actual
string$message

◆ assertThatHtmlNotContains()

SMW\Tests\Utils\Validators\HtmlValidator::assertThatHtmlNotContains (   $cssSelectors,
  $htmlFragment,
  $message = '' 
)
Parameters
string| string[] $cssSelectors
string$htmlFragment
string$message

◆ canUse()

SMW\Tests\Utils\Validators\HtmlValidator::canUse ( )
Returns
boolean

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy