[sword-cvs] icu-sword/source/tools/ctestfw/unicode ctest.h,1.3,1.4

sword@www.crosswire.org sword@www.crosswire.org
Tue, 6 Apr 2004 03:11:02 -0700


Update of /cvs/core/icu-sword/source/tools/ctestfw/unicode
In directory www:/tmp/cvs-serv8911/source/tools/ctestfw/unicode

Modified Files:
	ctest.h 
Log Message:
ICU 2.8 sync

Index: ctest.h
===================================================================
RCS file: /cvs/core/icu-sword/source/tools/ctestfw/unicode/ctest.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ctest.h	10 Sep 2003 02:42:55 -0000	1.3
+++ ctest.h	6 Apr 2004 10:09:58 -0000	1.4
@@ -1,7 +1,7 @@
 /*
 *****************************************************************************************
 *
-*   Copyright (C) 1996-2000, International Business Machines
+*   Copyright (C) 1996-2003, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *****************************************************************************************
@@ -11,7 +11,10 @@
 #ifndef CTEST_H
 #define CTEST_H
 
+#include <stdarg.h>
+
 #include "unicode/utypes.h"
+#include "unicode/utrace.h"
 
 /*Deals with imports and exports of the dynamic library*/
 #if defined(_WIN32) || defined(U_CYGWIN)
@@ -98,6 +101,13 @@
 T_CTEST_EXPORT_API extern int WARN_ON_MISSING_DATA;
 
 /**
+ * ICU tracing level, is set by command line option
+ *
+ * @internal
+ */
+T_CTEST_EXPORT_API extern UTraceLevel ICU_TRACE;
+
+/**
  * Show the names of all nodes.
  *
  * @param root Subtree of tests.
@@ -156,6 +166,15 @@
  * @internal Internal APIs for testing purpose only
  */
 T_CTEST_API void log_info(const char* pattern, ...);
+
+/**
+ * Log an informational message. (vprintf style)
+ * @param prefix a string that is output before the pattern and without formatting
+ * @param pattern printf-style format string
+ * @param ap variable-arguments list
+ * @internal Internal APIs for testing purpose only
+ */
+T_CTEST_API void vlog_info(const char *prefix, const char *pattern, va_list ap);
 
 /**
  * Log a verbose informational message. (printf style)