Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: third_party/icu/source/test/intltest/uobjtest.cpp

Issue 6484008: Enable RTTI for ICU.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: use _MSC_VERSION for conditional include on Win Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /******************************************************************** 1 /********************************************************************
2 * COPYRIGHT: 2 * COPYRIGHT:
3 * Copyright (c) 1997-2010, International Business Machines Corporation and 3 * Copyright (c) 1997-2010, International Business Machines Corporation and
4 * others. All Rights Reserved. 4 * others. All Rights Reserved.
5 * Copyright (C) 2010 , Yahoo! Inc. 5 * Copyright (C) 2010 , Yahoo! Inc.
6 ********************************************************************/ 6 ********************************************************************/
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <string.h> 9 #include <string.h>
10 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS
11 #include <exception>
12 using std::exception;
13 #endif
10 #include <typeinfo> // for 'typeid' to work 14 #include <typeinfo> // for 'typeid' to work
11 15
12 #include "uobjtest.h" 16 #include "uobjtest.h"
13 #include "cmemory.h" // UAlignedMemory 17 #include "cmemory.h" // UAlignedMemory
14 18
15 /** 19 /**
16 * Test for UObject, currently only the classID. 20 * Test for UObject, currently only the classID.
17 * 21 *
18 * Usage 22 * Usage
19 * TESTCLASSID_NONE_DEFAULT(Foo) 23 * TESTCLASSID_NONE_DEFAULT(Foo)
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 switch (index) { 592 switch (index) {
589 593
590 TESTCASE(0, testIDs); 594 TESTCASE(0, testIDs);
591 TESTCASE(1, testUMemory); 595 TESTCASE(1, testUMemory);
592 TESTCASE(2, TestMFCCompatibility); 596 TESTCASE(2, TestMFCCompatibility);
593 TESTCASE(3, TestCompilerRTTI); 597 TESTCASE(3, TestCompilerRTTI);
594 598
595 default: name = ""; break; //needed to end loop 599 default: name = ""; break; //needed to end loop
596 } 600 }
597 } 601 }
OLDNEW
« third_party/icu/source/common/rbbi.cpp ('K') | « third_party/icu/source/test/intltest/rbbitst.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698