]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/ctestfw/unicode/ctest.h
ICU-531.30.tar.gz
[apple/icu.git] / icuSources / tools / ctestfw / unicode / ctest.h
index bbff5a0bef45f405f7868b0908f7f8b0761d0a60..f078703d6eafbef8c6fe49d824d64ced833bf811 100644 (file)
@@ -1,7 +1,7 @@
 /*
  ********************************************************************************
  *
- *   Copyright (C) 1996-2010, International Business Machines
+ *   Copyright (C) 1996-2013, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  *
  ********************************************************************************
@@ -224,6 +224,16 @@ log_verbose(const char* pattern, ...);
 T_CTEST_API void T_CTEST_EXPORT2
 log_data_err(const char *pattern, ...);
 
+/**
+ * Log a known issue.
+ * @param ticket ticket number such as "12345" for ICU tickets or "cldrbug:6636" for CLDR tickets.
+ * @param fmt ...  sprintf-style format, optional message. can be NULL.
+ * @return TRUE if known issue test should be skipped, FALSE if it should be run
+ */
+T_CTEST_API UBool
+T_CTEST_EXPORT2
+log_knownIssue(const char *ticket, const char *fmt, ...);
+
 /**
  * Initialize the variables above. This allows the test to set up accordingly
  * before running the tests.