Exemple #1
0
	def info(self, txt): TestermanTCI.logInternal("SA: %s" % txt)


################################################################################
# The TRI interface - TE Provided
################################################################################

TE_triEnqueueMsg = None
Exemple #2
0
def log(message):
	TestermanTCI.logInternal("PA: %s" % str(message))
Exemple #3
0
 def info(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
Exemple #4
0
 def critical(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
Exemple #5
0
 def debug(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
Exemple #6
0
 def error(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
Exemple #7
0
 def warning(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
Exemple #8
0
def log(msg):
    TestermanTCI.logInternal("SA: %s" % msg)
Exemple #9
0
	def critical(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
	def info(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
Exemple #10
0
	def error(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
	def debug(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
Exemple #11
0
	def warning(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
	def error(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
Exemple #12
0
def log(msg):
	TestermanTCI.logInternal("SA: %s" % msg)
Exemple #13
0
# 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):
Exemple #14
0
# 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)