/
/
opt
/
alt
/
php82
/
usr
/
share
/
pear
/
test
/
XML_Util
/
tests
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.187
PHP 7.4.33
Dir:
/opt/alt/php82/usr/share/pear/test/XML_Util/tests
Edit:
/opt/alt/php82/usr/share/pear/test/XML_Util/tests/SplitQualifiedNameTests.php
<?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)); } }
Ukuran: 839 B