Eclipse JDT
Release 3.7

org.eclipse.jdt.junit.model
Class ITestElement.FailureTrace

java.lang.Object
  extended by org.eclipse.jdt.junit.model.ITestElement.FailureTrace
Enclosing interface:
ITestElement

public static final class ITestElement.FailureTrace
extends Object

A failure trace of a test. This class is not intended to be instantiated or extended by clients.


Constructor Summary
ITestElement.FailureTrace(String trace, String expected, String actual)
           
 
Method Summary
 String getActual()
          Returns the actual result or null if the trace is not a comparison failure.
 String getExpected()
          Returns the expected result or null if the trace is not a comparison failure.
 String getTrace()
          Returns the failure stack trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITestElement.FailureTrace

public ITestElement.FailureTrace(String trace,
                                 String expected,
                                 String actual)
Method Detail

getTrace

public String getTrace()
Returns the failure stack trace.

Returns:
the failure stack trace

getExpected

public String getExpected()
Returns the expected result or null if the trace is not a comparison failure.

Returns:
the expected result or null if the trace is not a comparison failure.

getActual

public String getActual()
Returns the actual result or null if the trace is not a comparison failure.

Returns:
the actual result or null if the trace is not a comparison failure.

Eclipse JDT
Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.