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

Public Member Functions

 testGetNote ()
 
 testDeleteNote ()
 
 testCreateNote ()
 
 testCreateNoteWithSpecificOwner ()
 
 testCreateNoteWithSpecificExplicitPermissions ()
 
 testUpdateNote ()
 
 testListNotes ()
 
 testListNoteAttributes ()
 
 testUnprivilegedUserViewUpdateDeleteNotes ()
 
 testBasicSearchNotes ()
 
 testDynamicSearchNotes ()
 
 testNewSearchNotes ()
 
 testGetNotesThatAreRelatedWithContactModel ()
 
 testCreateWithRelations ()
 
 testUpdateWithRelations ()
 
 testEditNoteWithIncompleteData ()
 
 testEditNoteWIthIncorrectDataType ()
 
- 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 Note related API functions.

Definition at line 40 of file ApiRestNoteTest.php.

Member Function Documentation

testDeleteNote ( )

testGetNote

Definition at line 73 of file ApiRestNoteTest.php.

testCreateNote ( )

testGetNote

Definition at line 100 of file ApiRestNoteTest.php.

testCreateNoteWithSpecificOwner ( )

testCreateNote

Definition at line 178 of file ApiRestNoteTest.php.

testCreateNoteWithSpecificExplicitPermissions ( )

testCreateNote

Definition at line 259 of file ApiRestNoteTest.php.

testUpdateNote ( )

testCreateNote

Definition at line 339 of file ApiRestNoteTest.php.

testListNotes ( )

testUpdateNote

Definition at line 386 of file ApiRestNoteTest.php.

testUnprivilegedUserViewUpdateDeleteNotes ( )

testListNotes

Definition at line 435 of file ApiRestNoteTest.php.

testBasicSearchNotes ( )

testUnprivilegedUserViewUpdateDeleteNotes

Definition at line 559 of file ApiRestNoteTest.php.

testDynamicSearchNotes ( )

testBasicSearchNotes

Definition at line 732 of file ApiRestNoteTest.php.

testGetNotesThatAreRelatedWithContactModel ( )

Test get notes that are related with particular contact(MANY_MANY relationship)

Definition at line 867 of file ApiRestNoteTest.php.

testUpdateWithRelations ( )

testCreateWithRelations

Definition at line 990 of file ApiRestNoteTest.php.


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