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

Public Member Functions

def __init__ (self, *args)
 
def __init__ (self, *args)
 
def __repr__ (self)
 
def __repr__ (self)
 
def equals (self, rhs)
 
def equals (self, rhs)
 
- Public Member Functions inherited from mox.Comparator
def __eq__ (self, rhs)
 
def __eq__ (self, rhs)
 
def __ne__ (self, rhs)
 
def __ne__ (self, rhs)
 

Private Attributes

 _comparators
 

Detailed Description

Evaluates one or more Comparators on RHS and returns an OR of the results.

Definition at line 1079 of file bloaty/third_party/protobuf/python/mox.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def mox.Or.__init__ (   self,
args 
)
Initialize.

Args:
  *args: One or more Mox comparators

Definition at line 1083 of file bloaty/third_party/protobuf/python/mox.py.

◆ __init__() [2/2]

def mox.Or.__init__ (   self,
args 
)
Initialize.

Args:
  *args: One or more Mox comparators

Definition at line 1083 of file protobuf/python/mox.py.

Member Function Documentation

◆ __repr__() [1/2]

def mox.Or.__repr__ (   self)

Definition at line 1108 of file bloaty/third_party/protobuf/python/mox.py.

◆ __repr__() [2/2]

def mox.Or.__repr__ (   self)

Definition at line 1108 of file protobuf/python/mox.py.

◆ equals() [1/2]

def mox.Or.equals (   self,
  rhs 
)
Checks whether any Comparator is equal to rhs.

Args:
  # rhs: can be anything

Returns:
  bool

Reimplemented from mox.Comparator.

Definition at line 1092 of file protobuf/python/mox.py.

◆ equals() [2/2]

def mox.Or.equals (   self,
  rhs 
)
Checks whether any Comparator is equal to rhs.

Args:
  # rhs: can be anything

Returns:
  bool

Reimplemented from mox.Comparator.

Definition at line 1092 of file bloaty/third_party/protobuf/python/mox.py.

Member Data Documentation

◆ _comparators

mox.Or._comparators
private

Definition at line 1090 of file bloaty/third_party/protobuf/python/mox.py.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:41