Contains.java revision 2362
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* @test
* @summary Unit test for charset containment
* @bug 6798572
*/
public class Contains {
throw new Exception("Wrong answer: "
}
checkUTF();
}
true);
}
"utf-8",
"utf-16le",
"utf-16be",
"x-utf-16le-bom"};
static String[] charsetNames = {
"US-ASCII",
"UTF-8",
"UTF-16",
"UTF-16BE",
"UTF-16LE",
"x-UTF-16LE-BOM",
"GBK",
"GB18030",
"ISO-8859-1",
"ISO-8859-15",
"ISO-8859-2",
"ISO-8859-3",
"ISO-8859-4",
"ISO-8859-5",
"ISO-8859-6",
"ISO-8859-7",
"ISO-8859-8",
"ISO-8859-9",
"ISO-8859-13",
"JIS_X0201",
"x-JIS0208",
"JIS_X0212-1990",
"GB2312",
"EUC-KR",
"x-EUC-TW",
"EUC-JP",
"x-euc-jp-linux",
"KOI8-R",
"TIS-620",
"x-ISCII91",
"windows-1251",
"windows-1252",
"windows-1253",
"windows-1254",
"windows-1255",
"windows-1256",
"windows-1257",
"windows-1258",
"windows-932",
"x-mswin-936",
"x-windows-949",
"x-windows-950",
"windows-31j",
"Big5",
"Big5-HKSCS",
"x-MS950-HKSCS",
"ISO-2022-JP",
"ISO-2022-KR",
"x-ISO-2022-CN-CNS",
"x-ISO-2022-CN-GB",
"Big5-HKSCS",
"x-Johab",
"Shift_JIS"
};
}