Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: icu46/source/test/intltest/ssearch.h

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu46/source/test/intltest/srchtest.cpp ('k') | icu46/source/test/intltest/ssearch.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/test/intltest/ssearch.h
===================================================================
--- icu46/source/test/intltest/ssearch.h (revision 0)
+++ icu46/source/test/intltest/ssearch.h (revision 0)
@@ -0,0 +1,63 @@
+/*
+ **********************************************************************
+ * Copyright (C) 2005-2009, International Business Machines
+ * Corporation and others. All Rights Reserved.
+ **********************************************************************
+ */
+
+#ifndef __SSEARCH_H
+#define __SSEARCH_H
+
+#include "unicode/utypes.h"
+#include "unicode/unistr.h"
+#include "unicode/ucol.h"
+#include "unicode/bmsearch.h"
+
+#include "intltest.h"
+
+#if !UCONFIG_NO_COLLATION
+
+//
+// Test of the function usearch_search()
+//
+// See srchtest.h for the tests for the rest of the string search functions.
+//
+class SSearchTest: public IntlTest {
+public:
+
+ SSearchTest();
+ virtual ~SSearchTest();
+
+ virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, char* params = NULL );
+#if !UCONFIG_NO_BREAK_ITERATION
+
+ virtual void searchTest();
+ virtual void offsetTest();
+ virtual void monkeyTest(char *params);
+
+ virtual void bmMonkeyTest(char *params);
+ virtual void boyerMooreTest();
+ virtual void goodSuffixTest();
+ virtual void searchTime();
+
+ virtual void bmsTest();
+ virtual void bmSearchTest();
+
+ virtual void udhrTest();
+
+ virtual void stringListTest();
+private:
+ virtual const char *getPath(char buffer[2048], const char *filename);
+ virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
+ const char *name, const char *strength, uint32_t seed);
+
+ virtual int32_t bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
+ BoyerMooreSearch *bms, BoyerMooreSearch *abms,
+ const char *name, const char *strength, uint32_t seed);
+#endif
+
+};
+
+#endif
+
+#endif
Property changes on: icu46/source/test/intltest/ssearch.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/test/intltest/srchtest.cpp ('k') | icu46/source/test/intltest/ssearch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698