SystemClockTest
extends TestCase
-
#[CoversClass]
-
\OpenTelemetry\API\Common\Time\SystemClock::class
Table of Contents
Constants
-
NANOS_PER_SECOND
= 1000000000
Methods
-
test_now_is_chronological()
: void
-
test_now_returns_nanoseconds()
: void
-
assertNanoSecondsWallClock()
: void
NANOS_PER_SECOND
private
mixed
NANOS_PER_SECOND
= 1000000000
test_now_is_chronological()
public
test_now_is_chronological() : void
test_now_returns_nanoseconds()
public
test_now_returns_nanoseconds() : void
assertNanoSecondsWallClock()
private
assertNanoSecondsWallClock(int $value, DateTime $reference) : void
Parameters
-
$value
: int
-
-
$reference
: DateTime
-