mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
Initial Release of the calendar plugin
This commit is contained in:
parent
45cc9885fc
commit
7115197a33
561 changed files with 189494 additions and 0 deletions
23
dav/SabreDAV/tests/Sabre/DAV/UUIDUtilTest.php
Normal file
23
dav/SabreDAV/tests/Sabre/DAV/UUIDUtilTest.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
class Sabre_DAV_UUIDUtilTest extends PHPUnit_Framework_TestCase {
|
||||
|
||||
function testValidateUUID() {
|
||||
|
||||
$this->assertTrue(
|
||||
Sabre_DAV_UUIDUtil::validateUUID('11111111-2222-3333-4444-555555555555')
|
||||
);
|
||||
$this->assertFalse(
|
||||
Sabre_DAV_UUIDUtil::validateUUID(' 11111111-2222-3333-4444-555555555555')
|
||||
);
|
||||
$this->assertTrue(
|
||||
Sabre_DAV_UUIDUtil::validateUUID('ffffffff-2222-3333-4444-555555555555')
|
||||
);
|
||||
$this->assertFalse(
|
||||
Sabre_DAV_UUIDUtil::validateUUID('fffffffg-2222-3333-4444-555555555555')
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue