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

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: '' 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
« no previous file with comments | « third_party/icu/source/test/intltest/rbbitst.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <typeinfo> // for 'typeid' to work 10 #include "unicode/utypeinfo.h" // for 'typeid' to work
11 11
12 #include "uobjtest.h" 12 #include "uobjtest.h"
13 #include "cmemory.h" // UAlignedMemory 13 #include "cmemory.h" // UAlignedMemory
14 14
15 /** 15 /**
16 * Test for UObject, currently only the classID. 16 * Test for UObject, currently only the classID.
17 * 17 *
18 * Usage 18 * Usage
19 * TESTCLASSID_NONE_DEFAULT(Foo) 19 * TESTCLASSID_NONE_DEFAULT(Foo)
20 * -- Foo is expected to not support "poor man's RTTI". 20 * -- Foo is expected to not support "poor man's RTTI".
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 switch (index) { 588 switch (index) {
589 589
590 TESTCASE(0, testIDs); 590 TESTCASE(0, testIDs);
591 TESTCASE(1, testUMemory); 591 TESTCASE(1, testUMemory);
592 TESTCASE(2, TestMFCCompatibility); 592 TESTCASE(2, TestMFCCompatibility);
593 TESTCASE(3, TestCompilerRTTI); 593 TESTCASE(3, TestCompilerRTTI);
594 594
595 default: name = ""; break; //needed to end loop 595 default: name = ""; break; //needed to end loop
596 } 596 }
597 } 597 }
OLDNEW
« no previous file with comments | « 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