http://www.aros.org AROS-Exec AROS-Exec Archives Power2People
kitty mascottop logo menu

Zune Test Specifications

The sections below describe test cases to confirm the basic functionality of Zune classes using the main Zune test program. The standard location of this program in binary distributions is 'Developer/Debug/Tests/Zune'.

Colorfield

  1. Go to the Color tab.
  2. Go to the Colors subtab.
  3. Check the left Colorfield is light blue. [tests MUIA_Colorfield_RGB[I]]
  4. Check the right Colorfield is the same light blue. [tests MUIA_Colorfield_(Red|Green|Blue)[I]]
  5. Check pen number is "253". [tests MUIA_Colorfield_Pen[IG]]
  6. Enter "252" in the pen box, and press return.
  7. Check the left Colorfield stays the same colour. [tests MUIA_Colorfield_Pen[S]]
  8. Adjust the colour in the Coloradjust object.
  9. Check the left Colorfield shows the new colour. [tests MUIA_Colorfield_(Red|Green|Blue)[S]]
  10. Check the right Colorfield shows the new colour. [tests MUIA_Colorfield_(Red|Green|Blue)[G]]
  11. Go to the Pens subtab.
  12. Check the left Pendisplay shows the new colour. [tests MUIA_Colorfield_RGB[G]]
  13. Go back to the Colors subtab.
  14. Press the 'Reset' button.
  15. Check the left Colorfield is light blue. [tests MUIA_Colorfield_RGB[S]]

Pendisplay

  1. Go to the Color tab.
  2. Go to the Pens subtab.
  3. Check the left Pendisplay is the "Shine" colour (usually off-white). [tests MUIA_Pendisplay_Spec[I]]
  4. Check the pen spec is "m0". [tests MUIA_Pendisplay_Spec[G]]
  5. Check the right Pendisplay shows light blue. [tests MUIA_Pendisplay_RGBcolor[I]]
  6. Go to the Colors subtab.
  7. Adjust the colour in the Coloradjust object.
  8. Go back to the Pens subtab.
  9. Check the left Pendisplay shows the new colour. [tests MUIA_Pendisplay_RGBcolor[S]]
  10. Check the Poppen shows the new colour. [tests MUIA_Pendisplay_RGBcolor[G]]
  11. Check the pen number has changed. [tests MUIA_Pendisplay_Pen[G]]
  12. Select the 'Reference' checkbox.
  13. Change the pen spec to "m7".
  14. Check the left Pendisplay is the "Mark" colour (usually peach). [tests MUIA_Pendisplay_Spec[S]]
  15. Check the right Pendisplay is the same colour as the left one. [tests MUIA_Pendisplay_Reference[S]]
  16. Enter "253" in the 'Pen' box, and press return.
  17. Check the left Pendisplay area has changed colour (usually to green). [tests MUIM_Pendisplay_SetColormap]
  18. Press the 'Shine' button.
  19. Check that the left Pendisplay shows the Shine colour. [tests MUIM_Pendisplay_SetMUIPen]
  20. Press the 'Yellow' button.
  21. Check the left Pendisplay shows yellow. [tests MUIM_Pendisplay_SetRGB]

Untested attributes: MUIA_Pendisplay_Reference[IG]

