/*
Copyright (c) 2005 X.Org Foundation L.L.C.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/*
* $Header: /usr4/cvs/vsw5/tset/Xopen/strtkysym/TestC.c,v 8.0 1998/12/23 23:35:55 mar Rel $
* 
* Project: VSW5
* 
* File: vsw5/tset/Xopen/strtkysym/TestC.c
* 
* Description:
* 	Tests for XStringToKeysym()
* 
* Modifications:
* $Log: TestC.c,v $
* Revision 8.0  1998/12/23 23:35:55  mar
* Branch point for Release 5.0.2
*
* Revision 7.0  1998/10/30 22:58:39  mar
* Branch point for Release 5.0.2b1
*
* Revision 6.0  1998/03/02 05:27:08  tbr
* Branch point for Release 5.0.1
*
* Revision 5.0  1998/01/26 03:23:42  tbr
* Branch point for Release 5.0.1b1
*
* Revision 4.1  1996/05/09 21:19:34  andy
* Fixed X includes
*
* Revision 4.0  1995/12/15  09:14:38  tbr
* Branch point for Release 5.0.0
*
* Revision 3.1  1995/12/15  01:18:03  andy
* Prepare for GA Release
*
*/
/*
 *      SCCS:  @(#)  TestC.c Rel 1.1	    (11/28/91)
 *
 *	UniSoft Ltd., London, England
 *
 * (C) Copyright 1991 X/Open Company Limited
 *
 * All rights reserved.  No part of this source code may be reproduced,
 * stored in a retrieval system, or transmitted, in any form or by any
 * means, electronic, mechanical, photocopying, recording or otherwise,
 * except as stated in the end-user licence agreement, without the prior
 * permission of the copyright owners.
 *
 * X/Open and the 'X' symbol are trademarks of X/Open Company Limited in
 * the UK and other countries.
 */

#include        <stdlib.h>
#include        "xtest.h"
#include        "X11/Xlib.h"
#include        "X11/Xutil.h"
#include        "X11/Xresource.h"
#include        "tet_api.h"
#include        "xtestlib.h"
#include        "pixval.h"

extern char	*TestName;

static int
test(symbol, str)
KeySym	symbol;
char	*str;
{
KeySym	rsym;

	rsym = XStringToKeysym(str);

	if(rsym == NoSymbol) {
		report("XStringToKeysym() returned NoSymbol for string \"%s\".", str);
		return(0);
	}

	if(rsym != symbol) {
		report("XStringToKeysym() returned KeySym 0x%lx instead of 0x%lx.", (long) rsym, (long) symbol);
		return(0);
	}
	return(1);
}

static void
reporterr(s)
char	*s;
{
	report("Symbol \"%s\" is not defined.", s);
}
#define XK_CYRILLIC
#include	<X11/keysymdef.h>
#undef XK_CYRILLIC 

