91 | | where ''<return value>'' is some number the code returns to indicate everything worked fine. The global theme is specified only once per '''.at''' file, file ''AT_SETUP'' and ''AT_CLEANUP'' sort of embrace every specific test that you want to do. |
92 | | |
93 | | Note that testing the undo/redo-functionality of an Action is always placed into the same test along with the normal functionality. |
| 92 | where ''<return value>'' is some number the code returns to indicate everything worked fine. The global theme is specified only once per '''.at''' file, file ''AT_SETUP'' and ''AT_CLEANUP'' sort of embrace every specific test that you want to do. Note that it is required to list the action name under ''AT_KEYWORDS'' and also give undo oder redo as an additional keyword if the undo or redo of the action is tested. It is advised to give further keywords, e.g. the directory name giving the general theme of the tests (selection, analysis, ...). Also note that all keywords are always lower-case! |
| 93 | |
| 94 | Note that testing the undo/redo-functionality of an Action is always placed into the same test file along with the normal functionality but in different tests (i.e. undo and redo each have their own ''AT_SETUP .. AT_CLEANUP'' wrapping). |