From 0d3c661cb99ebd9bb1965936a7a4a7cefb55e3ed Mon Sep 17 00:00:00 2001 From: Vladimir Weinstein Date: Fri, 26 May 2000 02:07:25 +0000 Subject: [PATCH] ICU-352 conform with HP changes and change Java to C++ style for static data X-SVN-Rev: 1502 --- icu4c/source/test/intltest/usettest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/icu4c/source/test/intltest/usettest.cpp b/icu4c/source/test/intltest/usettest.cpp index 161b011662..df8d951c9e 100644 --- a/icu4c/source/test/intltest/usettest.cpp +++ b/icu4c/source/test/intltest/usettest.cpp @@ -360,7 +360,7 @@ void UnicodeSetTest::TestAPI() { } c.complement(); exp.set((UChar32)0, (UChar32)2); - exp.add((UChar32)16, UnicodeSet.MAX_VALUE); + exp.add((UChar32)16, UnicodeSet::MAX_VALUE); if (c == exp) { logln((UnicodeString)"c.complement(): " + c); } else { @@ -373,7 +373,7 @@ void UnicodeSetTest::TestAPI() { } else { errln((UnicodeString)"FAIL: c.complement() = " + c + ", expect " + exp); } - c = a; c.xorAll(b); + c = a; c.exclusiveOrAll(b); exp.set((UChar32)3,(UChar32)6); exp.add((UChar32)11,(UChar32) 15); if (c == exp) { @@ -467,7 +467,7 @@ void UnicodeSetTest::_testXor(int32_t a, int32_t b, UnicodeSet& x, UnicodeSet& y bitsToSet(a, x); bitsToSet(b, y); z = x; - z.xorAll(y); + z.exclusiveOrAll(y); int32_t c = setToBits(z); if (c != (a ^ b)) { errln((UnicodeString)"FAILED: xor: " + x + " ^ " + y + " != " + z);