strtsymC()
{ 
int 	pass = 0, fail = 0;
char	*symstr;
KeySym	rsym;


#ifdef XK_Serbian_dje
	if(test(XK_Serbian_dje, "Serbian_dje") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_dje");
	FAIL;
#endif

#ifdef XK_Macedonia_gje
	if(test(XK_Macedonia_gje, "Macedonia_gje") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Macedonia_gje");
	FAIL;
#endif

#ifdef XK_Cyrillic_io
	if(test(XK_Cyrillic_io, "Cyrillic_io") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_io");
	FAIL;
#endif

#ifdef XK_Ukrainian_ie
	if(test(XK_Ukrainian_ie, "Ukrainian_ie") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukrainian_ie");
	FAIL;
#endif

#ifdef XK_Ukranian_je
	if(test(XK_Ukranian_je, "Ukranian_je") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukranian_je");
	FAIL;
#endif

#ifdef XK_Macedonia_dse
	if(test(XK_Macedonia_dse, "Macedonia_dse") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Macedonia_dse");
	FAIL;
#endif

#ifdef XK_Ukrainian_i
	if(test(XK_Ukrainian_i, "Ukrainian_i") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukrainian_i");
	FAIL;
#endif

#ifdef XK_Ukranian_i
	if(test(XK_Ukranian_i, "Ukranian_i") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukranian_i");
	FAIL;
#endif

#ifdef XK_Ukrainian_yi
	if(test(XK_Ukrainian_yi, "Ukrainian_yi") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukrainian_yi");
	FAIL;
#endif

#ifdef XK_Ukranian_yi
	if(test(XK_Ukranian_yi, "Ukranian_yi") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukranian_yi");
	FAIL;
#endif

#ifdef XK_Cyrillic_je
	if(test(XK_Cyrillic_je, "Cyrillic_je") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_je");
	FAIL;
#endif

#ifdef XK_Serbian_je
	if(test(XK_Serbian_je, "Serbian_je") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_je");
	FAIL;
#endif

#ifdef XK_Cyrillic_lje
	if(test(XK_Cyrillic_lje, "Cyrillic_lje") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_lje");
	FAIL;
#endif

#ifdef XK_Serbian_lje
	if(test(XK_Serbian_lje, "Serbian_lje") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_lje");
	FAIL;
#endif

#ifdef XK_Cyrillic_nje
	if(test(XK_Cyrillic_nje, "Cyrillic_nje") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_nje");
	FAIL;
#endif

#ifdef XK_Serbian_nje
	if(test(XK_Serbian_nje, "Serbian_nje") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_nje");
	FAIL;
#endif

#ifdef XK_Serbian_tshe
	if(test(XK_Serbian_tshe, "Serbian_tshe") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_tshe");
	FAIL;
#endif

#ifdef XK_Macedonia_kje
	if(test(XK_Macedonia_kje, "Macedonia_kje") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Macedonia_kje");
	FAIL;
#endif

#ifdef XK_Byelorussian_shortu
	if(test(XK_Byelorussian_shortu, "Byelorussian_shortu") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Byelorussian_shortu");
	FAIL;
#endif

#ifdef XK_Cyrillic_dzhe
	if(test(XK_Cyrillic_dzhe, "Cyrillic_dzhe") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_dzhe");
	FAIL;
#endif

#ifdef XK_Serbian_dze
	if(test(XK_Serbian_dze, "Serbian_dze") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_dze");
	FAIL;
#endif

#ifdef XK_numerosign
	if(test(XK_numerosign, "numerosign") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_numerosign");
	FAIL;
#endif

#ifdef XK_Serbian_DJE
	if(test(XK_Serbian_DJE, "Serbian_DJE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_DJE");
	FAIL;
#endif

#ifdef XK_Macedonia_GJE
	if(test(XK_Macedonia_GJE, "Macedonia_GJE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Macedonia_GJE");
	FAIL;
#endif

#ifdef XK_Cyrillic_IO
	if(test(XK_Cyrillic_IO, "Cyrillic_IO") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_IO");
	FAIL;
#endif

#ifdef XK_Ukrainian_IE
	if(test(XK_Ukrainian_IE, "Ukrainian_IE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukrainian_IE");
	FAIL;
#endif

#ifdef XK_Ukranian_JE
	if(test(XK_Ukranian_JE, "Ukranian_JE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukranian_JE");
	FAIL;
#endif

#ifdef XK_Macedonia_DSE
	if(test(XK_Macedonia_DSE, "Macedonia_DSE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Macedonia_DSE");
	FAIL;
#endif

#ifdef XK_Ukrainian_I
	if(test(XK_Ukrainian_I, "Ukrainian_I") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukrainian_I");
	FAIL;
#endif

#ifdef XK_Ukranian_I
	if(test(XK_Ukranian_I, "Ukranian_I") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukranian_I");
	FAIL;
#endif

#ifdef XK_Ukrainian_YI
	if(test(XK_Ukrainian_YI, "Ukrainian_YI") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukrainian_YI");
	FAIL;
#endif

#ifdef XK_Ukranian_YI
	if(test(XK_Ukranian_YI, "Ukranian_YI") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Ukranian_YI");
	FAIL;
#endif

#ifdef XK_Cyrillic_JE
	if(test(XK_Cyrillic_JE, "Cyrillic_JE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_JE");
	FAIL;
#endif

#ifdef XK_Serbian_JE
	if(test(XK_Serbian_JE, "Serbian_JE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_JE");
	FAIL;
#endif

#ifdef XK_Cyrillic_LJE
	if(test(XK_Cyrillic_LJE, "Cyrillic_LJE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_LJE");
	FAIL;
#endif

#ifdef XK_Serbian_LJE
	if(test(XK_Serbian_LJE, "Serbian_LJE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_LJE");
	FAIL;
#endif

#ifdef XK_Cyrillic_NJE
	if(test(XK_Cyrillic_NJE, "Cyrillic_NJE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_NJE");
	FAIL;
#endif

#ifdef XK_Serbian_NJE
	if(test(XK_Serbian_NJE, "Serbian_NJE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_NJE");
	FAIL;
#endif

#ifdef XK_Serbian_TSHE
	if(test(XK_Serbian_TSHE, "Serbian_TSHE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_TSHE");
	FAIL;
#endif

#ifdef XK_Macedonia_KJE
	if(test(XK_Macedonia_KJE, "Macedonia_KJE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Macedonia_KJE");
	FAIL;
#endif

#ifdef XK_Byelorussian_SHORTU
	if(test(XK_Byelorussian_SHORTU, "Byelorussian_SHORTU") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Byelorussian_SHORTU");
	FAIL;
#endif

#ifdef XK_Cyrillic_DZHE
	if(test(XK_Cyrillic_DZHE, "Cyrillic_DZHE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_DZHE");
	FAIL;
#endif

#ifdef XK_Serbian_DZE
	if(test(XK_Serbian_DZE, "Serbian_DZE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Serbian_DZE");
	FAIL;
#endif

#ifdef XK_Cyrillic_yu
	if(test(XK_Cyrillic_yu, "Cyrillic_yu") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_yu");
	FAIL;
#endif

#ifdef XK_Cyrillic_a
	if(test(XK_Cyrillic_a, "Cyrillic_a") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_a");
	FAIL;
#endif

#ifdef XK_Cyrillic_be
	if(test(XK_Cyrillic_be, "Cyrillic_be") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_be");
	FAIL;
#endif

#ifdef XK_Cyrillic_tse
	if(test(XK_Cyrillic_tse, "Cyrillic_tse") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_tse");
	FAIL;
#endif

#ifdef XK_Cyrillic_de
	if(test(XK_Cyrillic_de, "Cyrillic_de") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_de");
	FAIL;
#endif

#ifdef XK_Cyrillic_ie
	if(test(XK_Cyrillic_ie, "Cyrillic_ie") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ie");
	FAIL;
#endif

#ifdef XK_Cyrillic_ef
	if(test(XK_Cyrillic_ef, "Cyrillic_ef") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ef");
	FAIL;
#endif

#ifdef XK_Cyrillic_ghe
	if(test(XK_Cyrillic_ghe, "Cyrillic_ghe") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ghe");
	FAIL;
#endif

#ifdef XK_Cyrillic_ha
	if(test(XK_Cyrillic_ha, "Cyrillic_ha") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ha");
	FAIL;
#endif

#ifdef XK_Cyrillic_i
	if(test(XK_Cyrillic_i, "Cyrillic_i") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_i");
	FAIL;
#endif

#ifdef XK_Cyrillic_shorti
	if(test(XK_Cyrillic_shorti, "Cyrillic_shorti") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_shorti");
	FAIL;
#endif

#ifdef XK_Cyrillic_ka
	if(test(XK_Cyrillic_ka, "Cyrillic_ka") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ka");
	FAIL;
#endif

#ifdef XK_Cyrillic_el
	if(test(XK_Cyrillic_el, "Cyrillic_el") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_el");
	FAIL;
#endif

#ifdef XK_Cyrillic_em
	if(test(XK_Cyrillic_em, "Cyrillic_em") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_em");
	FAIL;
#endif

#ifdef XK_Cyrillic_en
	if(test(XK_Cyrillic_en, "Cyrillic_en") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_en");
	FAIL;
#endif

#ifdef XK_Cyrillic_o
	if(test(XK_Cyrillic_o, "Cyrillic_o") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_o");
	FAIL;
#endif

#ifdef XK_Cyrillic_pe
	if(test(XK_Cyrillic_pe, "Cyrillic_pe") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_pe");
	FAIL;
#endif

#ifdef XK_Cyrillic_ya
	if(test(XK_Cyrillic_ya, "Cyrillic_ya") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ya");
	FAIL;
#endif

#ifdef XK_Cyrillic_er
	if(test(XK_Cyrillic_er, "Cyrillic_er") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_er");
	FAIL;
#endif

#ifdef XK_Cyrillic_es
	if(test(XK_Cyrillic_es, "Cyrillic_es") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_es");
	FAIL;
#endif

#ifdef XK_Cyrillic_te
	if(test(XK_Cyrillic_te, "Cyrillic_te") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_te");
	FAIL;
#endif

#ifdef XK_Cyrillic_u
	if(test(XK_Cyrillic_u, "Cyrillic_u") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_u");
	FAIL;
#endif

#ifdef XK_Cyrillic_zhe
	if(test(XK_Cyrillic_zhe, "Cyrillic_zhe") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_zhe");
	FAIL;
#endif

#ifdef XK_Cyrillic_ve
	if(test(XK_Cyrillic_ve, "Cyrillic_ve") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ve");
	FAIL;
#endif

#ifdef XK_Cyrillic_softsign
	if(test(XK_Cyrillic_softsign, "Cyrillic_softsign") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_softsign");
	FAIL;
#endif

#ifdef XK_Cyrillic_yeru
	if(test(XK_Cyrillic_yeru, "Cyrillic_yeru") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_yeru");
	FAIL;
#endif

#ifdef XK_Cyrillic_ze
	if(test(XK_Cyrillic_ze, "Cyrillic_ze") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ze");
	FAIL;
#endif

#ifdef XK_Cyrillic_sha
	if(test(XK_Cyrillic_sha, "Cyrillic_sha") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_sha");
	FAIL;
#endif

#ifdef XK_Cyrillic_e
	if(test(XK_Cyrillic_e, "Cyrillic_e") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_e");
	FAIL;
#endif

#ifdef XK_Cyrillic_shcha
	if(test(XK_Cyrillic_shcha, "Cyrillic_shcha") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_shcha");
	FAIL;
#endif

#ifdef XK_Cyrillic_che
	if(test(XK_Cyrillic_che, "Cyrillic_che") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_che");
	FAIL;
#endif

#ifdef XK_Cyrillic_hardsign
	if(test(XK_Cyrillic_hardsign, "Cyrillic_hardsign") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_hardsign");
	FAIL;
#endif

#ifdef XK_Cyrillic_YU
	if(test(XK_Cyrillic_YU, "Cyrillic_YU") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_YU");
	FAIL;
#endif

#ifdef XK_Cyrillic_A
	if(test(XK_Cyrillic_A, "Cyrillic_A") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_A");
	FAIL;
#endif

#ifdef XK_Cyrillic_BE
	if(test(XK_Cyrillic_BE, "Cyrillic_BE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_BE");
	FAIL;
#endif

#ifdef XK_Cyrillic_TSE
	if(test(XK_Cyrillic_TSE, "Cyrillic_TSE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_TSE");
	FAIL;
#endif

#ifdef XK_Cyrillic_DE
	if(test(XK_Cyrillic_DE, "Cyrillic_DE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_DE");
	FAIL;
#endif

#ifdef XK_Cyrillic_IE
	if(test(XK_Cyrillic_IE, "Cyrillic_IE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_IE");
	FAIL;
#endif

#ifdef XK_Cyrillic_EF
	if(test(XK_Cyrillic_EF, "Cyrillic_EF") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_EF");
	FAIL;
#endif

#ifdef XK_Cyrillic_GHE
	if(test(XK_Cyrillic_GHE, "Cyrillic_GHE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_GHE");
	FAIL;
#endif

#ifdef XK_Cyrillic_HA
	if(test(XK_Cyrillic_HA, "Cyrillic_HA") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_HA");
	FAIL;
#endif

#ifdef XK_Cyrillic_I
	if(test(XK_Cyrillic_I, "Cyrillic_I") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_I");
	FAIL;
#endif

#ifdef XK_Cyrillic_SHORTI
	if(test(XK_Cyrillic_SHORTI, "Cyrillic_SHORTI") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_SHORTI");
	FAIL;
#endif

#ifdef XK_Cyrillic_KA
	if(test(XK_Cyrillic_KA, "Cyrillic_KA") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_KA");
	FAIL;
#endif

#ifdef XK_Cyrillic_EL
	if(test(XK_Cyrillic_EL, "Cyrillic_EL") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_EL");
	FAIL;
#endif

#ifdef XK_Cyrillic_EM
	if(test(XK_Cyrillic_EM, "Cyrillic_EM") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_EM");
	FAIL;
#endif

#ifdef XK_Cyrillic_EN
	if(test(XK_Cyrillic_EN, "Cyrillic_EN") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_EN");
	FAIL;
#endif

#ifdef XK_Cyrillic_O
	if(test(XK_Cyrillic_O, "Cyrillic_O") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_O");
	FAIL;
#endif

#ifdef XK_Cyrillic_PE
	if(test(XK_Cyrillic_PE, "Cyrillic_PE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_PE");
	FAIL;
#endif

#ifdef XK_Cyrillic_YA
	if(test(XK_Cyrillic_YA, "Cyrillic_YA") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_YA");
	FAIL;
#endif

#ifdef XK_Cyrillic_ER
	if(test(XK_Cyrillic_ER, "Cyrillic_ER") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ER");
	FAIL;
#endif

#ifdef XK_Cyrillic_ES
	if(test(XK_Cyrillic_ES, "Cyrillic_ES") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ES");
	FAIL;
#endif

#ifdef XK_Cyrillic_TE
	if(test(XK_Cyrillic_TE, "Cyrillic_TE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_TE");
	FAIL;
#endif

#ifdef XK_Cyrillic_U
	if(test(XK_Cyrillic_U, "Cyrillic_U") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_U");
	FAIL;
#endif

#ifdef XK_Cyrillic_ZHE
	if(test(XK_Cyrillic_ZHE, "Cyrillic_ZHE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ZHE");
	FAIL;
#endif

#ifdef XK_Cyrillic_VE
	if(test(XK_Cyrillic_VE, "Cyrillic_VE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_VE");
	FAIL;
#endif

#ifdef XK_Cyrillic_SOFTSIGN
	if(test(XK_Cyrillic_SOFTSIGN, "Cyrillic_SOFTSIGN") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_SOFTSIGN");
	FAIL;
#endif

#ifdef XK_Cyrillic_YERU
	if(test(XK_Cyrillic_YERU, "Cyrillic_YERU") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_YERU");
	FAIL;
#endif

#ifdef XK_Cyrillic_ZE
	if(test(XK_Cyrillic_ZE, "Cyrillic_ZE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_ZE");
	FAIL;
#endif

#ifdef XK_Cyrillic_SHA
	if(test(XK_Cyrillic_SHA, "Cyrillic_SHA") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_SHA");
	FAIL;
#endif

#ifdef XK_Cyrillic_E
	if(test(XK_Cyrillic_E, "Cyrillic_E") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_E");
	FAIL;
#endif

#ifdef XK_Cyrillic_SHCHA
	if(test(XK_Cyrillic_SHCHA, "Cyrillic_SHCHA") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_SHCHA");
	FAIL;
#endif

#ifdef XK_Cyrillic_CHE
	if(test(XK_Cyrillic_CHE, "Cyrillic_CHE") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_CHE");
	FAIL;
#endif

#ifdef XK_Cyrillic_HARDSIGN
	if(test(XK_Cyrillic_HARDSIGN, "Cyrillic_HARDSIGN") == 1)
		CHECK;
	else
		FAIL;
#else
	reporterr("XK_Cyrillic_HARDSIGN");
	FAIL;
#endif

	CHECKPASS(107);
}
