Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::TestPartResultArray Class Reference

#include <gtest-test-part.h>

Public Member Functions

 TestPartResultArray ()
 
void Append (const TestPartResult &result)
 
const TestPartResultGetTestPartResult (int index) const
 
int size () const
 

Detailed Description

Definition at line 126 of file gtest-test-part.h.

Constructor & Destructor Documentation

◆ TestPartResultArray()

testing::TestPartResultArray::TestPartResultArray ( )
inline

Definition at line 128 of file gtest-test-part.h.

128{}

Member Function Documentation

◆ Append()

void testing::TestPartResultArray::Append ( const TestPartResult & result)

Definition at line 60 of file gtest-test-part.cc.

60 {
61 array_.push_back(result);
62}
Here is the caller graph for this function:

◆ GetTestPartResult()

const TestPartResult & testing::TestPartResultArray::GetTestPartResult ( int index) const

Definition at line 65 of file gtest-test-part.cc.

65 {
66 if (index < 0 || index >= size()) {
67 printf("\nInvalid index (%d) into TestPartResultArray.\n", index);
69 }
70
71 return array_[index];
72}
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30
Here is the call graph for this function:

◆ size()

int testing::TestPartResultArray::size ( ) const

Definition at line 75 of file gtest-test-part.cc.

75 {
76 return static_cast<int>(array_.size());
77}
Here is the caller graph for this function:

The documentation for this class was generated from the following files: