]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/ssearch.h
2 **********************************************************************
3 * Copyright (C) 2005-2012, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
11 #include "unicode/utypes.h"
12 #include "unicode/unistr.h"
13 #include "unicode/ucol.h"
17 #if !UCONFIG_NO_COLLATION
20 // Test of the function usearch_search()
22 // See srchtest.h for the tests for the rest of the string search functions.
24 class SSearchTest
: public IntlTest
{
28 virtual ~SSearchTest();
30 virtual void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* params
= NULL
);
31 #if !UCONFIG_NO_BREAK_ITERATION
33 virtual void searchTest();
34 virtual void offsetTest();
35 virtual void monkeyTest(char *params
);
36 virtual void sharpSTest();
37 virtual void goodSuffixTest();
38 virtual void searchTime();
41 virtual const char *getPath(char buffer
[2048], const char *filename
);
42 virtual int32_t monkeyTestCase(UCollator
*coll
, const UnicodeString
&testCase
, const UnicodeString
&pattern
, const UnicodeString
&altPattern
,
43 const char *name
, const char *strength
, uint32_t seed
);