modules/graphics/src/test/java/test/javafx/scene/image/PixelFormatTest.java
Print this page
rev 9250 : 8134762: Refactor Javafx graphics module tests for clear separation of tests
Reviewed-by:
*** 21,37 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package javafx.scene.image;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertTrue;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import javafx.scene.paint.Color;
import org.junit.Test;
public final class PixelFormatTest {
static Color derive(Color c, double opacity) {
--- 21,39 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package test.javafx.scene.image;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertTrue;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
+ import javafx.scene.image.PixelFormat;
+ import javafx.scene.image.WritablePixelFormat;
import javafx.scene.paint.Color;
import org.junit.Test;
public final class PixelFormatTest {
static Color derive(Color c, double opacity) {