mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
********************************************************************************
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/********************************************************************
|
||||
* COPYRIGHT:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/********************************************************************
|
||||
* COPYRIGHT:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/********************************************************************
|
||||
* COPYRIGHT:
|
||||
|
|
@ -32,17 +32,31 @@ public:
|
|||
|
||||
class T_CTEST_EXPORT_API IcuTestErrorCode : public ErrorCode {
|
||||
public:
|
||||
IcuTestErrorCode(TestLog &callingTestClass, const char *callingTestName) :
|
||||
testClass(callingTestClass), testName(callingTestName) {}
|
||||
IcuTestErrorCode(TestLog &callingTestClass, const char *callingTestName)
|
||||
: testClass(callingTestClass), testName(callingTestName), scopeMessage() {}
|
||||
virtual ~IcuTestErrorCode();
|
||||
|
||||
// Returns TRUE if isFailure().
|
||||
UBool logIfFailureAndReset(const char *fmt, ...);
|
||||
UBool logDataIfFailureAndReset(const char *fmt, ...);
|
||||
UBool errIfFailureAndReset();
|
||||
UBool errIfFailureAndReset(const char *fmt, ...);
|
||||
UBool errDataIfFailureAndReset();
|
||||
UBool errDataIfFailureAndReset(const char *fmt, ...);
|
||||
UBool expectErrorAndReset(UErrorCode expectedError);
|
||||
UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...);
|
||||
|
||||
/** Sets an additional message string to be appended to failure output. */
|
||||
void setScope(const char* message);
|
||||
void setScope(const UnicodeString& message);
|
||||
|
||||
protected:
|
||||
virtual void handleFailure() const;
|
||||
|
||||
private:
|
||||
TestLog &testClass;
|
||||
const char *const testName;
|
||||
UnicodeString scopeMessage;
|
||||
|
||||
void errlog(UBool dataErr, const UnicodeString& mainMessage, const char* extraMessage) const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
*****************************************************************************************
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/********************************************************************
|
||||
* COPYRIGHT:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
**********************************************************************
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
************************************************************************
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "unicode/utypes.h"
|
||||
|
||||
#if U_PLATFORM_HAS_WIN32_API
|
||||
#if U_PLATFORM_USES_ONLY_WIN32_API
|
||||
# define VC_EXTRALEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# include <windows.h>
|
||||
|
|
@ -162,7 +162,7 @@ typedef struct UTimer UTimer;
|
|||
typedef void FuntionToBeTimed(void* param);
|
||||
|
||||
|
||||
#if U_PLATFORM_HAS_WIN32_API
|
||||
#if U_PLATFORM_USES_ONLY_WIN32_API
|
||||
|
||||
struct UTimer{
|
||||
LARGE_INTEGER start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue