2965N/A/*
2965N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
2965N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2965N/A *
2965N/A * This code is free software; you can redistribute it and/or modify it
2965N/A * under the terms of the GNU General Public License version 2 only, as
2965N/A * published by the Free Software Foundation.
2965N/A *
2965N/A * This code is distributed in the hope that it will be useful, but WITHOUT
2965N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2965N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2965N/A * version 2 for more details (a copy is included in the LICENSE file that
2965N/A * accompanied this code).
2965N/A *
2965N/A * You should have received a copy of the GNU General Public License version
2965N/A * 2 along with this work; if not, write to the Free Software Foundation,
2965N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2965N/A *
2965N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2965N/A * or visit www.oracle.com if you need additional information or have any
2965N/A * questions.
2965N/A */
2965N/A
2965N/A/*
2965N/A * @test
2965N/A * @bug 4358979
2965N/A * @summary Tests AffineTransform encoding
2965N/A * @author Sergey Malenkov
2965N/A */
2965N/A
2965N/Aimport java.awt.geom.AffineTransform;
2965N/A
2965N/Apublic final class java_awt_geom_AffineTransform extends AbstractTest<AffineTransform> {
2965N/A public static void main(String[] args) {
2965N/A new java_awt_geom_AffineTransform().test(true);
2965N/A }
2965N/A
2965N/A protected AffineTransform getObject() {
2965N/A return new AffineTransform(0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f);
2965N/A }
2965N/A
2965N/A protected AffineTransform getAnotherObject() {
2965N/A return new AffineTransform(0.4f, 0.5f, 0.6f, 0.7f, 0.8f, 0.9f);
2965N/A }
2965N/A}