Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

NoteTest Class Reference

Inheritance diagram for NoteTest:
ZurmoBaseTest BaseTest

Public Member Functions

 testQueryIsProperlyGeneratedForNoteWithRelatedOwnerSearch ()
 testCreateAndGetNoteById ()
 testGetLabel ()
 testGetNotesByNameForNonExistentName ()
 testUpdateNoteFromForm ()
 testDeleteNote ()
 testAutomatedOccurredOnDateTimeAndLatestDateTimeChanges ()
 testNobodyCanReadWriteDeleteAndStrValOfNoteFunctionsCorrectly ()
 testAUserCanDeleteANoteNotOwnedButHasExplicitDeletePermission ()
 testNoteActivityItemsAreSameAfterLoadNote ()
 testRemoveActivityItemFromActivity ()
 testGetModelClassNames ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Definition at line 37 of file NoteTest.php.


Member Function Documentation

testQueryIsProperlyGeneratedForNoteWithRelatedOwnerSearch (  ) 

This test specifically looks at when searching a note's owner. Because note extends mashableactivity which does not have a bean, the query is constructed slightly different than if mashableactivity had a bean.

Definition at line 52 of file NoteTest.php.

testCreateAndGetNoteById (  ) 

testQueryIsProperlyGeneratedForNoteWithRelatedOwnerSearch

Definition at line 86 of file NoteTest.php.

testGetLabel (  ) 

testCreateAndGetNoteById

Definition at line 117 of file NoteTest.php.

testGetNotesByNameForNonExistentName (  ) 

testGetLabel

Definition at line 129 of file NoteTest.php.

testUpdateNoteFromForm (  ) 

testCreateAndGetNoteById

Definition at line 139 of file NoteTest.php.

testDeleteNote (  ) 

testUpdateNoteFromForm

Definition at line 185 of file NoteTest.php.

testAutomatedOccurredOnDateTimeAndLatestDateTimeChanges (  ) 

testDeleteNote

Definition at line 198 of file NoteTest.php.

testNobodyCanReadWriteDeleteAndStrValOfNoteFunctionsCorrectly (  ) 

testAutomatedOccurredOnDateTimeAndLatestDateTimeChanges

Definition at line 230 of file NoteTest.php.

testAUserCanDeleteANoteNotOwnedButHasExplicitDeletePermission (  ) 

testNobodyCanReadWriteDeleteAndStrValOfNoteFunctionsCorrectly

Definition at line 270 of file NoteTest.php.

testNoteActivityItemsAreSameAfterLoadNote (  ) 

testCreateAndGetNoteById

Definition at line 299 of file NoteTest.php.

testRemoveActivityItemFromActivity (  ) 

testCreateAndGetNoteById

Definition at line 324 of file NoteTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:27 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8