webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
mox.UnexpectedMethodCallError Class Reference
Inheritance diagram for mox.UnexpectedMethodCallError:
mox.Error

Public Member Functions

def __init__ (self, unexpected_method, expected)
 
def __str__ (self)
 

Detailed Description

Raised when an unexpected method is called.

This can occur if a method is called with incorrect parameters, or out of the
specified order.

Constructor & Destructor Documentation

◆ __init__()

def mox.UnexpectedMethodCallError.__init__ (   self,
  unexpected_method,
  expected 
)
Init exception.

Args:
  # unexpected_method: MockMethod that was called but was not at the head of
  #   the expected_method queue.
  # expected: MockMethod or UnorderedGroup the method should have
  #   been in.
  unexpected_method: MockMethod
  expected: MockMethod or UnorderedGroup

Member Function Documentation

◆ __str__()

def mox.UnexpectedMethodCallError.__str__ (   self)

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