Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 90 of file qabstracttestlogger_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
InitialSize 

Definition at line 92 of file qabstracttestlogger_p.h.

Constructor & Destructor Documentation

◆ QTestCharBuffer()

QTestCharBuffer::QTestCharBuffer ( )
inline

Definition at line 94 of file qabstracttestlogger_p.h.

◆ ~QTestCharBuffer()

QTestCharBuffer::~QTestCharBuffer ( )
inline

Definition at line 101 of file qabstracttestlogger_p.h.

Member Function Documentation

◆ buffer()

char ** QTestCharBuffer::buffer ( )
inline

Definition at line 112 of file qabstracttestlogger_p.h.

◆ clear()

void QTestCharBuffer::clear ( )
inline

Definition at line 153 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

Definition at line 117 of file qabstracttestlogger_p.h.

Referenced by QTapTestLogger::addIncident(), QTeamCityLogger::addIncident(), QTeamCityLogger::startLogging(), and QTeamCityLogger::stopLogging().

+ Here is the caller graph for this function:

◆ data()

char * QTestCharBuffer::data ( )
inline

Definition at line 107 of file qabstracttestlogger_p.h.

Referenced by QTestPrivate::appendCharBuffer().

+ Here is the caller graph for this function:

◆ isEmpty()

bool QTestCharBuffer::isEmpty ( )
inline

Definition at line 154 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 127 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 149 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 122 of file qabstracttestlogger_p.h.


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