コード例 #1
0
 public void FindTest()
 {
     TestLauncherActor.Test(() =>
     {
         var dirtest = new DirectoryTestActor();
         DirectoryActor.GetDirectory().Register(dirtest, dirtest.Tag.Key());
     });
 }
コード例 #2
0
 public void DirectoryActorTest()
 {
     fLauncher.SendAction(() =>
     {
         IActor act = new DirectoryTestActor();
         act.SendMessage(fLauncher, DirectoryActor.GetDirectory(), "Directory");
     });
     Assert.IsTrue(fLauncher.Wait(100000).Result);
 }
コード例 #3
0
 public void RegisterTest()
 {
     TestLauncherActor.Test(() =>
     {
         var act = new DirectoryTestActor();
         DirectoryActor.GetDirectory().Register(act, act.Tag.Key());
         act.SendMessage(fLauncher, act, act.Tag.Key());
     });
 }
コード例 #4
0
 public void FindTest()
 {
     fLauncher.SendAction(() =>
     {
         var dirtest = new DirectoryTestActor();
         DirectoryActor.GetDirectory().Register(dirtest, dirtest.Tag.Key());
         fLauncher.Finish();
     });
     Assert.IsTrue(fLauncher.Wait());
 }
コード例 #5
0
 public void RegisterTest()
 {
     fLauncher.SendAction(() =>
     {
         var act = new DirectoryTestActor();
         DirectoryActor.GetDirectory().Register(act, act.Tag.Key());
         act.SendMessage(fLauncher, act, act.Tag.Key());
         fLauncher.Finish();
     });
     Assert.IsTrue(fLauncher.Wait());
 }