protected function UUIDTestCase::assertUuid in Universally Unique IDentifier 7
Helper function that asserts a UUID.
5 calls to UUIDTestCase::assertUuid()
- UUIDAPITestCase::testApiFunctions in ./
uuid.test - Tests uuid function calls.
- UUIDNodeTestCase::testNodeCrud in ./
uuid.test - Tests CRUD on nodes with UUID functions.
- UUIDSyncTestCase::testSync in ./
uuid.test - Tests creating UUIDs for entities that don't have them.
- UUIDUserTestCase::testUserCrud in ./
uuid.test - Test CRUD on users with UUID functions.
- UUIDV5TestCase::testV5Function in ./
uuid.test - Tests uuid function calls.
File
- ./
uuid.test, line 16 - Test suite for UUID module.
Class
- UUIDTestCase
- Base class with some helper methods.
Code
protected function assertUuid($uuid, $message = NULL) {
$this
->assertTrue(uuid_is_valid($uuid), $message);
}