当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
AssertionFileFailedError (NB JUnit) - NetBeans API Javadoc (Current Development Version)
org.netbeans.junit
Class AssertionFileFailedError
java.lang.Object
java.lang.Throwable
java.lang.Error
junit.framework.AssertionFailedError
org.netbeans.junit.AssertionFileFailedError
- All Implemented Interfaces:
- Serializable
public class AssertionFileFailedError
- extends junit.framework.AssertionFailedError
Error thrown from assertFile file functions.
It describes the failure and holds the name of result of the file comapre process.
Generally, the error description should contain names of compared files.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
diffFile
protected String diffFile
AssertionFileFailedError
public AssertionFileFailedError(String diffFile)
- Creates new AssertionFileFailedError
- Parameters:
diffFile
- Fully-qualified name of the file containing differences (result of the file-diff).
AssertionFileFailedError
public AssertionFileFailedError(String message,
String diffFile)
- Creates new AssertionFileFailedError
- Parameters:
message
- The error description menssage.diffFile
- Fully-qualified name of the file containing differences (result of the file-diff).
getDiffFile
public String getDiffFile()