Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(6)  |  Derive(0)  |  Import(6)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Test/Util/test_TestResultComponent.py   kamaelia(Download)
from Axon.Component import component
from Axon.Linkage import linkage
from Axon.Postman import postman
from Axon.util import testInterface
from Axon.Scheduler import scheduler
    def setUp(self):
        self.tester = component()
        self.trcomp = TestResult()
        self.trcomp.activate()
        self.pm = postman()

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Test/Util/test_LossyConnector.py   kamaelia(Download)
import Kamaelia.Util.LossyConnector
from Axon.util import testInterface
from Axon.Postman import postman
from Axon.Linkage import linkage
from Axon.AxonExceptions import noSpaceInBox
    def setUp(self):
        self.tester = component()
        self.connector = testedclass()
        self.connector.activate()
        self.pm = postman()

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Test/Util/test_Comparator.py   kamaelia(Download)
from Kamaelia.Util.Comparator import Comparator
from Axon.util import testInterface
from Axon.Postman import postman
from Axon.Linkage import linkage
from Axon.Ipc import shutdownMicroprocess, producerFinished
        self.Comparator = Comparator()
        self.Comparator.activate()
        self.pm = postman()
        #pipewidth = 1 implies 2 items in the linkage.  One in outbox and one in sourcebox.  Need to change this code if these semantics change.
        self.pm.registerlinkage(linkage(source = self.testerA, sink = self.Comparator, sourcebox = "outbox", sinkbox = "inA"))

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Test/Util/test_TestResultComponent.py   kamaelia(Download)
from Axon.Component import component
from Axon.Linkage import linkage
from Axon.Postman import postman
from Axon.util import testInterface
from Axon.Scheduler import scheduler
    def setUp(self):
        self.tester = component()
        self.trcomp = TestResult()
        self.trcomp.activate()
        self.pm = postman()

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Test/Util/test_LossyConnector.py   kamaelia(Download)
import Kamaelia.Util.LossyConnector
from Axon.util import testInterface
from Axon.Postman import postman
from Axon.Linkage import linkage
from Axon.AxonExceptions import noSpaceInBox
    def setUp(self):
        self.tester = component()
        self.connector = testedclass()
        self.connector.activate()
        self.pm = postman()

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Test/Util/test_Comparator.py   kamaelia(Download)
from Kamaelia.Util.Comparator import Comparator
from Axon.util import testInterface
from Axon.Postman import postman
from Axon.Linkage import linkage
from Axon.Ipc import shutdownMicroprocess, producerFinished
        self.Comparator = Comparator()
        self.Comparator.activate()
        self.pm = postman()
        #pipewidth = 1 implies 2 items in the linkage.  One in outbox and one in sourcebox.  Need to change this code if these semantics change.
        self.pm.registerlinkage(linkage(source = self.testerA, sink = self.Comparator, sourcebox = "outbox", sinkbox = "inA"))