コード例 #1
0
        public ModuleControllerTest()
        {
            this.module = new TestModule();
            this.testee = new ModuleController();
            this.testee.Initialize(this.module);

            this.module.Controller = this.testee;
        }
コード例 #2
0
        public void MessagesAreConsumedMultithreaded()
        {
            this.module = new TestModule();
            this.testee = new ModuleController();
            this.testee.Initialize(this.module, 10);

            this.module.Controller = this.testee;

            const int NumberOfMessages = 1000;

            this.EnqueueAndConsume(NumberOfMessages);
        }
コード例 #3
0
 public ModuleControllerMultiThreadModuleTest()
 {
     this.module = new TestModule();
 }