< prev index next >
modules/graphics/src/test/java/test/javafx/scene/transform/TransformDeriveTest.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 213,223 ****
}
@Test public void testDerive() {
Transform conc = TransformHelper.concatenate(from, deriver);
! BaseTransform res = deriver.impl_derive(from);
assertSame(deriveType, res.getClass());
TransformHelper.assertMatrix(res,
conc.getMxx(), conc.getMxy(), conc.getMxz(), conc.getTx(),
conc.getMyx(), conc.getMyy(), conc.getMyz(), conc.getTy(),
--- 213,223 ----
}
@Test public void testDerive() {
Transform conc = TransformHelper.concatenate(from, deriver);
! BaseTransform res = com.sun.javafx.scene.transform.TransformHelper.derive(deriver, from);
assertSame(deriveType, res.getClass());
TransformHelper.assertMatrix(res,
conc.getMxx(), conc.getMxy(), conc.getMxz(), conc.getTx(),
conc.getMyx(), conc.getMyy(), conc.getMyz(), conc.getTy(),
< prev index next >