Flutter Engine
The Flutter Engine
Classes | Public Member Functions | Public Attributes | List of all members
PRESUBMIT_test_mocks.MockOutputApi Class Reference
Inheritance diagram for PRESUBMIT_test_mocks.MockOutputApi:

Classes

class  PresubmitError
 
class  PresubmitNotifyResult
 
class  PresubmitPromptOrNotify
 
class  PresubmitPromptWarning
 
class  PresubmitResult
 

Public Member Functions

def __init__ (self)
 
def AppendCC (self, more_cc)
 

Public Attributes

 more_cc
 

Detailed Description

Mock class for the OutputApi class.

An instance of this class can be passed to presubmit unittests for outputting
various types of results.

Definition at line 151 of file PRESUBMIT_test_mocks.py.

Constructor & Destructor Documentation

◆ __init__()

def PRESUBMIT_test_mocks.MockOutputApi.__init__ (   self)

Definition at line 191 of file PRESUBMIT_test_mocks.py.

191 def __init__(self):
192 self.more_cc = []
193

Member Function Documentation

◆ AppendCC()

def PRESUBMIT_test_mocks.MockOutputApi.AppendCC (   self,
  more_cc 
)

Definition at line 194 of file PRESUBMIT_test_mocks.py.

194 def AppendCC(self, more_cc):
195 self.more_cc.append(more_cc)
196
197
static void append(char **dst, size_t *count, const char *src, size_t n)
Definition: editor.cpp:211

Member Data Documentation

◆ more_cc

PRESUBMIT_test_mocks.MockOutputApi.more_cc

Definition at line 192 of file PRESUBMIT_test_mocks.py.


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