Package org.jzy3d.junit
Class ChartTestFailed
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jzy3d.junit.ChartTestFailed
-
- All Implemented Interfaces:
Serializable
public class ChartTestFailed extends Exception
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedImage
actual
protected List<IntegerCoord2d>
diffs
protected BufferedImage
expected
-
Constructor Summary
Constructors Constructor Description ChartTestFailed()
ChartTestFailed(String message)
ChartTestFailed(String message, BufferedImage actual, BufferedImage expected)
ChartTestFailed(String message, Throwable cause)
ChartTestFailed(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDiffCoordinates(int i, int j)
BufferedImage
getActualImage()
List<IntegerCoord2d>
getDiffCoordinates()
BufferedImage
getExpectedImage()
String
getImageSizeDifferenceMessage()
boolean
isSameImageSize()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
actual
protected BufferedImage actual
-
expected
protected BufferedImage expected
-
diffs
protected List<IntegerCoord2d> diffs
-
-
Constructor Detail
-
ChartTestFailed
public ChartTestFailed()
-
ChartTestFailed
public ChartTestFailed(String message)
-
ChartTestFailed
public ChartTestFailed(Throwable cause)
-
ChartTestFailed
public ChartTestFailed(String message, BufferedImage actual, BufferedImage expected)
-
-
Method Detail
-
getActualImage
public BufferedImage getActualImage()
-
getExpectedImage
public BufferedImage getExpectedImage()
-
addDiffCoordinates
public void addDiffCoordinates(int i, int j)
-
getDiffCoordinates
public List<IntegerCoord2d> getDiffCoordinates()
-
isSameImageSize
public boolean isSameImageSize()
-
getImageSizeDifferenceMessage
public String getImageSizeDifferenceMessage()
-
-