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

Unified Diff: source/test/cintltst/cformtst.c

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/cintltst/cformtst.h ('k') | source/test/cintltst/cfrtst.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/cintltst/cformtst.c
diff --git a/source/test/cintltst/cformtst.c b/source/test/cintltst/cformtst.c
deleted file mode 100644
index bf8d4018695d846f29c782abb72215770a637863..0000000000000000000000000000000000000000
--- a/source/test/cintltst/cformtst.c
+++ /dev/null
@@ -1,86 +0,0 @@
-/********************************************************************
- * COPYRIGHT:
- * Copyright (c) 1997-2015, International Business Machines
- * Corporation and others. All Rights Reserved.
- ********************************************************************/
-/********************************************************************************
-*
-* File CFORMTST.C
-*
-* Modification History:
-* Name Description
-* Madhu Katragadda Creation
-*********************************************************************************
-*/
-
-/* FormatTest is a medium top level test for everything in the C FORMAT API */
-
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_FORMATTING
-
-#include "cintltst.h"
-#include "cformtst.h"
-
-void addCalTest(TestNode**);
-void addDateForTest(TestNode**);
-void addDateTimePatternGeneratorTest(TestNode**);
-void addDateIntervalFormatTest(TestNode**);
-void addNumForTest(TestNode**);
-void addMsgForTest(TestNode**);
-void addDateForRgrTest(TestNode**);
-void addNumFrDepTest(TestNode**);
-void addDtFrDepTest(TestNode**);
-void addUtmsTest(TestNode**);
-void addCurrencyTest(TestNode**);
-void addPluralRulesTest(TestNode**);
-void addURegionTest(TestNode** root);
-void addUListFmtTest(TestNode** root);
-
-void addFormatTest(TestNode** root);
-
-void addFormatTest(TestNode** root)
-{
- addCalTest(root);
- addDateForTest(root);
- addDateTimePatternGeneratorTest(root);
- addDateIntervalFormatTest(root);
- addNumForTest(root);
- addNumFrDepTest(root);
- addMsgForTest(root);
- addDateForRgrTest(root);
- addDtFrDepTest(root);
- addUtmsTest(root);
- addCurrencyTest(root);
- addPluralRulesTest(root);
- addURegionTest(root);
- addUListFmtTest(root);
-}
-/*Internal functions used*/
-
-UChar* myDateFormat(UDateFormat* dat, UDate d1)
-{
- UChar *result1=NULL;
- int32_t resultlength, resultlengthneeded;
- UErrorCode status = U_ZERO_ERROR;
-
-
- resultlength=0;
- resultlengthneeded=udat_format(dat, d1, NULL, resultlength, NULL, &status);
- if(status==U_BUFFER_OVERFLOW_ERROR)
- {
- status=U_ZERO_ERROR;
- resultlength=resultlengthneeded+1;
- result1=(UChar*)ctst_malloc(sizeof(UChar) * resultlength);
- udat_format(dat, d1, result1, resultlength, NULL, &status);
- }
- if(U_FAILURE(status))
- {
- log_err("Error in formatting using udat_format(.....): %s\n", myErrorName(status));
- return 0;
- }
- return result1;
-
-}
-
-#endif /* #if !UCONFIG_NO_FORMATTING */
« no previous file with comments | « source/test/cintltst/cformtst.h ('k') | source/test/cintltst/cfrtst.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698