Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1822100
UUIDUtilTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
588 B
Subscribers
None
UUIDUtilTest.php
View Options
<?php
namespace
Sabre\DAV
;
class
UUIDUtilTest
extends
\PHPUnit_Framework_TestCase
{
function
testValidateUUID
()
{
$this
->
assertTrue
(
UUIDUtil
::
validateUUID
(
'11111111-2222-3333-4444-555555555555'
)
);
$this
->
assertFalse
(
UUIDUtil
::
validateUUID
(
' 11111111-2222-3333-4444-555555555555'
)
);
$this
->
assertTrue
(
UUIDUtil
::
validateUUID
(
'ffffffff-2222-3333-4444-555555555555'
)
);
$this
->
assertFalse
(
UUIDUtil
::
validateUUID
(
'fffffffg-2222-3333-4444-555555555555'
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 24, 1:56 PM (7 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914724
Default Alt Text
UUIDUtilTest.php (588 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment