PHP Class eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\RestContentTest

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testAlwaysAvailableCorrect ( DOMDocument $dom )
testContentHrefCorrect ( DOMDocument $dom )
testContentIdCorrect ( DOMDocument $dom )
testContentMediaTypeWithVersionCorrect ( DOMDocument $dom )
testContentMediaTypeWithoutVersionCorrect ( DOMDocument $dom )
testContentRemoteIdCorrect ( DOMDocument $dom )
testContentTypeHrefCorrect ( DOMDocument $dom )
testContentTypeMediaTypeCorrect ( DOMDocument $dom )
testCurrentVersionHrefCorrect ( DOMDocument $dom )
testCurrentVersionMediaTypeCorrect ( DOMDocument $dom )
testCurrentVersionNoCorrect ( DOMDocument $dom )
testEmbeddedCurrentVersionHrefCorrect ( DOMDocument $dom )
testEmbeddedCurrentVersionMediaTypeCorrect ( DOMDocument $dom )
testLastModificationDateCorrect ( DOMDocument $dom )
testLocationsHrefCorrect ( DOMDocument $dom )
testLocationsMediaTypeCorrect ( DOMDocument $dom )
testMainLanguageCodeCorrect ( DOMDocument $dom )
testMainLocationHrefCorrect ( DOMDocument $dom )
testMainLocationMediaTypeCorrect ( DOMDocument $dom )
testNameCorrect ( DOMDocument $dom )
testOwnerHrefCorrect ( DOMDocument $dom )
testOwnerMediaTypeCorrect ( DOMDocument $dom )
testSectionHrefCorrect ( DOMDocument $dom )
testSectionMediaTypeCorrect ( DOMDocument $dom )
testVersionsHrefCorrect ( DOMDocument $dom )
testVersionsMediaTypeCorrect ( DOMDocument $dom )
testVisitWithEmbeddedVersion ( ) : DOMDocument
testVisitWithoutEmbeddedVersion ( ) : DOMDocument

Protected Methods

Method Description
getBasicRestContent ( )
internalGetVisitor ( ) : RestContent Get the Content visitor.

Method Details

getBasicRestContent() protected method

protected getBasicRestContent ( )

internalGetVisitor() protected method

Get the Content visitor.
protected internalGetVisitor ( ) : RestContent
return eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestContent

testAlwaysAvailableCorrect() public method

public testAlwaysAvailableCorrect ( DOMDocument $dom )
$dom DOMDocument

testContentHrefCorrect() public method

public testContentHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testContentIdCorrect() public method

public testContentIdCorrect ( DOMDocument $dom )
$dom DOMDocument

testContentMediaTypeWithVersionCorrect() public method

public testContentMediaTypeWithVersionCorrect ( DOMDocument $dom )
$dom DOMDocument

testContentMediaTypeWithoutVersionCorrect() public method

public testContentMediaTypeWithoutVersionCorrect ( DOMDocument $dom )
$dom DOMDocument

testContentRemoteIdCorrect() public method

public testContentRemoteIdCorrect ( DOMDocument $dom )
$dom DOMDocument

testContentTypeHrefCorrect() public method

public testContentTypeHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testContentTypeMediaTypeCorrect() public method

public testContentTypeMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testCurrentVersionHrefCorrect() public method

public testCurrentVersionHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testCurrentVersionMediaTypeCorrect() public method

public testCurrentVersionMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testCurrentVersionNoCorrect() public method

public testCurrentVersionNoCorrect ( DOMDocument $dom )
$dom DOMDocument

testEmbeddedCurrentVersionHrefCorrect() public method

public testEmbeddedCurrentVersionHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testEmbeddedCurrentVersionMediaTypeCorrect() public method

public testEmbeddedCurrentVersionMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testLastModificationDateCorrect() public method

public testLastModificationDateCorrect ( DOMDocument $dom )
$dom DOMDocument

testLocationsHrefCorrect() public method

public testLocationsHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testLocationsMediaTypeCorrect() public method

public testLocationsMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testMainLanguageCodeCorrect() public method

public testMainLanguageCodeCorrect ( DOMDocument $dom )
$dom DOMDocument

testMainLocationHrefCorrect() public method

public testMainLocationHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testMainLocationMediaTypeCorrect() public method

public testMainLocationMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testNameCorrect() public method

public testNameCorrect ( DOMDocument $dom )
$dom DOMDocument

testOwnerHrefCorrect() public method

public testOwnerHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testOwnerMediaTypeCorrect() public method

public testOwnerMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testSectionHrefCorrect() public method

public testSectionHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testSectionMediaTypeCorrect() public method

public testSectionMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testVersionsHrefCorrect() public method

public testVersionsHrefCorrect ( DOMDocument $dom )
$dom DOMDocument

testVersionsMediaTypeCorrect() public method

public testVersionsMediaTypeCorrect ( DOMDocument $dom )
$dom DOMDocument

testVisitWithEmbeddedVersion() public method

public testVisitWithEmbeddedVersion ( ) : DOMDocument
return DOMDocument

testVisitWithoutEmbeddedVersion() public method

public testVisitWithoutEmbeddedVersion ( ) : DOMDocument
return DOMDocument