webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, class_name) |
def | equals (self, rhs) |
def | __repr__ (self) |
Public Member Functions inherited from mox.Comparator | |
def | equals (self, rhs) |
def | __eq__ (self, rhs) |
def | __ne__ (self, rhs) |
This class wraps a basic Python type or class. It is used to verify that a parameter is of the given type or class. Example: mock_dao.Connect(IsA(DbConnectInfo))
def mox.IsA.__init__ | ( | self, | |
class_name | |||
) |
Initialize IsA Args: class_name: basic python type or a class
def mox.IsA.__repr__ | ( | self | ) |
def mox.IsA.equals | ( | self, | |
rhs | |||
) |
Check to see if the RHS is an instance of class_name. Args: # rhs: the right hand side of the test rhs: object Returns: bool