Beispiel #1
0
        public async Task TestReqReplyAsync()
        {
            await FiberTester.TestReqReplyAsync(new Fiber());

            await FiberTester.TestReqReplyAsync(new LockFiber());

            await FiberTester.TestReqReplyAsync(new StubFiber());
        }
Beispiel #2
0
 public void TestPubSubSimple()
 {
     FiberTester.TestPubSubSimple(new AsyncFiber());
     FiberTester.TestPubSubSimple(new AsyncStubFiber());
     FiberTester.TestPubSubSimple(new Fiber());
     FiberTester.TestPubSubSimple(new StubFiber());
     FiberTester.TestPubSubSimple(new LockAsyncFiber());
     FiberTester.TestPubSubSimple(new LockFiber());
 }
Beispiel #3
0
 public void TestPubSubWithFilter()
 {
     FiberTester.TestPubSubWithFilter(new AsyncFiber());
     FiberTester.TestPubSubWithFilter(new AsyncStubFiber());
     FiberTester.TestPubSubWithFilter(new Fiber());
     FiberTester.TestPubSubWithFilter(new StubFiber());
     FiberTester.TestPubSubWithFilter(new LockAsyncFiber());
     FiberTester.TestPubSubWithFilter(new LockFiber());
 }
Beispiel #4
0
 public void TestBatching()
 {
     FiberTester.TestBatching(new AsyncFiber());
     FiberTester.TestBatching(new AsyncStubFiber());
     FiberTester.TestBatching(new Fiber());
     FiberTester.TestBatching(new StubFiber());
     FiberTester.TestBatching(new LockAsyncFiber());
     FiberTester.TestBatching(new LockFiber());
     FiberTester.TestBatchingWithKey(new AsyncFiber());
     FiberTester.TestBatchingWithKey(new AsyncStubFiber());
     FiberTester.TestBatchingWithKey(new Fiber());
     FiberTester.TestBatchingWithKey(new StubFiber());
     FiberTester.TestBatchingWithKey(new LockAsyncFiber());
     FiberTester.TestBatchingWithKey(new LockFiber());
 }