1 /******************************************************************** 2 * COPYRIGHT: 3 * Copyright (c) 2005-2006, International Business Machines Corporation and 4 * others. All Rights Reserved. 5 ********************************************************************/ 6 7 /** 8 * RandomCollatorTest is ported from RandomCollatorTest.java of ICU4J 9 */ 10 11 #ifndef _RANDCOLL 12 #define _RANDCOLL 13 14 #include "unicode/utypes.h" 15 16 #if !UCONFIG_NO_COLLATION 17 18 #include "tscoll.h" 19 20 class RandomCollatorTest: public IntlTestCollator { 21 public: 22 virtual void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ); 23 void Test(); 24 void Test2(); 25 }; 26 27 #endif /* #if !UCONFIG_NO_COLLATION */ 28 29 #endif /* _RANDCOLL */ 30