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

Public Member Functions

 testGetTask ()
 
 testDeleteTask ()
 
 testCreateTask ()
 
 testCreateTaskWithSpecificOwner ()
 
 testCreateTaskWithSpecificExplicitPermissions ()
 
 testUpdateTask ()
 
 testListTasks ()
 
 testListTaskAttributes ()
 
 testUnprivilegedUserViewUpdateDeleteTasks ()
 
 testBasicSearchTasks ()
 
 testDynamicSearchTasks ()
 
 testNewSearchTasks ()
 
 testEditTaskWithIncompleteData ()
 
 testEditTaskWIthIncorrectDataType ()
 
 testGetCreatedTasks ()
 
 testGetModifiedTasks ()
 
 testGetDeletedTasks ()
 
- 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 ()
 

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 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)
 
- 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 Task related API functions.

Definition at line 40 of file ApiRestTaskTest.php.

Member Function Documentation

testDeleteTask ( )

testGetTask

Definition at line 72 of file ApiRestTaskTest.php.

testCreateTaskWithSpecificOwner ( )

testCreateTask

Definition at line 187 of file ApiRestTaskTest.php.

testCreateTaskWithSpecificExplicitPermissions ( )

testCreateTask

Definition at line 281 of file ApiRestTaskTest.php.

testUpdateTask ( )

testCreateTaskWithSpecificOwner

Definition at line 371 of file ApiRestTaskTest.php.

testListTasks ( )

testUpdateTask

Definition at line 420 of file ApiRestTaskTest.php.

testUnprivilegedUserViewUpdateDeleteTasks ( )

testListTasks

Definition at line 469 of file ApiRestTaskTest.php.

testBasicSearchTasks ( )

testUnprivilegedUserViewUpdateDeleteTasks

Definition at line 590 of file ApiRestTaskTest.php.

testDynamicSearchTasks ( )

testBasicSearchTasks

Definition at line 763 of file ApiRestTaskTest.php.

testGetCreatedTasks ( )

Test if all newly created items was pulled from read permission tables via API. Please note that here we do not test if data are inserted in read permission tables correctly, that is part of read permission subscription tests

Exceptions
NotFoundException
NotImplementedException
NotSupportedException

Definition at line 965 of file ApiRestTaskTest.php.

testGetModifiedTasks ( )

Test if all modified items was pulled via API correctly. Please note that here we do not test if data are inserted in read permission tables correctly, that is part of read permission subscription tests

Exceptions
NotFoundException

Definition at line 1094 of file ApiRestTaskTest.php.

testGetDeletedTasks ( )

Test if all deleted items was pulled from read permission tables via API. Please note that here we do not test if data are inserted in read permission tables correctly, that is part of read permission subscription tests

Exceptions
NotFoundException

Definition at line 1190 of file ApiRestTaskTest.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 21 2020 07:10:30