Definition at line 13 of file config_test.cpp.
◆ CPPUNIT_TEST() [1/4]
◆ CPPUNIT_TEST() [2/4]
◆ CPPUNIT_TEST() [3/4]
◆ CPPUNIT_TEST() [4/4]
◆ CPPUNIT_TEST_SUITE()
◆ CPPUNIT_TEST_SUITE_END()
ConfigTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
◆ endianess()
void ConfigTest::endianess |
( |
| ) |
|
|
protected |
Definition at line 52 of file config_test.cpp.
53{
54#if defined (STLPORT)
57# if defined (_STLP_BIG_ENDIAN)
58
59
61 sizeof(
int) > 4 && *
ptr == 0x00 );
62# elif defined (_STLP_LITTLE_ENDIAN)
64# endif
65#endif
66}
#define CPPUNIT_ASSERT(X)
◆ new_throw_bad_alloc()
void ConfigTest::new_throw_bad_alloc |
( |
| ) |
|
|
protected |
Definition at line 88 of file config_test.cpp.
89{
90#if defined (STLPORT) && defined (_STLP_USE_EXCEPTIONS)
91 try
92 {
93
94
95
96
97 size_t const huge_amount =
size_t(-1) - 1024;
98 void* pvoid = operator new (huge_amount);
99#if !defined (_STLP_NEW_DONT_THROW_BAD_ALLOC)
100
102#endif
103
104 operator delete(pvoid);
105 }
106 catch (const bad_alloc&)
107 {
108#if defined (_STLP_NEW_DONT_THROW_BAD_ALLOC)
109
110
112#endif
113 }
114 catch (...)
115 {
116
117
119 }
120#endif
121}
◆ placement_new_bug()
void ConfigTest::placement_new_bug |
( |
| ) |
|
|
protected |
Definition at line 37 of file config_test.cpp.
38{
39#if defined (STLPORT)
40 int int_val = 1;
41 int *pint;
42 pint = new(&int_val) int();
44# if defined (_STLP_DEF_CONST_PLCT_NEW_BUG)
46# else
48# endif
49#endif
50}
◆ template_function_partial_ordering()
void ConfigTest::template_function_partial_ordering |
( |
| ) |
|
|
protected |
Definition at line 68 of file config_test.cpp.
69{
70#if defined (STLPORT)
72 int* pvect1Front = &vect1.front();
74 int* pvect2Front = &vect2.front();
75
77
78# if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER) || defined (_STLP_USE_PARTIAL_SPEC_WORKAROUND)
81# else
84# endif
85#endif
86}
◆ CPPUNIT_IGNORE
ConfigTest::CPPUNIT_IGNORE |
|
private |
The documentation for this class was generated from the following file: