All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
ApiBaseTest Class Reference
Inheritance diagram for ApiBaseTest:
ZurmoBaseTest BaseTest ApiRestTest ApiRestAccountAccountAffiliationTest ApiRestAccountContactAffiliationTest ApiRestAccountTest ApiRestContactStateTest ApiRestContactTest ApiRestCurrencyTest ApiRestCustomFieldTest ApiRestCustomModelActionTest ApiRestEmailMessageTest ApiRestGroupTest ApiRestLanguageTest ApiRestLeadTest ApiRestMeetingTest ApiRestNoteTest ApiRestOpportunityTest ApiRestPermissionTest ApiRestRoleTest ApiRestTaskTest ApiRestTestModelItem2Test ApiRestTestModelItemTest ApiRestUserTest ApiRestXmlAccountTest_Disabled

Public Member Functions

 setUp ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
- Static Public Member Functions inherited from ZurmoBaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Protected Member Functions

 getApiControllerClassName ()
 
 getModuleBaseApiUrl ()
 
 getBaseApiUrl ()
 
 setupServerUrl ()
 
 isApiTestUrlConfigured ()
 
 getModelToApiDataUtilData (RedBeanModel $model)
 
 createApiCallWithRelativeUrl ($relativeUrl, $method, $headers, $data=array())
 
 deleteAllModelsAndRecordsFromReadPermissionTable ($modelClassName)
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 

Static Protected Member Functions

static setRandomNonEveryoneNonAdministratorsGroup ()
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 

Protected Attributes

 $serverUrl = ''
 

Static Protected Attributes

static $createUsersAndGroups = true
 
static $randomNonEveryoneNonAdministratorsGroup = null
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 

Detailed Description

Base class to test API functions.

Definition at line 40 of file ApiBaseTest.php.

Member Function Documentation

deleteAllModelsAndRecordsFromReadPermissionTable (   $modelClassName)
protected

Cleanup models and read permission tables

Parameters
$modelClassName

Definition at line 136 of file ApiBaseTest.php.


The documentation for this class was generated from the following file:
Generated on Mon Jun 1 2020 07:10:39