ApiRestContactTest Class Reference

Inheritance diagram for ApiRestContactTest:
ApiRestTest ApiBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testGetContact ()
 testDeleteContact ()
 testCreateContact ()
 testCreateContactWithSpecificOwner ()
 testCreateContactWithSpecificExplicitPermissions ()
 testUpdateContact ()
 testListContacts ()
 testListContactAttributes ()
 testUnprivilegedUserViewUpdateDeleteContacts ()
 testBasicSearchContacts ()
 testDynamicSearchContacts ()
 testNewSearchContacts ()
 testGetContactsThatAreRelatedWithOpportunity ()
 testCreateWithRelations ()
 testUpdateWithRelations ()
 testEditContactWithIncompleteData ()
 testEditContactWIthIncorrectDataType ()
 testGetCreatedContacts ()
 testGetModifiedContacts ()
 testGetDeletedContacts ()

Static Public Member Functions

static setUpBeforeClass ()

Protected Member Functions

 getApiControllerClassName ()
 getModuleBaseApiUrl ()

Detailed Description

Test Contact related API functions.

Definition at line 40 of file ApiRestContactTest.php.


Member Function Documentation

testDeleteContact (  ) 

testGetContact

Definition at line 80 of file ApiRestContactTest.php.

testCreateContactWithSpecificOwner (  ) 

testCreateContact

Definition at line 270 of file ApiRestContactTest.php.

testCreateContactWithSpecificExplicitPermissions (  ) 

testCreateContact

Definition at line 438 of file ApiRestContactTest.php.

testUpdateContact (  ) 

testCreateContact

Definition at line 606 of file ApiRestContactTest.php.

testListContacts (  ) 

testUpdateContact

Definition at line 653 of file ApiRestContactTest.php.

testUnprivilegedUserViewUpdateDeleteContacts (  ) 

testListContacts

Definition at line 701 of file ApiRestContactTest.php.

testBasicSearchContacts (  ) 

testUnprivilegedUserViewUpdateDeleteContacts

Definition at line 824 of file ApiRestContactTest.php.

testDynamicSearchContacts (  ) 

testBasicSearchContacts

Definition at line 964 of file ApiRestContactTest.php.

testGetContactsThatAreRelatedWithOpportunity (  ) 

Test get contacts that are releted with particular opportunity(MANY_MANY relationship) testDynamicSearchContacts

Definition at line 1113 of file ApiRestContactTest.php.

testUpdateWithRelations (  ) 

testCreateWithRelations

Definition at line 1236 of file ApiRestContactTest.php.

testGetCreatedContacts (  ) 

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 1373 of file ApiRestContactTest.php.

testGetModifiedContacts (  ) 

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 1522 of file ApiRestContactTest.php.

testGetDeletedContacts (  ) 

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 1627 of file ApiRestContactTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Aug 24 07:10:50 2019