All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
ApiRestTestModelItem2Test Class Reference
Inheritance diagram for ApiRestTestModelItem2Test:
ApiRestTest ApiBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testGet ()
 
 testDelete ()
 
 testCreate ()
 
 testCreateWithSpecificOwner ()
 
 testCreateWithSpecificExplicitPermissions ()
 
 testUpdate ()
 
 testList ()
 
 testListModelAttributes ()
 
 testLogout ()
 
- Public Member Functions inherited from ApiRestTest
 testLogin ()
 
 testLoginXml ()
 
- Public Member Functions inherited from ApiBaseTest
 setUp ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static getDependentTestModelClassNames ()
 
- Static Public Member Functions inherited from ApiBaseTest
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 ()
 
- Protected Member Functions inherited from ApiRestTest
 login ($username= 'super', $password= 'super', $type= 'json')
 
 loginXml ($username= 'super', $password= 'super')
 
 getModuleBaseApiUrl ()
 
 getApiControllerClassName ()
 
- Protected Member Functions inherited from ApiBaseTest
 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 ()
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Static Protected Member Functions inherited from ApiBaseTest
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 inherited from ApiBaseTest
 $serverUrl = ''
 
- Static Protected Attributes inherited from ApiBaseTest
static $createUsersAndGroups = true
 
static $randomNonEveryoneNonAdministratorsGroup = null
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

Detailed Description

Test ApiTestModelItem2 related API functions.

Definition at line 40 of file ApiRestTestModelItem2Test.php.

Member Function Documentation

testDelete ( )

testGet

Definition at line 83 of file ApiRestTestModelItem2Test.php.

testCreate ( )

testGet

Definition at line 112 of file ApiRestTestModelItem2Test.php.

testCreateWithSpecificOwner ( )

testCreate

Definition at line 186 of file ApiRestTestModelItem2Test.php.

testCreateWithSpecificExplicitPermissions ( )

testCreate

Definition at line 264 of file ApiRestTestModelItem2Test.php.

testUpdate ( )

testCreate

Definition at line 341 of file ApiRestTestModelItem2Test.php.

testList ( )

testUpdate

Definition at line 382 of file ApiRestTestModelItem2Test.php.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 2020 07:10:31