Documentation

Z_ResetingRecordNumber extends Base
in package

Table of Contents

$logs  : mixed
$logToFile  : bool
$transaction  : Transaction
Database transaction pointer.
setUpBeforeClass()  : void
tearDownAfterClass()  : void
Cleaning after tests.
testDateMock()  : mixed
Test method "DateMock".
testIncrementNumberDay()  : mixed
Test method "IncrementNumberDay".
testIncrementNumberMonth()  : void
Test method "IncrementNumberMonth".
testIncrementNumberStandard()  : mixed
Test method "IncrementNumberStandard".
testIncrementNumberYear()  : void
Test method "IncrementNumberYear".
testLeadingZeros()  : void
Test method "LeadingZeros" Test leading zeros in numbers generation.
testParse()  : mixed
Test method "Parse".
testSequenceNumber()  : mixed
Test method "StandardNumber".
disableLogs()  : void
Disable system logs.
enableLogs()  : void
Enable system logs.
onNotSuccessfulTest()  : void
This method is called when a test method did not execute successfully.

Properties

$logs

public mixed $logs

$logToFile

private bool $logToFile

Methods

setUpBeforeClass()

public static setUpBeforeClass() : void
Tags
codeCoverageIgnore

Setting of tests.

Return values
void

tearDownAfterClass()

Cleaning after tests.

public static tearDownAfterClass() : void
Return values
void

testIncrementNumberDay()

Test method "IncrementNumberDay".

public testIncrementNumberDay() : mixed

Test record number resetting with new day.

Return values
mixed

testIncrementNumberMonth()

Test method "IncrementNumberMonth".

public testIncrementNumberMonth() : void

Test record number resetting with new month.

Return values
void

testIncrementNumberStandard()

Test method "IncrementNumberStandard".

public testIncrementNumberStandard() : mixed
Return values
mixed

testIncrementNumberYear()

Test method "IncrementNumberYear".

public testIncrementNumberYear() : void

Test record number resetting with new year.

Return values
void

testLeadingZeros()

Test method "LeadingZeros" Test leading zeros in numbers generation.

public testLeadingZeros() : void
Return values
void

testParse()

Test method "Parse".

public testParse() : mixed

Test parsing method for record numbers on different dates.

Return values
mixed

testSequenceNumber()

Test method "StandardNumber".

public testSequenceNumber() : mixed
Return values
mixed

disableLogs()

Disable system logs.

protected disableLogs() : void
Return values
void

enableLogs()

Enable system logs.

protected enableLogs() : void
Return values
void

onNotSuccessfulTest()

This method is called when a test method did not execute successfully.

protected onNotSuccessfulTest(Throwable $t) : void
Parameters
$t : Throwable
Tags
codeCoverageIgnore
Return values
void

Search results