OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
php84
/
usr
/
share
/
pear
/
test
/
XML_Util
/
tests
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/29/2025 12:55:23 PM
rwxr-xr-x
📄
AbstractUnitTests.php
424 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
ApiVersionTests.php
221 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
AttributesToStringTests.php
7.52 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
Bug18343Tests.php
1.7 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
Bug21177Tests.php
1.03 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
Bug21184Tests.php
450 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
Bug4950Tests.php
729 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
Bug5392Tests.php
767 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
CollapseEmptyTagsTests.php
4.25 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
CreateCDataSectionTests.php
362 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
CreateCommentTests.php
340 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
CreateEndElementTests.php
613 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
CreateStartElementTests.php
5.28 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
CreateTagFromArrayTests.php
13.18 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
CreateTagTests.php
7.79 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
GetDocTypeDeclarationTests.php
1.74 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
GetXmlDeclarationTests.php
1.14 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
IsValidNameTests.php
1.94 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
RaiseErrorTests.php
448 bytes
12/17/2024 06:12:51 PM
rw-r--r--
📄
ReplaceEntitiesTests.php
4.22 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
ReverseEntitiesTests.php
4.21 KB
12/17/2024 06:12:51 PM
rw-r--r--
📄
SplitQualifiedNameTests.php
839 bytes
12/17/2024 06:12:51 PM
rw-r--r--
Editing: SplitQualifiedNameTests.php
Close
<?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)); } }