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

Unified Diff: source/test/intltest/tsdate.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/tscoll.cpp ('k') | source/test/intltest/tsdate.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/intltest/tsdate.h
diff --git a/source/test/intltest/tsdate.h b/source/test/intltest/tsdate.h
deleted file mode 100644
index 2707bacde24ebd7da7ba8858d8670727ef1ea47b..0000000000000000000000000000000000000000
--- a/source/test/intltest/tsdate.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/********************************************************************
- * COPYRIGHT:
- * Copyright (c) 1997-2003, International Business Machines Corporation and
- * others. All Rights Reserved.
- ********************************************************************/
-
-#ifndef _INTLTESTDATEFORMAT
-#define _INTLTESTDATEFORMAT
-
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_FORMATTING
-
-#include "unicode/unistr.h"
-#include "unicode/datefmt.h"
-#include "intltest.h"
-
-/**
- * Performs some tests in many variations on DateFormat
- **/
-class IntlTestDateFormat: public IntlTest {
- void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
-
-private:
-
- /**
- * test DateFormat::getAvailableLocales
- **/
- void testAvailableLocales(/* char* par */);
- /**
- * call testLocale for all locales
- **/
- void monsterTest(/* char *par */);
-
- /**
- * call tryDate with variations, called by testLocale
- **/
- void testFormat(/* char* par */);
- /**
- * perform tests using date and fFormat, called in many variations
- **/
- void tryDate(UDate date);
- /**
- * call testFormat for different DateFormat::EStyle's, etc
- **/
- void testLocale(/*char *par, */const Locale&, const UnicodeString&);
- /**
- * return a random number
- **/
- double randDouble(void);
- /**
- * generate description for verbose test output
- **/
- void describeTest(void);
-
- DateFormat *fFormat;
- UnicodeString fTestName;
- int32_t fLimit; // How many iterations it should take to reach convergence
-
- enum
- {
- // Values in milliseconds (== Date)
- ONESECOND = 1000,
- ONEMINUTE = 60 * ONESECOND,
- ONEHOUR = 60 * ONEMINUTE,
- ONEDAY = 24 * ONEHOUR
- };
- static const double ONEYEAR;
- enum EMode
- {
- GENERIC,
- TIME,
- DATE,
- DATE_TIME
- };
-public:
- virtual ~IntlTestDateFormat();
-};
-
-#endif /* #if !UCONFIG_NO_FORMATTING */
-
-#endif
« no previous file with comments | « source/test/intltest/tscoll.cpp ('k') | source/test/intltest/tsdate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698