Package org.jzy3d.junit
Class NativeChartTester
- java.lang.Object
-
- org.jzy3d.junit.ChartTester
-
- org.jzy3d.junit.NativeChartTester
-
public class NativeChartTester extends ChartTester
-
-
Field Summary
-
Fields inherited from class org.jzy3d.junit.ChartTester
ERROR_IMAGE_FOLDER_DEFAULT, EXPECTED_IMAGE_FOLDER, HEIGHT, TEST_IMG_SIZE, testCaseInputFolder, testCaseOutputFolder, WIDTH
-
-
Constructor Summary
Constructors Constructor Description NativeChartTester()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BufferedImage
getBufferedImage(Chart chart)
com.jogamp.opengl.util.texture.TextureData
loadTextureData(String filename, com.jogamp.opengl.GL gl)
static AWTChart
offscreen(Drawable... drawables)
A helper to build an offscreen chart simply out of a list ofDrawable
void
screenshot(com.jogamp.opengl.util.texture.TextureData image, String testImage)
-
Methods inherited from class org.jzy3d.junit.ChartTester
assertSimilar, build, clean, cleanFile, compare, compare, copyImage, execute, execute, getTestCanvasType, getTestCaseFailedFileName, getTestCaseFile, getTestCaseFileName, getTestCaseFileName, getTestCaseInputFolder, getTestCaseOutputFolder, getTestName, isBuilt, loadBufferedImage, pixelHighlight, pixelHighlight, setTestCaseInputFolder, setTestCaseOutputFolder, test
-
-
-
-
Method Detail
-
getBufferedImage
protected BufferedImage getBufferedImage(Chart chart) throws IOException
- Overrides:
getBufferedImage
in classChartTester
- Throws:
IOException
-
offscreen
public static AWTChart offscreen(Drawable... drawables)
A helper to build an offscreen chart simply out of a list ofDrawable
-
loadTextureData
public com.jogamp.opengl.util.texture.TextureData loadTextureData(String filename, com.jogamp.opengl.GL gl) throws IOException
- Throws:
IOException
-
screenshot
public void screenshot(com.jogamp.opengl.util.texture.TextureData image, String testImage) throws IOException
- Throws:
IOException
-
-