| <html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link type="text/css" href="../../../../..//default_style.css" rel="stylesheet"><link type="text/css" href="../../../../..//webtools/wtp.css" rel="stylesheet"><title>Formatting 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">Formatting Tests</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 moved to new location</td> | |
| </tr> | |
| <tr> | |
| <td>4.15.05</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>Getting started</b> | |
| </td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><p> | |
| Perform these tests on a file of the content type which you | |
| are interested in. (eg. if you are testing the XML | |
| component, you would open an XML file) Also, the file you | |
| are testing should be (relatively)poorly formatted. | |
| </p></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td> | |
| <b>Test formatting from context menu</b> | |
| </td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><p> | |
| open the a file of your content type in the source editor. | |
| <br> | |
| <br> | |
| - from the context menu select | |
| <b>"Cleanup Document..."</b> | |
| <br> | |
| - check "Format source" in the dialog | |
| <br> | |
| - press OK | |
| <br> | |
| * document should be formatted: elements have correct | |
| indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| <br> | |
| - undo changes (ctrl + z) | |
| <br> | |
| - from context menu select | |
| <b>"Format > Document"</b> | |
| <br> | |
| * document should be formatted: elements have correct | |
| indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| <br> | |
| - undo changes (ctrl + z) | |
| <br> | |
| - select only part of the document | |
| <br> | |
| - from context menu select | |
| <b>"Format > Active Elements"</b> | |
| <br> | |
| * selected elements only should be formatted: elements have | |
| correct indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| <br> | |
| - undo changes (ctrl + z) | |
| <br> | |
| - in the package explorer, select your file | |
| <br> | |
| - right click and select | |
| <b>"Source > Format Document"</b> | |
| <br> | |
| * selected elements only should be formatted: elements have | |
| correct indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| </p></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td> | |
| <b>Test formatting from Key Accelerators</b> | |
| </td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><p> | |
| open the a file of your content type in the source editor. | |
| <br> | |
| <br> | |
| - press | |
| <b>ctrl+shift+l</b> | |
| ("Cleanup Document...") | |
| <br> | |
| - check "Format source" in the dialog | |
| <br> | |
| - press OK | |
| <br> | |
| * document should be formatted: elements have correct | |
| indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| <br> | |
| - undo changes (ctrl + z) | |
| <br> | |
| - press | |
| <b>ctrl+shift+f</b> | |
| ("Format > Document") | |
| <br> | |
| * document should be formatted: elements have correct | |
| indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| <br> | |
| - undo changes (ctrl + z) | |
| <br> | |
| - select only part of the document | |
| <br> | |
| - press | |
| <b>ctrl+i</b> | |
| ("Format > Active Elements") | |
| <br> | |
| * selected elements only should be formatted: elements have | |
| correct indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| </p></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td> | |
| <b>Test formatting from Main Menu</b> | |
| </td></tr><tr><td align="right" valign="top"> | |
| | |
| </td><td valign="top"><p> | |
| open the a file of your content type in the source editor. | |
| <br> | |
| <br> | |
| - from the Main Menu select | |
| <b>"Source > Format > Document"</b> | |
| <br> | |
| * document should be formatted: elements have correct | |
| indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| <br> | |
| - undo changes (ctrl + z) | |
| <br> | |
| - select only part of the document | |
| <br> | |
| - from the Main Menu select | |
| <b>"Source > Format > Active Elements"</b> | |
| <br> | |
| * selected elements only should be formatted: elements have | |
| correct indentation as specified in the preferences for the | |
| particular content type | |
| <br> | |
| </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> |