public void FindTest() { TestLauncherActor.Test(() => { var dirtest = new DirectoryTestActor(); DirectoryActor.GetDirectory().Register(dirtest, dirtest.Tag.Key()); }); }
public void DirectoryActorTest() { fLauncher.SendAction(() => { IActor act = new DirectoryTestActor(); act.SendMessage(fLauncher, DirectoryActor.GetDirectory(), "Directory"); }); Assert.IsTrue(fLauncher.Wait(100000).Result); }
public void RegisterTest() { TestLauncherActor.Test(() => { var act = new DirectoryTestActor(); DirectoryActor.GetDirectory().Register(act, act.Tag.Key()); act.SendMessage(fLauncher, act, act.Tag.Key()); }); }
public void FindTest() { fLauncher.SendAction(() => { var dirtest = new DirectoryTestActor(); DirectoryActor.GetDirectory().Register(dirtest, dirtest.Tag.Key()); fLauncher.Finish(); }); Assert.IsTrue(fLauncher.Wait()); }
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()); }