Page MenuHomePhabricator

UUIDUtilTest.php
No OneTemporary

UUIDUtilTest.php

<?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

Mime Type
text/x-php
Expires
Tue, Dec 24, 12:35 PM (18 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914724
Default Alt Text
UUIDUtilTest.php (588 B)

Event Timeline