]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/cintltst/cintltst.h
ICU-400.38.tar.gz
[apple/icu.git] / icuSources / test / cintltst / cintltst.h
index 199496e0d3c58c5cf8ea6fac045c5cedebac8852..67c9acc67dc1402ca4109d15d5e489ee43af00f1 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1997-2004, International Business Machines Corporation and
+ * Copyright (c) 1997-2005, International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 /********************************************************************************
@@ -22,6 +22,7 @@ The main root for C API tests
 #include "unicode/utypes.h"
 #include "unicode/putil.h"
 #include "unicode/ctest.h"
+#include <stdlib.h>
 
 #ifndef U_USE_DEPRECATED_API
 #define U_USE_DEPRECATED_API 1
@@ -40,15 +41,6 @@ U_CFUNC const char* ctest_dataOutDir(void);
  */
 U_CFUNC const char* ctest_dataSrcDir(void);
 
-/**
- *complete a relative path to a full pathname, and convert to platform-specific syntax. 
- * The character seperating directories for the relative path is '|'.
- * @fullname the full path name
- * @maxsize the maximum size of the string
- * @relPath the relative path name
- */
-U_CFUNC void ctest_pathnameInContext(char* fullname, int32_t maxsize, const char* relPath ) ;
-
 U_CFUNC UChar* CharsToUChars(const char* chars);
 
 /**
@@ -85,6 +77,12 @@ U_CFUNC void ctest_setTimeZone(const char *optionalTimeZone, UErrorCode *status)
  */
 U_CFUNC void ctest_resetTimeZone(void);
 
+/**
+ * Call this once get ICU back to its original state with test arguments.
+ * This function calls u_cleanup.
+ */
+U_CFUNC UBool ctest_resetICU(void);
+
 /**
  * Assert that the given UErrorCode succeeds, and return TRUE if it does.
  */
@@ -106,4 +104,11 @@ U_CFUNC UBool assertTrue(const char* msg, int condition);
 U_CFUNC UBool assertEquals(const char* msg, const char* expectedString,
                            const char* actualString);
 
+/**
+ * Time bomb - allows temporary behavior that expires at a given
+ *             release
+ *
+ */
+U_CFUNC UBool isICUVersionAtLeast(const UVersionInfo x);
+
 #endif