| <html> |
| <head> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> |
| <link type="text/css" href="../../../../../..//default_style.css" rel="stylesheet"> |
| <link type="text/css" href="../../../../../..//webtools/wtp.css" rel="stylesheet"> |
| <title>Code Folding Tests</title> |
| </head> |
| <body> |
| <table border="0" cellpadding="2" cellspacing="5" width="100%"> |
| <col width="16"> |
| <col width="*"> |
| <tbody> |
| <tr> |
| <td colspan="2" align="left" bgcolor="#0080c0" valign="top"><b><font color="#ffffff" face="Arial,Helvetica">Code Folding</font></b></td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"><img src="../../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td> |
| <b>Status of this Document</b> |
| |
| <table border="1"> |
| |
| <tr> |
| |
| <th>Date</th> |
| <th>Comments</th> |
| |
| </tr> |
| |
| <tr> |
| |
| <td>6.21.06</td> |
| <td>Test created</td> |
| |
| </tr> |
| |
| </table> |
| |
| </td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"><img src="../../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td> |
| <b>Prerequisites</b> |
| </td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"> </td><td valign="top"> |
| <p>none.</p> |
| </td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"><img src="../../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td> |
| <b>General Information</b> |
| </td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"> </td><td valign="top"> |
| <p> |
| To enable folding: |
| <br> |
| Preferences->General->Editors->Structured Text |
| Editors->Appearance->Enable folding |
| <br> |
| Context menu of editor's vertical |
| ruler->Folding->Enable Folding |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"> </td><td valign="top"> |
| <p> |
| Here is some information on what constitutes a foldable |
| region |
| <ul> |
| |
| <li> |
| folding for xml creates folding region for all xml |
| tags |
| </li> |
| |
| <li> |
| folding for html creates folding region for head, |
| body, script, style, table tags |
| </li> |
| |
| <li> |
| folding for jsp creates folding region for jsp |
| scriptlet tags |
| </li> |
| |
| <li> |
| folding for css creates folding region for all style |
| rules |
| </li> |
| |
| </ul> |
| |
| <p> |
| Relevant bugs: |
| <ul> |
| |
| <li> |
| |
| <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=73271">Bug 73271</a> |
| |
| </li> |
| |
| <li> |
| |
| <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=85776">Bug 85776</a> |
| |
| </li> |
| |
| </ul> |
| |
| </p> |
| |
| |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"><img src="../../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td> |
| <b>Testing</b> |
| </td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"> </td><td valign="top"> |
| <p> |
| |
| <ul> |
| |
| <li> |
| Verify Enable folding preference turns on/off |
| folding and removes folding markers in vertical |
| ruler |
| </li> |
| |
| |
| <li> |
| Verify Folding vertical ruler menu (Enable Folding, |
| Expand All, Collapse All) |
| </li> |
| |
| |
| <li> |
| Verify when create new foldable region, code folding |
| markers appear when create new foldable region via |
| <ul> |
| |
| <li>type in a region by hand</li> |
| |
| <li>insert via outline view</li> |
| |
| <li>insert via content assist</li> |
| |
| <li>insert via copy/paste</li> |
| |
| </ul> |
| |
| </li> |
| |
| |
| <li> |
| Verify when delete foldable region, folding markers |
| disappear |
| </li> |
| |
| |
| <li> |
| Verify typing and pasting text before/after folded |
| region types normally |
| </li> |
| |
| |
| <li> |
| Verify typing and pasting text in the middle of |
| folded region expands folded region |
| </li> |
| |
| |
| <li> |
| Verify big document changes such as |
| format/cleanup/revert/undo don't break folding |
| </li> |
| |
| |
| <li> |
| Verify Save As different content type and New Editor |
| (so 2 editors open on same file) do not break the |
| editor |
| </li> |
| |
| </ul> |
| |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td colspan="2" align="left" bgcolor="#0080c0" valign="top"><b><font color="#ffffff" face="Arial,Helvetica">Source Editing Test Plans</font></b></td> |
| </tr> |
| <tr> |
| <td align="right" valign="top"> </td><td valign="top"> |
| <p> |
| |
| <a href="../../../../wst/components.html#sse"> |
| org.eclipse.wst.sse |
| </a> |
| |
| <br> |
| |
| <a href="../../../../wst/components.html#xml"> |
| org.eclipse.wst.xml |
| </a> |
| |
| <br> |
| |
| <a href="../../../../wst/components.html#html"> |
| org.eclipse.wst.html |
| </a> |
| |
| <br> |
| |
| <a href="../../../../wst/components.html#css"> |
| org.eclipse.wst.css |
| </a> |
| |
| <br> |
| |
| <a href="../../../../wst/components.html#dtd"> |
| org.eclipse.wst.dtd |
| </a> |
| |
| <br> |
| |
| <a href="../../../../wst/components.html#javascript"> |
| org.eclipse.wst.javascript |
| </a> |
| |
| |
| <br> |
| |
| <a href="../../../../jst/components.html#jsp"> |
| org.eclipse.jst.jsp |
| </a> |
| |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </body> |
| </html> |