H A D | nsStringTest2.h | 5 * This file is designed to help test the new nsString classes. 51 This class's only purpose in life is to test the 68 //test 1: unicode char is stripped correctly using StripChars() 70 PRUnichar test[]={0x0041,0x0051,0x0052,0x0000}; local 71 nsString T(test); 77 //test 2: unicode char is not matched and stripped when high-order byte is not 0x00 79 PRUnichar test[]={0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local 80 nsAutoString T(test); 86 //test 3: unicode char is not matched and stripped when high-order byte is 0xFF 89 PRUnichar test[] local 98 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local 108 PRUnichar test[]={0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local 118 PRUnichar test[] = {0xFF41,0x4e51,0x4e52,0x4e53,0x0000}; local 128 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local 138 PRUnichar test[] = {0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local 148 PRUnichar test[] = {0x4150,0x4e51,0x4e52,0x4e53,0x0000}; local 158 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local 169 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local 179 PRUnichar test[] = {0x4e41,0x0051,0x0052,0x0000}; local 189 PRUnichar test[] = {0x4150,0x4e51,0x4e52,0x4e53,0x0000}; local 198 PRUnichar test[] = {0xFFc2,0x4e51,0x4e52,0x4e53,0x0000}; local 206 PRUnichar test[] = {0xFFc2,0x4e51,0x4e52,0x4e53,0x0000}; local 218 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0044,0x0045,0x0000}; local 228 PRUnichar test[] = {0x0041,0x4e42,0x0043,0x0044,0x0045,0x0000}; local 238 PRUnichar test[] = {0x0041,0x4e51,0x4e52,0x4e53,0x0000}; local 246 PRUnichar test[] = {0x4e41,0x4e51,0x4e52,0x4e53,0x0000}; local 254 PRUnichar test[] = {0x4e51,0x4e52,0x4e53,0x4e41,0x0000}; local 273 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0051,0x0052,0x0000}; local 279 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local 285 PRUnichar test[] = {0xFFc1,0x0051,0x0052,0x0053,0x0000}; local 294 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local 299 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local 304 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local 310 PRUnichar test[] = {0x4132,0x0051,0x0052,0x0000}; local 316 PRUnichar test[] = {0x0041,0x0051,0x0052,0x0000}; local 321 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local 327 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local 334 PRUnichar test[] = {0x4132,0x5132,0x5232,0x0000}; local 341 PRUnichar test[] = {0x0051,0x0052,0x0041,0x0042,0x0043,0x0000}; local 346 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local 351 PRUnichar test[] = {0xFFc1,0xFFc2,0xFFc3,0x4e53,0x0000}; local 360 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0000}; local 366 PRUnichar test[] = {0x4e41,0x4e42,0x4e43,0x4e53,0x0000}; local 371 PRUnichar test[] = {0xFFc1,0x4e51,0x4e52,0x4e53,0x0000}; local 378 PRUnichar test[] = {0x4132,0x0051,0x0052,0x0000}; local 384 PRUnichar test[] = {0x0041,0x0042,0x0043,0x0000}; local 389 PRUnichar test[] = {0xc341,0xc342,0xc343}; local [all...] |