String

  1. Go to the Text tab.
  2. Go to the String subtab.
  3. Check that none of the test strings are disabled. [tests MUIA_String_Format[G], MUIA_String_Secret[G]]
  4. Click in the first string.
  5. Press the return key to advance to the second string. [tests MUIA_String_AdvanceOnCR[I]]
  6. Check that the cursor is on the fourth character. [tests MUIA_String_BufferPos[I]]
  7. Untick 'Advance on CR'.
  8. Click in each of the test strings to check that their alignment is as described. [tests MUIA_String_Format[I]]
  9. Type "u*" in the first string gadget.
  10. Check that exactly "u" appears in the string gadget, and that a display-beep occurs. [tests MUIA_String_Accept[I]]
  11. Type "?." in the second string gadget.
  12. Check that exactly "." appears in the string gadget, and that a display-beep occurs. [tests MUIA_String_Reject[I]]
  13. Check that "aeiou?." appears in the 'Acceptable characters' string gadget. [tests MUIA_String_Contents[I]]
  14. Check that exactly "*?" appears in the 'Unacceptable characters' string gadget. [tests MUIA_String_Contents[S]]
  15. Clear the first and second strings.
  16. Remove "." from the 'Acceptable characters' string.
  17. Type "i.e." in the second string gadget.
  18. Check that exactly "ie" appears in the string gadget, and that two display-beeps occur. [tests MUIA_String_Contents[G], MUIA_String_Accept[SG]]
  19. Append "o" to the 'Unacceptable characters' string.
  20. Type "eo" in the third string gadget.
  21. Check that exactly "e" appears in the string gadget, and that a display-beep occurs. [tests MUIA_String_Contents[G], MUIA_String_Reject[SG]]
  22. Type "aeiou!" in the secret string.
  23. Check that exactly "****" appears. [tests MUIA_String_Secret[I]]
  24. Tick 'Accept all characters'.
  25. Type "hello world" in the first string.
  26. Check that only "hello wo" appears. [tests MUIA_String_MaxLen[I]]
  27. Check that the 'Maximum string length' field contains "8". [tests MUIA_String_MaxLen[G]]
  28. Type "Hello" in the third string.
  29. Set the 'Cursor position' slider to 2.
  30. Click in the second string.
  31. Press the return key.
  32. Check that the cursor disappears (and doesn't appear in any other string). [tests MUIA_String_AdvanceOnCR[SG]]
  33. Click in the second string.
  34. Press the tab key to advance to the third string.
  35. Check that the cursor is on the third character. [tests MUIA_String_BufferPos[SG]]
  36. Press the cursor down key three times.
  37. Go to the 'List' tab.
  38. Go to the 'Single Column (1)' subtab.
  39. Check that 'Banana' is the active entry in the 'No Multiselect' list. [tests MUIA_String_AttachedList[I]]
  40. Go back to the 'Text' tab.
  41. Untick 'Attach list'.
  42. Click in the second string.
  43. Press the cursor up key once.
  44. Go to the 'List' tab.
  45. Check that 'Banana' is still the active entry in the 'No Multiselect' list. [tests MUIA_String_AttachedList[SG]]
  46. Go back to the 'Text' tab.
  47. Tick 'Attach list'.
  48. Click in the second string.
  49. Press the cursor up key once.
  50. Go to the 'List' tab.
  51. Check that 'Apple' is the active entry in the 'No Multiselect' list. [tests MUIA_String_AttachedList[SG]]
  52. Go back to the 'Text' tab.
  53. Check that the 'Centered' string contains "123". [tests MUIA_String_Integer[I]]
  54. Click in the 'Centered' string.
  55. Press the return key.
  56. Check that the 'Integer value' string contains "123". [tests MUIA_String_Integer[SG]]
  57. Enter "12345678" in the 'Narrow' string.
  58. Move the 'Display position' slider to 3.
  59. Check that the first character shown in the 'Narrow' string is '4'. [tests MUIA_String_DisplayPos[SG]]
  60. Click in the 'Secret' string.
  61. Press the return key.
  62. Check that the 'Plaintext' string contains "aeiu". [tests MUIA_String_Acknowledge[G]]

Untested attributes: MUIA_String_EditHook[ISG], MUIA_String_LonelyEditHook[ISG]

List/Listview

  1. Click on the drop-down button of the PopString object.
  2. Double-click the third entry in the list.
  3. Check that the string gadget contains the text "Entry3". [tests MUIM_List_GetEntry]
  4. Go to the List tab.
  5. Check that the second and fifth lists are scrolled to the bottom. [tests MUIA_List_AutoVisible[IS]]
  6. Check that there are 24 entries in each list, starting with 'Strawberry' and ending with 'Pumpkin'. [tests MUIA_Listview_List[I], MUIA_List_SourceArray[I]]
  7. Check that each list's scrollbar position and initial active entry matches the description in the list's help bubble. [tests MUIA_Listview_ScrollerPos[I], MUIA_List_Active[I]]
  8. Check that the value in the 'Visible entries' box is the number of entries shown in the first list (excluding the heading). [tests MUIA_List_Visible[G]]
  9. Adjust the window's height so that the number of visible entries in each list changes.
  10. Check that the value in the 'Visible entries' box changes accordingly. [tests MUIA_List_Visible[N]]
  11. Check that the last list has more vertical space between entries than the other lists. [tests MUIA_List_MinLineHeight[I]]
  12. Double-click on any entry in the first list.
  13. Check that the list is disabled. [tests MUIA_Listview_DoubleClick[N]]
  14. Click on the 'Enable' button.
  15. Select the second list (using the radio button).
  16. Check that the value in the 'First visible index' box is correct. [tests MUIA_List_First[G], MUIA_Listview_List[G]]
  17. Check that the 'Auto visible' checkbox is selected. [tests MUIA_List_AutoVisible[G]]
  18. Select 'Bottom' in the 'Insert mode' cycle gadget.
  19. Click the 'Insert single' button.
  20. Check that the value in the 'Last insertion index' box is one less than the number of entries in the list. [tests MUIA_List_InsertPosition[N]]
  21. Check that the value in the 'Entries' box has been incremented by one. [tests MUIA_List_Entries[G]]
  22. Select the first list.
  23. Select the second list.
  24. Check that the values in the 'Entries' and 'Last insertion index' boxes have not changed from when this list was previously active. [tests MUIA_List_Entries[G], MUIA_List_InsertPosition[G]]
  25. Select 'Down' in the 'Jump mode' cycle gadget.
  26. Click the 'Jump' button.
  27. Check that the new 'Tomato' entry is visible. [tests MUIM_List_InsertSingle, MUIM_List_Jump]
  28. Select 'Up' in the 'Jump mode' cycle gadget.
  29. Click the 'Jump' button.
  30. Check that the new 'Tomato' entry is invisible. [tests MUIM_List_Jump]
  31. Enter Vegetables in the 'Title' box and press return.
  32. Check that the new title is shown at the top of the list. [tests MUIA_List_Title[S]]
  33. Select 'Top' in the 'Jump mode' cycle gadget.
  34. Click the 'Jump' button.
  35. Check that the first entry is visible. [tests MUIM_List_Jump]
  36. Select 'Bottom' in the 'Jump mode' cycle gadget.
  37. Click the 'Jump' button.
  38. Check that the last entry is visible. [tests MUIM_List_Jump]
  39. Click the 'Deactivate' button.
  40. Check that the second-last entry is not highlighted as active, and the value in the 'Active index' box is 'N/A'. [tests MUIA_List_Active[SGN]]
  41. Select 'Active' in the 'Jump mode' cycle gadget.
  42. Click the 'Jump' button.
  43. Check that the first entry is visible. [tests MUIM_List_Jump]
  44. Click on 'Blueberry' in the active list.
  45. Scroll the active list to the top.
  46. Click the 'Jump' button.
  47. Check that 'Blueberry' is the last visible entry. [tests MUIM_List_Jump]
  48. Scroll the active list to the bottom.
  49. Click the 'Jump' button.
  50. Check that 'Blueberry' is the first visible entry. [tests MUIM_List_Jump]
  51. Select 'Index' in the 'Jump mode' cycle gadget.
  52. Enter '100' in the 'Affected index 1' box.
  53. Click the 'Jump' button.
  54. Check that the last entry is visible. [tests MUIM_List_Jump]
  55. Click the 'Activate' button.
  56. Check that the last entry is highlighted as active. [tests MUIA_List_Active[S]]
  57. Check that the value in the 'Active index' box is one less than the number of entries in the list. [tests MUIA_List_Active[GN]]
  58. Select 'Top' in the 'Activate mode' cycle gadget.
  59. Click the 'Activate' button.
  60. Check that the first entry is visible and highlighted as active. [tests MUIA_List_Active[S]]
  61. Check that the value in the 'Active index' box is '0'. [tests MUIA_List_Active[GN]]
  62. Enter '0' in the 'Affected index 1' box.
  63. Click the 'Select' button.
  64. Check that the first entry is highlighted as selected. [tests MUIM_List_Select]
  65. Click the 'Toggle' button.
  66. Check that the first entry is not highlighted as selected. [tests MUIM_List_Select]
  67. Select 'Down' in the 'Activate mode' cycle gadget.
  68. Click the 'Activate' button.
  69. Check that the second entry is visible and highlighted as active. [tests MUIA_List_Active[S]]
  70. Check that the value in the 'Active index' box is '1'. [tests MUIA_List_Active[GN]]
  71. Select 'Active' in the 'Select/redraw mode' cycle gadget.
  72. Click the 'Select' button.
  73. Check that the second entry is highlighted as selected. [tests MUIM_List_Select]
  74. Click the 'Deselect' button.
  75. Check that the second entry is not highlighted as selected. [tests MUIM_List_Select]
  76. Click the 'Toggle' button.
  77. Check that the second entry is highlighted as selected. [tests MUIM_List_Select]
  78. Select 'Bottom' in the 'Activate mode' cycle gadget.
  79. Click the 'Activate' button.
  80. Check that the last entry is visible and highlighted as active. [tests MUIA_List_Active[S]]
  81. Check that the value in the 'Active index' box is one less than the number of entries in the list. [tests MUIA_List_Active[GN]]
  82. Select 'All' in the 'Select/redraw mode' cycle gadget.
  83. Click the 'Toggle' button.
  84. Check that all but second entry are highlighted as selected. [tests MUIM_List_Select]
  85. Select 'Up' in the 'Activate mode' cycle gadget.
  86. Click the 'Activate' button.
  87. Check that the second-last entry is visible and highlighted as active. [tests MUIA_List_Active[S]]
  88. Check that the value in the 'Active index' box is two less than the number of entries in the list. [tests MUIA_List_Active[GN]]
  89. Select 'Page Up' in the 'Activate mode' cycle gadget.
  90. Click the 'Activate' button.
  91. Check that the first visible entry is unchanged except for being highlighted as active. [tests MUIA_List_Active[S]]
  92. Click the 'Exchange' button.
  93. Check that no entries have been exchanged. [tests MUIM_List_Exchange]
  94. Enter '2' in the 'Affected index 1' box.
  95. Click the 'Exchange' button.
  96. Check that the first and third entries have been exchanged. [tests MUIM_List_Exchange]
  97. Select 'Top' in the 'Move/Exchange mode 1' cycle gadget.
  98. Click the 'Exchange' button.
  99. Check that no entries have been exchanged. [tests MUIM_List_Exchange]
  100. Select 'Bottom' in the 'Move/Exchange mode 1' cycle gadget.
  101. Select 'Previous' in the 'Move/Exchange mode 2' cycle gadget.
  102. Click the 'Exchange' button.
  103. Check that the last two entries have been exchanged. [tests MUIM_List_Exchange]
  104. Select 'Next' in the 'Move/Exchange mode 2' cycle gadget.
  105. Click the 'Exchange' button.
  106. Check that no entries have been exchanged. [tests MUIM_List_Exchange]
  107. Select 'Top' in the 'Move/Exchange mode 1' cycle gadget.
  108. Click the 'Exchange' button.
  109. Check that the first two entries have been exchanged. [tests MUIM_List_Exchange]
  110. Select 'Previous' in the 'Move/Exchange mode 2' cycle gadget.
  111. Click the 'Exchange' button.
  112. Check that no entries have been exchanged. [tests MUIM_List_Exchange]
  113. Click on the fifth entry.
  114. Check that the value in the 'Active index' box is '4'. [tests MUIA_List_Active[GN]]
  115. Select 'Active' in the 'Move/Exchange mode 1' cycle gadget.
  116. Click the 'Exchange' button.
  117. Check that the fourth and fifth entries have been exchanged, but the active index is unchanged. [tests MUIM_List_Exchange]
  118. Click the 'Move' button.
  119. Check that the fourth and fifth entries have been exchanged, and the active index is unchanged. [tests MUIM_List_Move]
  120. Select 'Index' in both 'Move/Exchange mode' cycle gadgets.
  121. Click the 'Move' button.
  122. Check that the third entry has moved to the top of the list. [tests MUIM_List_Move]
  123. Select 'Top' in the 'Move/Exchange mode 1' cycle gadget.
  124. Click the 'Move' button.
  125. Check that no entries have been moved. [tests MUIM_List_Move]
  126. Select 'Bottom' in the 'Move/Exchange mode 1' cycle gadget.
  127. Select 'Previous' in the 'Move/Exchange mode 2' cycle gadget.
  128. Click the 'Move' button.
  129. Check that the last two entries have been exchanged. [tests MUIM_List_Move]
  130. Select 'Next' in the 'Move/Exchange mode 2' cycle gadget.
  131. Click the 'Move' button.
  132. Check that no entries have been moved. [tests MUIM_List_Move]
  133. Select 'Top' in the 'Move/Exchange mode 1' cycle gadget.
  134. Click the 'Move' button.
  135. Check that the first two entries have been exchanged. [tests MUIM_List_Move]
  136. Select 'Previous' in the 'Move/Exchange mode 2' cycle gadget.
  137. Click the 'Move' button.
  138. Check that no entries have been moved. [tests MUIM_List_Move]
  139. Click the 'Sort' button.
  140. Check that the list is sorted alphabetically, and the active index is unchanged. [tests MUIM_List_Sort]
  141. Click the 'Clear' button.
  142. Check that the list is empty. [tests MUIM_List_Clear]
  143. Check that the value in the 'Active index' box is 'N/A'. [tests MUIA_List_Active[GN]]
  144. Check that the value in the 'Entries' box is '0'. [tests MUIA_List_Entries[N]]
  145. Check that the value in the 'First visible index' box is '0'. [tests MUIA_List_First[N]]
  146. Click the 'Insert Single' button.
  147. Check that there is one entry in the list. [tests MUIM_List_InsertSingle]
  148. Click on the only entry.
  149. Select 'Active' in the 'Insert mode' cycle gadget.
  150. Click the 'Insert Multiple' button.
  151. Check that there are multiple entries in the list and 'Tomato' is still visible and highlighted as the active entry. [tests MUIM_List_Insert, MUIA_List_Active[GN]]
  152. Check that the value in the 'Entries' box equals the number of entries in the list. [tests MUIA_List_Entries[N]]
  153. Check that the value in the 'Last insertion index' box is '0'. [tests MUIA_List_InsertPosition[N]]
  154. Check that the value in the 'Active index' box is one less than the number of entries in the list. [tests MUIA_List_Active[GN]]
  155. Select the first list.
  156. Check that the list's title is shown in the 'Title' box. [tests MUIA_List_Title[G]]
  157. Clear the 'Title' box and press return.
  158. Check that the list has no title. [tests MUIA_List_Title[S]]
  159. Click the 'Sort' button.
  160. Check that the list is sorted in order of string length, from shortest to longest. [tests MUIM_List_Sort, MUIA_List_CompareHook[I]]
  161. Select the read-only list.
  162. Click on the first entry.
  163. Check that the entry is not highlighted. [tests MUIA_Listview_Input[I]]
  164. Press the down cursor key.
  165. Check that the first entry is not visible. [tests MUIA_Listview_Input[I]]
  166. Click the 'Sort' button.
  167. Check that the list is sorted in order of string length, from shortest to longest. [tests MUIM_List_Sort, MUIA_List_CompareHook[S]]
  168. Select the fourth list.
  169. Enter '99' in the 'Affected index 1' box.
  170. Click the 'Remove' button.
  171. Check that no entries have been removed. [tests MUIM_List_Remove]
  172. Select the first, fifth and sixth entries.
  173. Select 'Selected' in the 'Remove mode' cycle gadget.
  174. Click the 'Remove' button.
  175. Check that the selected entries have been removed and that the fourth entry is now active (but unselected). [tests MUIM_List_Remove]
  176. Select 'Active' in the 'Remove mode' cycle gadget.
  177. Click the 'Remove' button.
  178. Check that the active entry has been removed and that the new fourth entry is now active. [tests MUIM_List_Remove]
  179. Select the last entry.
  180. Select 'Last' in the 'Remove mode' cycle gadget.
  181. Click the 'Remove' button.
  182. Check that the last entry has been removed and that the new last entry is now active. [tests MUIM_List_Remove]
  183. Select the third list.
  184. Select the first three entries.
  185. Select 'Safe Loop' in the 'Remove mode' cycle gadget.
  186. Click the 'Remove' button.
  187. Check that the first three entries have been removed. [tests MUIM_List_Remove, MUIM_List_NextSelected]
  188. Click the 'Remove' button.
  189. Check that the active entry has been removed. [tests MUIM_List_Remove, MUIM_List_NextSelected]
  190. Select the first list.
  191. Select the 'Quiet' checkbox.
  192. Move the scroll bar to the bottom.
  193. Check that the the top of the list is still visible. [tests MUIA_List_Quiet[S]]
  194. Deselect the 'Quiet' checkbox.
  195. Check that the the bottom of the list is now visible. [tests MUIA_List_Quiet[S]]
  196. Check that the 'Draggable' and 'Drag sortable' checkboxes are selected. [tests MUIA_Listview_DragType[IG], MUIA_List_DragSortable[IG]]
  197. Drag the first item over other items in the list and check that drop marks are shown. [tests MUIA_List_ShowDropMarks[I]]
  198. Drop the item between the fourth and fifth items.
  199. Check that the old first item is now positioned between the old fourth and fifth items, and is still active. [tests MUIA_List_DragSortable[I], MUIA_Listview_DragType[I]]
  200. Check that the value in the 'Last drop index' box is '4'. [tests MUIA_List_DropMark[G]]
  201. Select the second list.
  202. Attempt to drag the first item and check that it fails. [tests MUIA_Listview_DragType[I]]
  203. Select the 'Draggable' checkbox.
  204. Attempt to drag the first item and check that it succeeds. [tests MUIA_Listview_DragType[S]]
  205. Drag the first item and drop it between the fourth and fifth items.
  206. Check that the item has not moved.
  207. Select the 'Drag sortable' checkbox.
  208. Deselect the 'Show drop marks' checkbox.
  209. Drag the first item over other items in the list and check that drop marks are not shown. [tests MUIA_List_ShowDropMarks[S]]
  210. Drop the item between the third and fourth items.
  211. Check that the old first item is now positioned between the old fourth and fifth items. [tests MUIA_List_DragSortable[S]]
  212. Check that the value in the 'Last drop index' box is '3'. [tests MUIA_List_DropMark[G]]
  213. Select the first list.
  214. Check that the 'Show drop marks' checkbox is selected. [tests MUIA_List_ShowDropMarks[G]]
  215. Click on the first entry in the first list.
  216. Click on the third entry in the list.
  217. Check that only the third entry is highlighted in the list. [tests MUIA_Listview_MultiSelect[I]]
  218. Shift-click on the first entry in the first list.
  219. Check that only the first entry is highlighted in the list. [tests MUIA_Listview_MultiSelect[I]]
  220. Click on the first entry in the third list.
  221. Click on the third entry in the list.
  222. Check that only the third entry is highlighted in the list. [tests MUIA_Listview_MultiSelect[I]]
  223. Shift-click on the first entry in the list.
  224. Check that only the first and third entries are highlighted. [tests MUIA_Listview_MultiSelect[I]]
  225. Drag-click over the first, second and third entries.
  226. Check that only the first, second and third entries are highlighted. [tests MUIA_Listview_MultiSelect[I]]
  227. Drag-click over the fourth, fifth and sixth entries.
  228. Check that only the fourth, fifth and sixth entries are highlighted. [tests MUIA_Listview_MultiSelect[I]]
  229. Shift-drag-click over the first, second and third entries.
  230. Check that only the first six entries are highlighted. [tests MUIA_Listview_MultiSelect[I]]
  231. Select the fourth list.
  232. Click the 'Remove' button.
  233. Drag-click over the first six entries.
  234. Check that the entries beginning with a consonent are highlighted and those beginning with a vowel are not. [tests MUIA_List_MultiTestHook[I]]
  235. Check that the value in the 'Selected entries' box is '4'. [tests MUIA_Listview_SelectChange[N]]
  236. Click on the second entry and check that it isn't highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  237. Click on the third entry and check that it is no longer highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  238. Deselect the remaining selected entries in the list.
  239. Click on the second entry and check that it is highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  240. Click on the first entry and check that it isn't highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  241. Click on the fourth entry and check that it isn't highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  242. Check that the second entry is still highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  243. Click on the second entry and check that it is no longer highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  244. Drag-click over the second to sixth entries (in that order).
  245. Check that only the second entry is highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  246. Click on the second entry and check that it is no longer highlighted as selected. [tests MUIA_List_MultiTestHook[I]]
  247. Click the 'Select' button.
  248. Check that the entries beginning with a consonent are highlighted and those beginning with a vowel are not. [tests MUIA_List_MultiTestHook[I]]
  249. Click the 'Deselect' button.
  250. Deselect the 'Filter multiselect' checkbox.
  251. Click on the first entry in the list.
  252. Click on the third entry in the list.
  253. Check that only the first and third entries are highlighted. [tests MUIA_Listview_MultiSelect[I]]
  254. Shift-click on the fifth entry in the list.
  255. Check that only the first, third and fifth entries are highlighted. [tests MUIA_Listview_MultiSelect[I]]
  256. Drag-click over the first and second entries.
  257. Check that only the third and fifth entries are highlighted. [tests MUIA_Listview_MultiSelect[I]]
  258. Drag-click over the first, second and third entries.
  259. Check that only the first, second, third and fifth entries are highlighted. [tests MUIA_Listview_MultiSelect[I], MUIA_List_MultiTestHook[I]]
  260. Drag-click over the fourth, fifth and sixth entries.
  261. Check that only the first six entries are highlighted. [tests MUIA_Listview_MultiSelect[I], MUIA_List_MultiTestHook[I]]
  262. Select the 'Filter multiselect' checkbox.
  263. Check that no entries are highlighted as selected. [tests MUIA_List_MultiTestHook[S]]
  264. Click on the fourth entry and check that it is highlighted as selected. [tests MUIA_List_MultiTestHook[S]]
  265. Click on the second entry and check that selections haven't changed. [tests MUIA_List_MultiTestHook[S]]
  266. Click on the third entry and check that selections haven't changed. [tests MUIA_List_MultiTestHook[S]]
  267. Go to the 'Multicolumn' subtab.
  268. Check that the two lists contain entries. [tests MUIA_List_ConstructHook[IS], MUIA_List_DisplayHook[IS]]
  269. Check that the left-hand list does not change width when the window is resized. [tests MUIA_List_AdjustWidth[I]]
  270. Check that the right-hand list does not change height when the window is resized. [tests MUIA_List_AdjustHeight[I]]
  271. Click in the second column of the left-hand list.
  272. Check that the value in the 'Clicked column' box is '1'. [tests MUIA_Listview_ClickColumn[N]]
  273. Check that the value in the 'Default clicked column' box is '1'. [tests MUIA_Listview_DefClickColumn[IG]]
  274. Enter '2' in the 'Default clicked column' box, and press the return key.
  275. Make the left-hand list active.
  276. If necessary, click on one of the first two columns to ensure that the value in the 'Clicked column' box is not '2'.
  277. Press the return key.
  278. Check that the value in the 'Clicked column' box is '2'. [tests MUIA_Listview_DefClickColumn[S], MUIA_Listview_ClickColumn[N]]
  279. Check that column headings are shown. [tests MUIA_List_Title[I]]
  280. Check that the 'Show column headings' checkbox is selected. [tests MUIA_List_Title[G]]
  281. Deselect the 'Show column headings' checkbox.
  282. Check that column headings are not shown. [tests MUIA_List_Title[S]]
  283. Check that three columns are shown in the right-hand list and there are dividers between them. [tests MUIA_List_Format[I]]
  284. Check that the 'Format' box contains the string "BAR,BAR,". [tests MUIA_List_Format[G]]
  285. Remove the first three letters ("BAR") in the 'Format' box and press return.
  286. Check that the divider between the first two columns in the right-hand list has disappeared. [tests MUIA_List_Format[S]]
  287. Check that the 'Format' box is still active. [tests MUIA_List_Format[N]]
  288. Select the 'Show image' checkbox.
  289. Check that a blue box is shown in the first column of both lists. [tests MUIM_List_CreateImage, MUIM_List_Redraw]
  290. Double-click on any entry in the right-hand list.
  291. Check that the value reported is 1. [tests MUIA_Listview_DoubleClick[G]]
  292. Press the 'OK' button.
  293. Check that the highlighted entry in the list doesn't change as the mouse pointer is moved vertically through the list.

Automatically tested attributes: MUIA_Listview_ClickColumn[G], MUIA_List_DestructHook[IS]

Untested attributes: MUIA_Listview_SelectChange[G]

Untestable attributes: MUIA_List_Pool[I], MUIA_List_PoolPuddleSize[I], MUIA_List_PoolThreshSize[I]

Untestable methods: MUIM_List_DeleteImage

Untested methods: MUIM_List_TestPos


Copyright © 1995-2024, The AROS Development Team. Alla rättigheter förbehålles.
Amiga®, AmigaOS®, Workbench och Intuition är varumärken som tillhör Amiga Inc. Alla andra varumärken tillhör sina respektive ägare.