TopDownTest.java revision 1289
481N/A * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. 481N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 481N/A * This code is free software; you can redistribute it and/or modify it 481N/A * under the terms of the GNU General Public License version 2 only, as 481N/A * published by the Free Software Foundation. 481N/A * This code is distributed in the hope that it will be useful, but WITHOUT 481N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 481N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 481N/A * version 2 for more details (a copy is included in the LICENSE file that 481N/A * accompanied this code). 481N/A * You should have received a copy of the GNU General Public License version 481N/A * 2 along with this work; if not, write to the Free Software Foundation, 481N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 481N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 873N/A * CA 95054 USA or visit www.sun.com if you need additional information or 481N/A * @summary Test verifies that the isTopDown flag does not cause 1878N/A * a writing of bmp image in wrong scanline layout. 481N/A * @run main TopDownTest // expect to see blue color on the top of image