MediaWiki REL1_31
UIDGeneratorTest Class Reference
Inheritance diagram for UIDGeneratorTest:
Collaboration diagram for UIDGeneratorTest:

Public Member Functions

 testNewSequentialID ()
 UIDGenerator::newSequentialPerNodeID.
 
 testNewSequentialIDs ()
 UIDGenerator::newSequentialPerNodeIDs.
 
 testRawUUIDv4 ()
 UIDGenerator::newRawUUIDv4.
 
 testRawUUIDv4QuickRand ()
 UIDGenerator::newRawUUIDv4.
 
 testTimestampedUID ( $method, $digitlen, $bits, $tbits, $hostbits)
 Test that generated UIDs have the expected properties.
 
 testUUIDv1 ()
 UIDGenerator::newUUIDv1.
 
 testUUIDv4 ()
 UIDGenerator::newUUIDv4.
 

Static Public Member Functions

static provider_testTimestampedUID ()
 array( method, length, bits, hostbits ) NOTE: When adding a new method name here please update the covers tags for the tests!
 

Protected Member Functions

 tearDown ()
 

Detailed Description

Definition at line 3 of file UIDGeneratorTest.php.

Member Function Documentation

◆ provider_testTimestampedUID()

static UIDGeneratorTest::provider_testTimestampedUID ( )
static

array( method, length, bits, hostbits ) NOTE: When adding a new method name here please update the covers tags for the tests!

Definition at line 71 of file UIDGeneratorTest.php.

◆ tearDown()

UIDGeneratorTest::tearDown ( )
protected

Definition at line 7 of file UIDGeneratorTest.php.

References UIDGenerator\unitTestTearDown().

◆ testNewSequentialID()

UIDGeneratorTest::testNewSequentialID ( )

◆ testNewSequentialIDs()

UIDGeneratorTest::testNewSequentialIDs ( )

◆ testRawUUIDv4()

UIDGeneratorTest::testRawUUIDv4 ( )

◆ testRawUUIDv4QuickRand()

UIDGeneratorTest::testRawUUIDv4QuickRand ( )

◆ testTimestampedUID()

UIDGeneratorTest::testTimestampedUID ( $method,
$digitlen,
$bits,
$tbits,
$hostbits )

Test that generated UIDs have the expected properties.

provider_testTimestampedUID UIDGenerator::newTimestampedUID128 UIDGenerator::newTimestampedUID88

Definition at line 20 of file UIDGeneratorTest.php.

◆ testUUIDv1()

UIDGeneratorTest::testUUIDv1 ( )

◆ testUUIDv4()

UIDGeneratorTest::testUUIDv4 ( )

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