SupplementaryCanDisplayUpToTest.java revision 3623
3623N/A * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 3623N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3623N/A * This code is free software; you can redistribute it and/or modify it 3623N/A * under the terms of the GNU General Public License version 2 only, as 3623N/A * published by the Free Software Foundation. 3623N/A * This code is distributed in the hope that it will be useful, but WITHOUT 3623N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 3623N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 3623N/A * version 2 for more details (a copy is included in the LICENSE file that 3623N/A * You should have received a copy of the GNU General Public License version 3623N/A * 2 along with this work; if not, write to the Free Software Foundation, 3623N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 3623N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 3623N/A * or visit www.oracle.com if you need additional information or have any 3623N/A * @summary Test canDisplayUpTo with supplementary characters. 3623N/A // Lists consisting of a font name, test text, and its expected 3623N/A // return value. Test text uses private area code point U+F0000 3623N/A {
"Meiryo",
"\ud87e\udd45\ud87e\udd47\udb80\udc00",
"4" },
3623N/A {
"Meiryo",
"\ud87e\udd45\ud87e\udd47\udb80Z",
"4" },
3623N/A {
"Meiryo",
"\ud87e\udd45\ud87e\udd47\udb80",
"4" },
3623N/A {
"Meiryo",
"\ud87e\udd45\ud87e\udd47\udc00",
"4" },
3623N/A {
"Meiryo",
"\ud87e\udd45\ud87e\udd47",
"-1" },
3623N/A {
"AR PL UMing TW",
"\ud87e\udc25\ud87e\udc3b\udb80\udc00",
"4" },
3623N/A {
"AR PL UMing TW",
"\ud87e\udc25\ud87e\udc3b\udb80Z",
"4" },
3623N/A {
"AR PL UMing TW",
"\ud87e\udc25\ud87e\udc3b\udb80",
"4" },
3623N/A {
"AR PL UMing TW",
"\ud87e\udc25\ud87e\udc3b\udc00",
"4" },
3623N/A {
"AR PL UMing TW",
"\ud87e\udc25\ud87e\udc3b",
"-1" },
3623N/A {
"FZMingTi",
"\ud87e\udc25\ud87e\udc3b\udb80\udc00",
"4" },
3623N/A {
"FZMingTi",
"\ud87e\udc25\ud87e\udc3b\udb80Z",
"4" },
3623N/A {
"FZMingTi",
"\ud87e\udc25\ud87e\udc3b\udb80",
"4" },
3623N/A {
"FZMingTi",
"\ud87e\udc25\ud87e\udc3b\udc00",
"4" },
3623N/A {
"FZMingTi",
"\ud87e\udc25\ud87e\udc3b",
"-1" },
3623N/A // Skip any unavailable fonts.