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

Public Member Functions

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

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! More...
 

Protected Member Functions

 tearDown ()
 

Detailed Description

Definition at line 3 of file UIDGeneratorTest.php.

Member Function Documentation

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 69 of file UIDGeneratorTest.php.

UIDGeneratorTest::tearDown ( )
protected

Definition at line 5 of file UIDGeneratorTest.php.

References UIDGenerator\unitTestTearDown().

UIDGeneratorTest::testNewSequentialID ( )
UIDGeneratorTest::testNewSequentialIDs ( )
UIDGeneratorTest::testRawUUIDv4 ( )
UIDGeneratorTest::testRawUUIDv4QuickRand ( )
UIDGeneratorTest::testTimestampedUID (   $method,
  $digitlen,
  $bits,
  $tbits,
  $hostbits 
)

Test that generated UIDs have the expected properties.

provider_testTimestampedUID UIDGenerator::newTimestampedUID128 UIDGenerator::newTimestampedUID88

Definition at line 18 of file UIDGeneratorTest.php.

References as.

UIDGeneratorTest::testUUIDv1 ( )
UIDGeneratorTest::testUUIDv4 ( )

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