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

Public Member Functions

 testGetOpportunity ()
 
 testDeleteOpportunity ()
 
 testCreateOpportunity ()
 
 testCreateOpportunityWithSpecificOwner ()
 
 testCreateOpportunityWithSpecificExplicitPermissions ()
 
 testUpdateOpportunity ()
 
 testListOpportunities ()
 
 testListOpportunityAttributes ()
 
 testUnprivilegedUserViewUpdateDeleteOpportunities ()
 
 testBasicSearchOpportunities ()
 
 testDynamicSearchOpportunities ()
 
 testNewSearchOpportunities ()
 
 testGetOpportunitiesThatAreRelatedWithContact ()
 
 testEditOpportunityWithIncompleteData ()
 
 testEditOpportunityWIthIncorrectDataType ()
 
- 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 Opportunity related API functions.

Definition at line 40 of file ApiRestOpportunityTest.php.

Member Function Documentation

testDeleteOpportunity ( )

testGetOpportunity

Definition at line 74 of file ApiRestOpportunityTest.php.

testCreateOpportunity ( )

testGetOpportunity

Definition at line 102 of file ApiRestOpportunityTest.php.

testCreateOpportunityWithSpecificOwner ( )

testCreateOpportunity

Definition at line 226 of file ApiRestOpportunityTest.php.

testCreateOpportunityWithSpecificExplicitPermissions ( )

testCreateOpportunity

Definition at line 354 of file ApiRestOpportunityTest.php.

testUpdateOpportunity ( )

testCreateOpportunity

Definition at line 478 of file ApiRestOpportunityTest.php.

testListOpportunities ( )

testUpdateOpportunity

Definition at line 523 of file ApiRestOpportunityTest.php.

testUnprivilegedUserViewUpdateDeleteOpportunities ( )

testListOpportunities

Definition at line 572 of file ApiRestOpportunityTest.php.

testBasicSearchOpportunities ( )

testListOpportunities

Definition at line 689 of file ApiRestOpportunityTest.php.

testDynamicSearchOpportunities ( )

testBasicSearchOpportunities

Definition at line 826 of file ApiRestOpportunityTest.php.

testGetOpportunitiesThatAreRelatedWithContact ( )

Test get opportunities that are releted with contacts(MANY_MANY relationship) testDynamicSearchOpportunities

Definition at line 962 of file ApiRestOpportunityTest.php.


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