def info(self, txt): TestermanTCI.logInternal("SA: %s" % txt) ################################################################################ # The TRI interface - TE Provided ################################################################################ TE_triEnqueueMsg = None
def log(message): TestermanTCI.logInternal("PA: %s" % str(message))
def info(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
def critical(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
def debug(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
def error(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
def warning(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
def log(msg): TestermanTCI.logInternal("SA: %s" % msg)
def critical(self, txt): TestermanTCI.logInternal("SA: %s" % txt) def info(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
def error(self, txt): TestermanTCI.logInternal("SA: %s" % txt) def debug(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
def warning(self, txt): TestermanTCI.logInternal("SA: %s" % txt) def error(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more # details. ## ## # Codec manager - view from the TE ## import CodecManager import TestermanTCI from CodecManager import CodecNotFoundException CodecManager.instance().setLogCallback( lambda x: TestermanTCI.logInternal("CD: %s" % x)) def instance(): return CodecManager.instance() def alias(name, codec, **kwargs): return instance().alias(name, codec, **kwargs) def registerCodecClass(name, class_): return instance().registerCodecClass(name, class_) def encode(name, template):
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more # details. ## ## # Codec manager - view from the TE ## import CodecManager import TestermanTCI from CodecManager import CodecNotFoundException CodecManager.instance().setLogCallback(lambda x: TestermanTCI.logInternal("CD: %s" % x)) def instance(): return CodecManager.instance() def alias(name, codec, **kwargs): return instance().alias(name, codec, **kwargs) def registerCodecClass(name, class_): return instance().registerCodecClass(name, class_) def encode(name, template): return instance().encode(name, template) def decode(name, data): return instance().decode(name, data)