站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

AssertionFileFailedError (NB JUnit) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.nbjunit/1 1.41

org.netbeans.junit
Class AssertionFileFailedError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by junit.framework.AssertionFailedError
              extended by 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

Field Summary
protected  String diffFile
           
 
Constructor Summary
AssertionFileFailedError(String diffFile)
          Creates new AssertionFileFailedError
AssertionFileFailedError(String message, String diffFile)
          Creates new AssertionFileFailedError
 
Method Summary
 String getDiffFile()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

diffFile

protected String diffFile
Constructor Detail

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).
Method Detail

getDiffFile

public String getDiffFile()

org.netbeans.modules.nbjunit/1 1.41

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.