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

Unified Diff: source/test/intltest/tstnorm.h

Issue 2435373002: Delete source/test (Closed)
Patch Set: Created 4 years, 2 months 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 | « source/test/intltest/tsputil.cpp ('k') | source/test/intltest/tstnorm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/tstnorm.h
diff --git a/source/test/intltest/tstnorm.h b/source/test/intltest/tstnorm.h
deleted file mode 100644
index 793155541ae4226a85da0bcb265e94f41f803cb9..0000000000000000000000000000000000000000
--- a/source/test/intltest/tstnorm.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/********************************************************************
- * COPYRIGHT:
- * Copyright (c) 1997-2010, International Business Machines Corporation and
- * others. All Rights Reserved.
- ********************************************************************/
-
-/**
- * Normalizer basic tests
- */
-
-#ifndef _TSTNORM
-#define _TSTNORM
-
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_NORMALIZATION
-
-#include "unicode/normlzr.h"
-#include "intltest.h"
-
-class BasicNormalizerTest : public IntlTest {
-public:
- BasicNormalizerTest();
- virtual ~BasicNormalizerTest();
-
- void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
-
- void TestHangulCompose(void);
- void TestHangulDecomp(void);
- void TestPrevious(void);
- void TestDecomp(void);
- void TestCompatDecomp(void);
- void TestCanonCompose(void);
- void TestCompatCompose(void);
- void TestTibetan(void);
- void TestCompositionExclusion(void);
- void TestZeroIndex(void);
- void TestVerisign(void);
- void TestPreviousNext(void);
- void TestNormalizerAPI(void);
- void TestConcatenate(void);
- void TestCompare(void);
- void FindFoldFCDExceptions();
- void TestSkippable();
- void TestCustomComp();
- void TestCustomFCC();
- void TestFilteredNormalizer2Coverage();
-
-private:
- UnicodeString canonTests[24][3];
- UnicodeString compatTests[11][3];
- UnicodeString hangulCanon[2][3];
-
- void
- TestPreviousNext(const UChar *src, int32_t srcLength,
- const UChar32 *expext, int32_t expectLength,
- const int32_t *expectIndex, // its length=expectLength+1
- int32_t srcMiddle, int32_t expectMiddle,
- const char *moves,
- UNormalizationMode mode,
- const char *name);
-
- int32_t countFoldFCDExceptions(uint32_t foldingOptions);
-
- //------------------------------------------------------------------------
- // Internal utilities
- //
- void backAndForth(Normalizer* iter, const UnicodeString& input);
-
- void staticTest(UNormalizationMode mode, int options,
- UnicodeString tests[][3], int length, int outCol);
-
- void iterateTest(Normalizer* iter, UnicodeString tests[][3], int length, int outCol);
-
- void assertEqual(const UnicodeString& input,
- const UnicodeString& expected,
- Normalizer* result,
- const UnicodeString& errPrefix);
-
- static UnicodeString hex(UChar ch);
- static UnicodeString hex(const UnicodeString& str);
-
-};
-
-#endif /* #if !UCONFIG_NO_NORMALIZATION */
-
-#endif // _TSTNORM
« no previous file with comments | « source/test/intltest/tsputil.cpp ('k') | source/test/intltest/tstnorm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698