mirror of https://github.com/rusefi/jzy3d-api.git
Rename test so that surefire report of different modules do not collide
This commit is contained in:
parent
f70676cdca
commit
60c8234742
|
@ -6,7 +6,7 @@ import org.junit.Test;
|
|||
import org.jzy3d.os.WindowingToolkit;
|
||||
import org.jzy3d.plot3d.rendering.canvas.CanvasAWT;
|
||||
|
||||
public class TestNativeDesktopPainter {
|
||||
public class TestNativeDesktopPainter_AWT {
|
||||
@Test
|
||||
public void detectAWT() {
|
||||
NativeDesktopPainter p = new NativeDesktopPainter();
|
|
@ -0,0 +1,18 @@
|
|||
package org.jzy3d.painters;
|
||||
|
||||
import static org.mockito.Mockito.mock;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.jzy3d.os.WindowingToolkit;
|
||||
import org.jzy3d.plot3d.rendering.canvas.OffscreenCanvas;
|
||||
|
||||
public class TestNativeDesktopPainter_Offscreen {
|
||||
@Test
|
||||
public void detectAWT() {
|
||||
NativeDesktopPainter p = new NativeDesktopPainter();
|
||||
|
||||
p.setCanvas(mock(OffscreenCanvas.class));
|
||||
|
||||
Assert.assertEquals(WindowingToolkit.Offscreen, p.getWindowingToolkit());
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@ import org.junit.Test;
|
|||
import org.jzy3d.os.WindowingToolkit;
|
||||
import org.jzy3d.plot3d.rendering.canvas.CanvasSwing;
|
||||
|
||||
public class TestNativeDesktopPainter {
|
||||
public class TestNativeDesktopPainter_Swing {
|
||||
@Test
|
||||
public void detectSwing() {
|
||||
NativeDesktopPainter p = new NativeDesktopPainter();
|
|
@ -6,7 +6,7 @@ import org.junit.Test;
|
|||
import org.jzy3d.chart.factories.CanvasNewtSWT;
|
||||
import org.jzy3d.os.WindowingToolkit;
|
||||
|
||||
public class TestNativeDesktopPainter {
|
||||
public class TestNativeDesktopPainter_SWT {
|
||||
@Test
|
||||
public void detectSwt() {
|
||||
NativeDesktopPainter p = new NativeDesktopPainter();
|
Loading…
Reference in New Issue