PATH:
opt
/
cpanel
/
ea-php73
/
root
/
usr
/
share
/
tests
/
pear
/
XML_Util
/
tests
<?php class SplitQualifiedNameTests extends AbstractUnitTests { /** * @covers XML_Util::splitQualifiedName() */ public function testSplitQualifiedNameWithoutNamespace() { $original = "xslt:stylesheet"; $expected = array( 'namespace' => 'xslt', 'localPart' => 'stylesheet', ); $this->assertEquals($expected, XML_Util::splitQualifiedName($original)); } /** * @covers XML_Util::splitQualifiedName() */ public function testSplitQualifiedNameWithNamespace() { $original = "stylesheet"; $namespace = "myNs"; $expected = array( 'namespace' => 'myNs', 'localPart' => 'stylesheet', ); $this->assertEquals($expected, XML_Util::splitQualifiedName($original, $namespace)); } }
[-] CreateStartElementTests.php
[edit]
[-] CreateTagFromArrayTests.php
[edit]
[-] CreateEndElementTests.php
[edit]
[-] AttributesToStringTests.php
[edit]
[+]
..
[-] RaiseErrorTests.php
[edit]
[-] Bug5392Tests.php
[edit]
[-] Bug18343Tests.php
[edit]
[-] Bug21177Tests.php
[edit]
[-] ApiVersionTests.php
[edit]
[-] AbstractUnitTests.php
[edit]
[-] Bug21184Tests.php
[edit]
[-] ReverseEntitiesTests.php
[edit]
[-] CollapseEmptyTagsTests.php
[edit]
[-] Bug4950Tests.php
[edit]
[-] CreateTagTests.php
[edit]
[-] GetDocTypeDeclarationTests.php
[edit]
[-] SplitQualifiedNameTests.php
[edit]
[-] CreateCommentTests.php
[edit]
[-] IsValidNameTests.php
[edit]
[-] GetXmlDeclarationTests.php
[edit]
[-] CreateCDataSectionTests.php
[edit]
[-] ReplaceEntitiesTests.php
[edit]