You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test-script.html 8.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  5. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  6. <meta name="ProgId" content="FrontPage.Editor.Document">
  7. <title>AJDE Browser</title>
  8. <STYLE TYPE="text/css">
  9. <!--
  10. /* FOR THE SDA PAGE */
  11. /*
  12. BODY {margin-top: 15px; margin-left: 15px; margin-right: 15px;}
  13. */
  14. A:link {
  15. color:#4756AC;
  16. }
  17. A:visited {
  18. color:#60657B;
  19. }
  20. A:hover {
  21. color:red
  22. }
  23. INPUT {font:12px "Courier New", sans-serif;}
  24. H2 {
  25. font:18px/18px Verdana, Arial, Helvetica, sans-serif;
  26. color:black;
  27. font-weight:bold;
  28. margin-left: 10px;
  29. line-height:110%;
  30. }
  31. H3 {
  32. font:18px/18px Verdana, Arial, Helvetica, sans-serif;
  33. color:black;
  34. font-weight:bold;
  35. margin-left: 10px;
  36. line-height:110%;
  37. }
  38. H4 {
  39. font:15px/16px Verdana, Arial, Helvetica, sans-serif;
  40. color:black;
  41. font-weight:bold;
  42. margin-left: 10px;
  43. line-height:140%;
  44. }
  45. P {
  46. font:13px/13px Verdana, Arial, Helvetica, sans-serif;
  47. margin-right: 10px;
  48. margin-left: 10px;
  49. line-height:130%;
  50. }
  51. .paragraph {
  52. font:13px/13px Verdana, Arial, Helvetica, sans-serif;
  53. margin-right: 10px;
  54. margin-left: 10px;
  55. line-height:130%;
  56. }
  57. .smallParagraph {
  58. font:11px/11px Verdana, Arial, Helvetica, sans-serif;
  59. margin-right: 10px;
  60. margin-left: 10px;
  61. line-height:130%;
  62. }
  63. LI {
  64. font:13px/13px Verdana, Arial, Helvetica, sans-serif;
  65. text-align:justify;
  66. margin-right: 10px;
  67. margin-left: 15px;
  68. line-height:120%;
  69. }
  70. /*
  71. UL {
  72. font:13px/13px Verdana, Arial, Helvetica, sans-serif;
  73. text-align:justify;
  74. margin-right: 10px;
  75. margin-left: 15px;
  76. line-height:120%;
  77. }*/
  78. CODE {
  79. font:11px/11px Courier New, Courier, sans-serif;
  80. text-align:justify;
  81. margin-right: 10px;
  82. margin-left: 15px;
  83. line-height:120%;
  84. }
  85. DL {
  86. font:13px/13px Verdana, Arial, Helvetica, sans-serif;
  87. text-align:justify;
  88. margin-right: 10px;
  89. margin-left: 15px;
  90. line-height:120%;
  91. }
  92. .footer {
  93. font:10px/10px Verdana, Arial, Helvetica, sans-serif;
  94. color:#888888;
  95. text-align:left
  96. }
  97. .figureTitle {
  98. font:13px/13px Verdana, Arial, Helvetica, sans-serif;
  99. text-align:justify;
  100. text-align:center
  101. }
  102. .copyrightNotice {
  103. font:10px/10px Verdana, Arial, Helvetica, sans-serif;
  104. color:#999999;
  105. line-height:110%;
  106. }
  107. .smallHeading {
  108. font:13px/13px Verdana, Arial, Helvetica, sans-serif;
  109. font-weight:bold;
  110. line-height:110%;
  111. }
  112. .tinyHeading {
  113. font:11px/11px Verdana, Arial, Helvetica, sans-serif;
  114. font-weight:bold;
  115. line-height:120%;
  116. }
  117. .newsText {
  118. font:11px/11px Verdana, Arial, Helvetica, sans-serif;
  119. line-height:130%;
  120. }
  121. .smallParagraph {
  122. font:11px/11px Verdana, Arial, Helvetica, sans-serif;
  123. line-height:130%;
  124. }
  125. .fancyHeading {
  126. font:20px/20px Chantilly, Arial, Helvetica, sans-serif;
  127. margin-right: 10px;
  128. color:#6f7a92;
  129. margin-left: 10px;
  130. line-height:130%;
  131. }
  132. -->
  133. </STYLE>
  134. </head>
  135. <BODY BGCOLOR="white">
  136. <h3 align="center">AJDE Test Script</h3>
  137. <p><b>Structure Browser</b></p>
  138. <ul>
  139. <li>Select link node corresponding to code (nodes not in structure view):
  140. navigation should seek to the source line for the corresponding node, and the
  141. parent declaration should be selected in the structure view.</li>
  142. <li>seeking on compiler messages doesn't highlight, seeking on structure does
  143. and sets cursor in editor</li>
  144. <li>after successful compile task is removed</li>
  145. <li>JBuilder (and all?): save all happens before build</li>
  146. </ul>
  147. <p><b>AJBrowser Script</b></p>
  148. <p>Steps 3-6 apply should be re-tested in JBuilder and Forte seperately. </p>
  149. <ol>
  150. <li>launch browser &amp; manipulate config file set<ul>
  151. <li>with no config file passed as command line parameter: error message</li>
  152. <li>open config file by browsing filesystem<ul>
  153. <li>browse and add</li>
  154. <li>close config</li>
  155. <li>close config: silent fail</li>
  156. <li>compile: error message</li>
  157. </ul>
  158. </li>
  159. <li>with multiple config files passed as command line parameters<ul>
  160. <li>a file specified by its full path</li>
  161. <li>a file specified by its relative path</li>
  162. <li>non &quot;.lst&quot; file: file not added to configs list</li>
  163. <li>a file with an incorrect suffix: not added to list</li>
  164. </ul>
  165. </li>
  166. </ul>
  167. </li>
  168. <li><font color="#000080">run</font><ul>
  169. <li><font color="#000080">with no class selected: error dialog</font></li>
  170. <li><font color="#000080">with a non-main class selected: error dialog</font></li>
  171. <li><font color="#000080">with a correct main class selected</font></li>
  172. </ul>
  173. </li>
  174. <li><font color="#000080">debug</font><ul>
  175. <li><font color="#000080">with no class selected: error dialog</font></li>
  176. <li><font color="#000080">with a non-main class selected: error dialog</font></li>
  177. <li><font color="#000080">with a correct main class selected</font></li>
  178. </ul>
  179. </li>
  180. <li>compile<ul>
  181. <li>no config file present: error message</li>
  182. <li>non-existing config file: error message</li>
  183. <li>invalid config file: error dialog<ul>
  184. <li><font color="#008080">incorrect entry: error message seeks to
  185. corresponding line</font></li>
  186. <li><font color="#008080">non-existing file: error message seeks to
  187. corresponding line</font></li>
  188. </ul>
  189. </li>
  190. <li>compile error-generating code: compiler error, failed build reported<ul>
  191. <li>seek to compiler message</li>
  192. <li>recompile: messages pane disappears</li>
  193. </ul>
  194. </li>
  195. <li>compile warning-generating code: compiler warning, successful build
  196. reported</li>
  197. <li><font color="#008080">compile and generate compiler error: error message</font></li>
  198. <li><font color="#008080">compile and generate OutOfMemoryError: error
  199. message</font></li>
  200. <li><font color="#008080">compile and abort: aborted build reported</font></li>
  201. <li>compile valid code: successful build reported</li>
  202. </ul>
  203. </li>
  204. <li>browse structure (expand this section)<ul>
  205. <li>test modes<ul>
  206. <li>global view</li>
  207. <li>file view</li>
  208. <li>split views</li>
  209. </ul>
  210. </li>
  211. <li>expand/collapse tree levels using slider</li>
  212. <li>close and re-launch browser: previously saved structure tree should be
  213. present</li>
  214. </ul>
  215. </li>
  216. <li><font color="#008080">edit &quot;.lst&quot; file</font><ul>
  217. <li><font color="#008080">select for editing and verify integrity of package/file structure</font></li>
  218. <li><font color="#008080">select/deselect nodes and save</font></li>
  219. <li><font color="#008080">verify saves committed to disk</font></li>
  220. <li><font color="#008080">break &quot;.lst&quot; file on disk: error dialog</font></li>
  221. <li><font color="#008080">coverage: when compilation breaks</font></li>
  222. <li><font color="#008080">coverage: when aspectjrt.jar not present on
  223. classpath</font></li>
  224. </ul>
  225. </li>
  226. <li>user preferences<ul>
  227. <li>set options in &quot;Properties&quot; window</li>
  228. <li>close and re-launch browser</li>
  229. <li>verify properties<ul>
  230. <li>Build Options<ul>
  231. <li>non-standard options</li>
  232. </ul>
  233. </li>
  234. </ul>
  235. </li>
  236. </ul>
  237. </li>
  238. <li>error handler<ul>
  239. <li>verify that the error handler shows stack trace</li>
  240. </ul>
  241. </li>
  242. </ol>
  243. <p><b>AJDE/JBuilder</b></p>
  244. <ol>
  245. <li>launch<ul>
  246. <li>AJDE startup message appears</li>
  247. <li>no AJDE listeners are enabled until AJDE started (whitebox)</li>
  248. </ul>
  249. </li>
  250. <li>make new project<ul>
  251. <li>*any* combination of parameters to the new project wizard should work</li>
  252. <li>add packages</li>
  253. <li>add single files</li>
  254. </ul>
  255. </li>
  256. <li>start AJDE</li>
  257. <li>repeat AJBrowser tests</li>
  258. <li>inline annotations<ul>
  259. <li>line with a single annotation</li>
  260. <li>line with multiple annotations</li>
  261. </ul>
  262. </li>
  263. </ol>
  264. <p><b>AJDE/Forte</b></p>
  265. <ol>
  266. <li>launch<ul>
  267. <li>AJDE startup message appears</li>
  268. <li>no AJDE listeners are enabled until AJDE started (whitebox)</li>
  269. </ul>
  270. </li>
  271. <li>make new project<ul>
  272. <li>*any* combination of parameters to the new project wizard should work</li>
  273. <li>add packages</li>
  274. <li>add single files</li>
  275. </ul>
  276. </li>
  277. <li>start AJDE</li>
  278. <li>repeat AJBrowser tests</li>
  279. </ol>
  280. </body>
  281. </html>