| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <title> |
| JUnit |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script> |
| </head> |
| <body> |
| <h1> |
| JUnit |
| </h1> |
| <p>The |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.junit.preferences)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the JUnit preference page"> |
| <b>Java > JUnit</b></a> preference page |
| lets you configure the stack trace filter patterns for JUnit. The patterns are used in the <i>JUnit</i> view to control which entries are visible in stack traces.</p> |
| |
| <table |
| border="1" cellspacing="0" cellpadding="5" width="600"> |
| <thead> |
| <tr> |
| <th> |
| <p>Action</p> |
| </th> |
| <th> |
| <p>Description</p> |
| </th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td valign="top" width="25%"> |
| <p>Enable assertions for new JUnit launch configurations</p> |
| </td> |
| <td valign="top"> |
| <p>If enabled, then JUnit test will be launched with assertions enabled.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" width="25%"> |
| <p>Add Filter...</p> |
| </td> |
| <td valign="top"> |
| <p>Allows to add a custom filter pattern. This action inserts an empty pattern which can be edited.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>Add Class...</p> |
| </td> |
| <td valign="top"> |
| <p>Allows to add classes to be filtered. This action opens the <strong>Open Type</strong> dialog to choose a type to be filtered in the stack traces.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>Add Packages...</p> |
| </td> |
| <td valign="top"> |
| <p>Allows to add packages to be filtered. This action opens a package selection dialog to choose the packages to be filtered in the stack traces.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>Remove</p> |
| </td> |
| <td valign="top"> |
| <p>Removes the currently selected stack trace filter pattern.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>Enable All</p> |
| </td> |
| <td valign="top"> |
| <p>Enables all stack trace filter patterns.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>Disable All</p> |
| </td> |
| <td valign="top"> |
| <p>Disables all stack trace filter patterns.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <p> |
| <img src="../images/ngrelt.png" alt="Related tasks" border="0" ></p> |
| <p> |
| <a href="../gettingStarted/qs-junit.htm">Using JUnit</a> |
| </p> |
| <p> |
| <img src="../images/ngrelr.png" alt="Related reference"> |
| </p> |
| <p> |
| <a href="../reference/ref-148.htm">Open type</a> |
| </p> |
| </body> |
| </html> |
| |