webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
google.protobuf.internal._parameterized._ParameterizedTestIter Class Reference
Inheritance diagram for google.protobuf.internal._parameterized._ParameterizedTestIter:

Public Member Functions

def __init__ (self, test_method, testcases, naming_type)
 
def __call__ (self, args, kwargs)
 
def __iter__ (self)
 

Public Attributes

 testcases
 

Detailed Description

Callable and iterable class for producing new test cases.

Constructor & Destructor Documentation

◆ __init__()

def google.protobuf.internal._parameterized._ParameterizedTestIter.__init__ (   self,
  test_method,
  testcases,
  naming_type 
)
Returns concrete test functions for a test and a list of parameters.

The naming_type is used to determine the name of the concrete
functions as reported by the unittest framework. If naming_type is
_FIRST_ARG, the testcases must be tuples, and the first element must
have a string representation that is a valid Python identifier.

Args:
  test_method: The decorated test method.
  testcases: (list of tuple/dict) A list of parameter
         tuples/dicts for individual test invocations.
  naming_type: The test naming type, either _NAMED or _ARGUMENT_REPR.

Member Function Documentation

◆ __call__()

def google.protobuf.internal._parameterized._ParameterizedTestIter.__call__ (   self,
  args,
  kwargs 
)

◆ __iter__()

def google.protobuf.internal._parameterized._ParameterizedTestIter.__iter__ (   self)

Member Data Documentation

◆ testcases

google.protobuf.internal._parameterized._ParameterizedTestIter.testcases

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