Package org.eclipse.unittest.ui
Interface ITestViewSupport
public interface ITestViewSupport
Interface to be implemented by a Test View Support to be returned by
 org.org.eclipse.unittest.unittestViewSupport extension.
- 
Method SummaryModifier and TypeMethodDescriptioncreateOpenEditorAction(Shell shell, ITestElement failure, String traceLine) Returns an action to open a failure trace elementReturns an action to copy an existing stack trace/error message into a console viewReturns a Test View Support display namegetOpenTestAction(Shell shell, ITestCaseElement testCase) Returns an action to open a specified test elementsgetOpenTestAction(Shell shell, ITestSuiteElement testSuite) Returns an action to open a specified test suite elementgetRerunLaunchConfiguration(List<ITestElement> testElements) Returns a Rerun launch configuration for the given elementReturns filter patterns to exclude lines from stack trace or an error messagenewTestRunnerClient(ITestRunSession session) Returns a Test Runner Client.
- 
Method Details- 
newTestRunnerClientReturns a Test Runner Client.- Parameters:
- session- the test session. ⚠️ The session may not be fully initialized at that point, however- ITestRunSession.getLaunch()is supposed to return the proper launch.
- Returns:
- returns a Test Runner Client
 
- 
getTraceExclusionFilterPatternsCollection<StringMatcher> getTraceExclusionFilterPatterns()Returns filter patterns to exclude lines from stack trace or an error message- Returns:
- filter patterns, matching lines will be hidden in the UI
 
- 
getOpenTestActionReturns an action to open a specified test elements- Parameters:
- shell- a parent- Shellinstance
- testCase- a test case element
- Returns:
- an action to open a specified test case element, or null
 
- 
getOpenTestActionReturns an action to open a specified test suite element- Parameters:
- shell- a parent- Shellinstance
- testSuite- a test suite element
- Returns:
- an action to open a specified test suite element, or
         null
 
- 
createOpenEditorActionReturns an action to open a failure trace element- Parameters:
- shell- a parent- Shellinstance
- failure- a test element that is failed
- traceLine- a stack trace or an error message text
- Returns:
- an action to open a failure trace element, or null
 
- 
createShowStackTraceInConsoleViewActionDelegateReturns an action to copy an existing stack trace/error message into a console view- Parameters:
- failedTest- the failed test
- Returns:
- an Runnableif it can be created, otherwise -null
 
- 
getRerunLaunchConfigurationReturns a Rerun launch configuration for the given element- Parameters:
- testElements- the tests to rerun
- Returns:
- a ILaunchConfiguration, derived from current test session and selected element.
 
- 
getDisplayNameString getDisplayName()Returns a Test View Support display name- Returns:
- returns a display name
 
 
-