/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2012, International Business Machines Corporation and
+ * Copyright (c) 1997-2013, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/********************************************************************************
*/
U_CFUNC UBool assertSuccess(const char* msg, UErrorCode* ec);
+/**
+ * Assert that the given UErrorCode succeeds, and return TRUE if it does.
+ * Give data error if UErrorCode fails and possibleDataError is TRUE.
+ */
+U_CFUNC UBool assertSuccessCheck(const char* msg, UErrorCode* ec, UBool possibleDataError);
+
/**
* Assert that the UBool is TRUE, and return TRUE if it does.
*
U_CFUNC UBool assertEquals(const char* msg, const char* expectedString,
const char* actualString);
-/**
- * Returns true if u_getVersion() < major.minor.milli.
- */
-U_CFUNC UBool isICUVersionBefore(int major, int minor, int milli);
-
-/**
- * Returns true if u_getVersion() >= major.minor.milli.
+/*
+ * note - isICUVersionBefore and isICUVersionAtLeast have been removed.
+ * use log_knownIssue() instead.
*/
-U_CFUNC UBool isICUVersionAtLeast(int major, int minor, int milli);
#endif