コード例 #1
0
ファイル: TestermanSA.py プロジェクト: rolfschr/testerman
	def info(self, txt): TestermanTCI.logInternal("SA: %s" % txt)


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

TE_triEnqueueMsg = None
コード例 #2
0
def log(message):
	TestermanTCI.logInternal("PA: %s" % str(message))
コード例 #3
0
ファイル: TestermanSA.py プロジェクト: rishie/testerman
 def info(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
コード例 #4
0
ファイル: TestermanSA.py プロジェクト: rishie/testerman
 def critical(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
コード例 #5
0
ファイル: TestermanSA.py プロジェクト: rishie/testerman
 def debug(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
コード例 #6
0
ファイル: TestermanSA.py プロジェクト: rishie/testerman
 def error(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
コード例 #7
0
ファイル: TestermanSA.py プロジェクト: rishie/testerman
 def warning(self, txt):
     TestermanTCI.logInternal("SA: %s" % txt)
コード例 #8
0
ファイル: TestermanSA.py プロジェクト: rishie/testerman
def log(msg):
    TestermanTCI.logInternal("SA: %s" % msg)
コード例 #9
0
ファイル: TestermanSA.py プロジェクト: rolfschr/testerman
	def critical(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
	def info(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
コード例 #10
0
ファイル: TestermanSA.py プロジェクト: rolfschr/testerman
	def error(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
	def debug(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
コード例 #11
0
ファイル: TestermanSA.py プロジェクト: rolfschr/testerman
	def warning(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
	def error(self, txt): TestermanTCI.logInternal("SA: %s" % txt)
コード例 #12
0
ファイル: TestermanSA.py プロジェクト: rolfschr/testerman
def log(msg):
	TestermanTCI.logInternal("SA: %s" % msg)
コード例 #13
0
ファイル: TestermanCD.py プロジェクト: rishie/testerman
# 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):
コード例 #14
0
ファイル: TestermanCD.py プロジェクト: rolfschr/testerman
# 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)