Public Member Functions | Private Attributes | List of all members
mox.MethodGroup Class Reference
Inheritance diagram for mox.MethodGroup:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, group_name)
 
def __str__ (self)
 
def AddMethod (self, mock_method)
 
def group_name (self)
 
def IsSatisfied (self)
 
def MethodCalled (self, mock_method)
 

Private Attributes

 _group_name
 

Detailed Description

Base class containing common behaviour for MethodGroups.

Definition at line 1182 of file mox.py.

Constructor & Destructor Documentation

◆ __init__()

def mox.MethodGroup.__init__ (   self,
  group_name 
)

Reimplemented in mox.MultipleTimesGroup, and mox.UnorderedGroup.

Definition at line 1185 of file mox.py.

Member Function Documentation

◆ __str__()

def mox.MethodGroup.__str__ (   self)

Definition at line 1191 of file mox.py.

◆ AddMethod()

def mox.MethodGroup.AddMethod (   self,
  mock_method 
)

Reimplemented in mox.MultipleTimesGroup, and mox.UnorderedGroup.

Definition at line 1194 of file mox.py.

◆ group_name()

def mox.MethodGroup.group_name (   self)

Definition at line 1188 of file mox.py.

◆ IsSatisfied()

def mox.MethodGroup.IsSatisfied (   self)

Reimplemented in mox.MultipleTimesGroup, and mox.UnorderedGroup.

Definition at line 1200 of file mox.py.

◆ MethodCalled()

def mox.MethodGroup.MethodCalled (   self,
  mock_method 
)

Reimplemented in mox.MultipleTimesGroup, and mox.UnorderedGroup.

Definition at line 1197 of file mox.py.

Member Data Documentation

◆ _group_name

mox.MethodGroup._group_name
private

Definition at line 1186 of file mox.py.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11