mirror of https://github.com/rusefi/jzy3d-api.git
It test per plateform
This commit is contained in:
parent
5e805bd021
commit
365b560a6b
|
@ -55,6 +55,7 @@
|
|||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>jzy3d-tester-native</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Reporting -->
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>jzy3d-tester-native</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -23,6 +23,9 @@ import com.jogamp.opengl.util.texture.TextureData;
|
|||
import com.jogamp.opengl.util.texture.TextureIO;
|
||||
|
||||
public class NativeChartTester extends ChartTester {
|
||||
public NativeChartTester() {
|
||||
setTestCaseInputFolder(MAVEN_TEST_RESOURCES_PATH + new NativePlatform().getLabel() + "/");
|
||||
}
|
||||
|
||||
protected BufferedImage getBufferedImage(Chart chart) throws IOException {
|
||||
if (classicScreenshotGen) {
|
||||
|
|
|
@ -48,7 +48,7 @@ public class ChartTester {
|
|||
protected String testCaseOutputFolder = MAVEN_TARGET_PATH;
|
||||
protected String testCaseInputFolder = MAVEN_TEST_RESOURCES_PATH;
|
||||
|
||||
private static final String MAVEN_TEST_RESOURCES_PATH = "src/test/resources/";
|
||||
public static final String MAVEN_TEST_RESOURCES_PATH = "src/test/resources/";
|
||||
public static final String MAVEN_TARGET_PATH = "target/";
|
||||
|
||||
protected Dimension colorbarDimension = new Dimension(200, 600);
|
||||
|
@ -56,6 +56,7 @@ public class ChartTester {
|
|||
protected int WIDTH = 800;
|
||||
protected int HEIGHT = 600;
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------------- //
|
||||
//
|
||||
// THE ASSERTION METHODS ALLOW TO
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
<groupId>org.jzy3d</groupId>
|
||||
<artifactId>jzy3d-tester-native</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 370 KiB |
Binary file not shown.
After Width: | Height: | Size: 216 KiB |
Binary file not shown.
After Width: | Height: | Size: 198 KiB |
Loading…
Reference in New Issue