ReactOS 0.4.15-dev-7968-g24a56f8
string_test.cpp File Reference
#include "stack_allocator.h"
#include <vector>
#include <deque>
#include <string>
#include <algorithm>
#include <sstream>
#include <stdexcept>
#include "cppunit/cppunit_proxy.h"
Include dependency graph for string_test.cpp:

Go to the source code of this file.

Classes

class  StringTest
 
class  superstring
 
class  mypath
 

Macros

#define _GLIBCXX_FULLY_DYNAMIC_STRING
 
#define npos_local   string::npos
 
#define _STLP_SHORT_STRING_SZ   16
 

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (StringTest)
 
bool short_string_optim_bug_helper (string teststr)
 

Macro Definition Documentation

◆ _GLIBCXX_FULLY_DYNAMIC_STRING

#define _GLIBCXX_FULLY_DYNAMIC_STRING

Definition at line 4 of file string_test.cpp.

◆ _STLP_SHORT_STRING_SZ

#define _STLP_SHORT_STRING_SZ   16

◆ npos_local

#define npos_local   string::npos

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( StringTest  )

◆ short_string_optim_bug_helper()

bool short_string_optim_bug_helper ( string  teststr)

Definition at line 898 of file string_test.cpp.

899{
900 size_t ss = teststr.size();
901 return (ss == 8);
902}
size_type size() const
Definition: _string.h:400
#define ss
Definition: i386-dis.c:441

Referenced by StringTest::short_string_optim_bug().