ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAV\UUIDUtilTest Class Reference
+ Inheritance diagram for Sabre\DAV\UUIDUtilTest:
+ Collaboration diagram for Sabre\DAV\UUIDUtilTest:

Public Member Functions

 testValidateUUID ()
 

Detailed Description

Definition at line 5 of file UUIDUtilTest.php.

Member Function Documentation

◆ testValidateUUID()

Sabre\DAV\UUIDUtilTest::testValidateUUID ( )

Definition at line 7 of file UUIDUtilTest.php.

References Sabre\DAV\UUIDUtil\validateUUID().

7  {
8 
9  $this->assertTrue(
10  UUIDUtil::validateUUID('11111111-2222-3333-4444-555555555555')
11  );
12  $this->assertFalse(
13  UUIDUtil::validateUUID(' 11111111-2222-3333-4444-555555555555')
14  );
15  $this->assertTrue(
16  UUIDUtil::validateUUID('ffffffff-2222-3333-4444-555555555555')
17  );
18  $this->assertFalse(
19  UUIDUtil::validateUUID('fffffffg-2222-3333-4444-555555555555')
20  );
21 
22 
23  }
static validateUUID($uuid)
Checks if a string is a valid UUID.
Definition: UUIDUtil.php:55
+ Here is the call graph for this function:

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