public void Init() { Logger.Clear(); inputStream = EventTestingUtilities.BuildStream(ExpectedID); goalComs.SetStream(inputStream); pickupEvent = new PickupEvent(); }
public void NewExitEventTest() { goalComs.SetStream(exitInputStream); INaoEvent result = NaoEventFactory.NewEvent( (byte)EventCode.Exit); Assert.IsInstanceOf(typeof(ExitEvent), result); }
public void TearDown() { goalComs.SetStream(emptyStream); EventTestingUtilities.DisconnectWebots(); }