Documentation

C_RecordActions extends Base
in package

Table of Contents

$logs  : mixed
$loremIpsumHtml  : string
Temporary loremIpsum html.
$loremIpsumText  : string
Temporary loremIpsum text.
$recordAccounts  : Vtiger_Record_Model
Temporary record object.
$recordCampaigns  : Vtiger_Record_Model
Temporary record object.
$recordContacts  : Vtiger_Record_Model
Temporary Contacts record object.
$recordDocuments  : Vtiger_Record_Model
$recordLeads  : Vtiger_Record_Model
Temporary Leads record object.
$recordProducts  : Vtiger_Record_Model
Temporary Products record object.
$recordSQuotes  : Vtiger_Record_Model
Temporary SQuotes record object.
$logToFile  : bool
createAccountRecord()  : Vtiger_Record_Model
Creating account module record for tests.
createContactRecord()  : Vtiger_Record_Model
Creating contacts module record for tests.
createDocumentsRecord()  : Vtiger_Record_Model
Creating Documents module record for tests.
createLeadRecord()  : Vtiger_Record_Model
Creating leads module record for tests.
createLoremIpsumHtml()  : string
Load lorem ipsum html text for tests.
createLoremIpsumText()  : string
Load lorem ipsum clear text for tests.
createProductRecord()  : Vtiger_Record_Model
Creating Product module record for tests.
createSQuotesRecord()  : Vtiger_Record_Model
Creating SQuotes module record for tests.
testCheckLockFields()  : mixed
Testing the edit block feature.
testCreateRecord()  : mixed
Testing the record creation.
testEditRecord()  : mixed
Testing record editing.
testGetDisplayName()  : mixed
Testing the record label.
testPermission()  : mixed
Testing editing permissions.
testStateRecord()  : mixed
Testing the change record state.
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

$loremIpsumHtml

Temporary loremIpsum html.

protected static string $loremIpsumHtml

$loremIpsumText

Temporary loremIpsum text.

protected static string $loremIpsumText

$logToFile

private bool $logToFile

Methods

createLoremIpsumHtml()

Load lorem ipsum html text for tests.

public static createLoremIpsumHtml() : string
Return values
string

createLoremIpsumText()

Load lorem ipsum clear text for tests.

public static createLoremIpsumText() : string
Return values
string

testCheckLockFields()

Testing the edit block feature.

public testCheckLockFields() : mixed
Return values
mixed

testCreateRecord()

Testing the record creation.

public testCreateRecord() : mixed
Return values
mixed

testEditRecord()

Testing record editing.

public testEditRecord() : mixed
Return values
mixed

testGetDisplayName()

Testing the record label.

public testGetDisplayName() : mixed
Return values
mixed

testPermission()

Testing editing permissions.

public testPermission() : mixed
Return values
mixed

testStateRecord()

Testing the change record state.

public testStateRecord() : 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