Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QTestCharBuffer Struct Reference

#include <qabstracttestlogger_p.h>

+ Collaboration diagram for QTestCharBuffer:

Public Types

enum  { InitialSize = 512 }
 

Public Member Functions

 QTestCharBuffer ()
 
 ~QTestCharBuffer ()
 
char * data ()
 
char ** buffer ()
 
const char * constData () const
 
int size () const
 
bool reset (int newSize, bool copy=false)
 
bool resize (int newSize)
 
void clear ()
 
bool isEmpty ()
 

Detailed Description

Definition at line 88 of file qabstracttestlogger_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
InitialSize 

Definition at line 90 of file qabstracttestlogger_p.h.

Constructor & Destructor Documentation

◆ QTestCharBuffer()

QTestCharBuffer::QTestCharBuffer ( )
inline

Definition at line 92 of file qabstracttestlogger_p.h.

◆ ~QTestCharBuffer()

QTestCharBuffer::~QTestCharBuffer ( )
inline

Definition at line 99 of file qabstracttestlogger_p.h.

Member Function Documentation

◆ buffer()

char ** QTestCharBuffer::buffer ( )
inline

Definition at line 110 of file qabstracttestlogger_p.h.

◆ clear()

void QTestCharBuffer::clear ( )
inline

Definition at line 151 of file qabstracttestlogger_p.h.

Referenced by QTeamCityLogger::addIncident(), QTapTestLogger::enterTestData(), and QTapTestLogger::enterTestFunction().

+ Here is the caller graph for this function:

◆ constData()

const char * QTestCharBuffer::constData ( ) const
inline

◆ data()

char * QTestCharBuffer::data ( )
inline

Definition at line 105 of file qabstracttestlogger_p.h.

Referenced by QTestPrivate::appendCharBuffer(), QJUnitTestLogger::enterTestData(), QTestJUnitStreamer::formatEnd(), and QTapTestLogger::stopLogging().

+ Here is the caller graph for this function:

◆ isEmpty()

bool QTestCharBuffer::isEmpty ( )
inline

Definition at line 152 of file qabstracttestlogger_p.h.

Referenced by QTapTestLogger::addIncident(), QTeamCityLogger::addIncident(), QTapTestLogger::enterTestData(), and QTapTestLogger::enterTestFunction().

+ Here is the caller graph for this function:

◆ reset()

bool QTestCharBuffer::reset ( int  newSize,
bool  copy = false 
)
inline

Definition at line 125 of file qabstracttestlogger_p.h.

References copy(), and qstrncpy().

+ Here is the call graph for this function:

◆ resize()

bool QTestCharBuffer::resize ( int  newSize)
inline

Definition at line 147 of file qabstracttestlogger_p.h.

Referenced by QTestPrivate::appendCharBuffer().

+ Here is the caller graph for this function:

◆ size()

int QTestCharBuffer::size ( ) const
inline

Definition at line 120 of file qabstracttestlogger_p.h.


The documentation for this struct was generated from the following file: