def __init__(self): TestSuite.__init__(self, "publish/subscribe") i = 1 for test in PubSub.tests: (subtopic, pubtopic) = test[0:2] match = test[2] if len(test) >= 3 else True def _funcbuilder(subtopic, pubtopic, match): def _test(self): debug("pubtopic={0}, subtopic={1}".format(pubtopic,subtopic)) ret = self._pubsub(pubtopic, subtopic, match) return ret if match else not ret return _test setattr(self, "test_{0:03}".format(i), types.MethodType( catch( desc("{0} {1} {2}".format(subtopic, "MATCH" if match else "DON'T MATCH", pubtopic))( _funcbuilder(subtopic, pubtopic, match) )), self ) ) i += 1
def __init__(self): TestSuite.__init__(self, "qos 2 delivery")
def __init__(self): TestSuite.__init__(self, "basic tests")
def __init__(self): TestSuite.__init__(self, "qos 1 delivery")
def __init__(self): "build a test suite for spec jvm 98" TestSuite.__init__(self, self.SPECLIST)
def __init__(self): TestSuite.__init__(self)
def __init__(self): TestSuite.__init__(self, "basic tests")
def __init__(self): TestSuite.__init__(self, "system events")
def __init__(self): TestSuite.__init__(self, "CONNECT flags")
def __init__(self): TestSuite.__init__(self, "SSL2")
def __init__(self): TestSuite.__init__(self, "SSL")
def __init__(self): TestSuite.__init__(self, "error cases")
def __init__(self): TestSuite.__init__(self, "unicode")