AttributeTest.java revision 2043
445N/A * Copyright 2006-2010 Sun Microsystems, Inc. All Rights Reserved. 445N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 445N/A * This code is free software; you can redistribute it and/or modify it 445N/A * under the terms of the GNU General Public License version 2 only, as 445N/A * published by the Free Software Foundation. 445N/A * This code is distributed in the hope that it will be useful, but WITHOUT 445N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 445N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 445N/A * version 2 for more details (a copy is included in the LICENSE file that 445N/A * accompanied this code). 445N/A * You should have received a copy of the GNU General Public License version 445N/A * 2 along with this work; if not, write to the Free Software Foundation, 445N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 445N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 445N/A * CA 95054 USA or visit www.sun.com if you need additional information or 445N/A * @summary Tests conflict of Media values returned by isAttrValueSupported and getSupportedAttrValues. No runtime exception should be thrown. 445N/A * @run main AttributeTest 788N/A " and isAttributeValueSupported, for the attribute: " +
attr[z] +
445N/A ", where the flavor is: " +
flavors[y] +
" and the print service is: " +