about summary refs log tree commit diff
path: root/localedata/tests-mbwc/dat_iswalnum.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-06-28 13:05:23 +0000
committerAndreas Jaeger <aj@suse.de>2000-06-28 13:05:23 +0000
commit16247e11acec6d28efdb6e687de5888984c0e3ef (patch)
tree6c2f376f5c898c02b379c97f367496a49d551c81 /localedata/tests-mbwc/dat_iswalnum.c
parent8c8ade2980f8fd0632fe2a9b2b7f1307bc12713d (diff)
downloadglibc-16247e11acec6d28efdb6e687de5888984c0e3ef.tar.gz
glibc-16247e11acec6d28efdb6e687de5888984c0e3ef.tar.xz
glibc-16247e11acec6d28efdb6e687de5888984c0e3ef.zip
Update.
	* Makefile (locale_test_suite): Add tst_mbrlen.
	(tst_mbrlen-ENV): New.

	* tests-mbwc/tst_mbrlen.c: New file

	* tests-mbwc/dat_mbrlen.c: New file.

	* tests-mbwc/tst_types.h (struct TIN_MBSTOWCS_REC): Use const
	char*.
	(struct TST_HEAD): Use const char* instead of an array.

	* tests-mbwc/tst_wcsstr.c (tst_wcsstr): ws2 has size WCSSIZE.

	* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Add tests for de_UTF8.

	* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
Diffstat (limited to 'localedata/tests-mbwc/dat_iswalnum.c')
-rw-r--r--localedata/tests-mbwc/dat_iswalnum.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/localedata/tests-mbwc/dat_iswalnum.c b/localedata/tests-mbwc/dat_iswalnum.c
index f3bcd3361b..440e4515d4 100644
--- a/localedata/tests-mbwc/dat_iswalnum.c
+++ b/localedata/tests-mbwc/dat_iswalnum.c
@@ -43,6 +43,37 @@ TST_ISW_LOC (ALNUM, alnum) = {
 	  {  is_last: 1 }		  /* last element    */
 	}
     },
+    {	TST_ISW_REC (de_UTF8, alnum)
+	{
+	  {  { 0xC280 }, { 0,0,1,0 }  },  /* CTRL     */
+	  {  { 0xC29F }, { 0,0,1,0 }  },  /* CTRL     */
+	  {  { 0xC2A0 }, { 0,0,1,0 }  },  /* NB SPACE */
+	  {  { 0xC2A1 }, { 0,0,1,0 }  },  /* UD !     */
+	  {  { 0xC2B0 }, { 0,0,1,0 }  },  /* Degree   */
+	  {  { 0xC2B1 }, { 0,0,1,0 }  },  /* +- sign  */
+	  {  { 0xC2B2 }, { 0,0,1,0 }  },  /* SUP 2    */
+	  {  { 0xC2B3 }, { 0,0,1,0 }  },  /* SUP 3    */
+	  {  { 0xC2B4 }, { 0,0,1,0 }  },  /* ACUTE    */
+	  {  { 0xC2B8 }, { 0,0,1,0 }  },  /* CEDILLA  */
+	  {  { 0xC2B9 }, { 0,0,1,0 }  },  /* SUP 1    */
+	  {  { 0xC2BB }, { 0,0,1,0 }  },  /* >>	      */
+	  {  { 0xC2BC }, { 0,0,1,0 }  },  /* 1/4      */
+	  {  { 0xC2BD }, { 0,0,1,0 }  },  /* 1/2      */
+	  {  { 0xC2BE }, { 0,0,1,0 }  },  /* 3/4      */
+	  {  { 0xC2BF }, { 0,0,1,0 }  },  /* UD ?     */
+	  {  { 0xC380 }, { 0,0,0,0 }  },  /* A Grave  */
+	  {  { 0xC396 }, { 0,0,0,0 }  },  /* O dia    */
+	  {  { 0xC397 }, { 0,0,1,0 }  },  /* multipl. */
+	  {  { 0xC398 }, { 0,0,0,0 }  },  /* O stroke */
+	  {  { 0xC39F }, { 0,0,0,0 }  },  /* small Sh */
+	  {  { 0xC3A0 }, { 0,0,0,0 }  },  /* a grave  */
+	  {  { 0xC3B6 }, { 0,0,0,0 }  },  /* o dia    */
+	  {  { 0xC3B7 }, { 0,0,1,0 }  },  /* division */
+	  {  { 0xC3B8 }, { 0,0,0,0 }  },  /* o stroke */
+	  {  { 0xC3BF }, { 0,0,0,0 }  },  /* y dia    */
+	  {  is_last: 1 }		  /* last element    */
+	}
+    },
     {	TST_ISW_REC (enUS, alnum)
 	{
 	  {  { WEOF   }, { 0,0,1,0 }  },