public void ConnectTest() { IComponentConnector target = new Player(); int connectionId = 0; object target1 = null; target.Connect(connectionId, target1); }
public void createExtraPluginInstanceTest() { Player target = new Player(); IPlugin actual; actual = target.createExtraPluginInstance(); Assert.IsTrue(actual is Player, "The returned object is not a valid Player instance. "); }
public void typeTest() { Player target = new Player(); PluginType actual; actual = target.type; Assert.AreEqual(PluginType.IPresentation, actual, "Player is not of type IPresentation. "); }
public void propertyViewTest() { Player target = new Player(); UserControl actual; actual = target.propertyView; Assert.AreEqual(actual, target); }
public void setMementoTest() { Player target = new Player(); Memento memento = null; target.setMemento(memento); Memento expected = new Memento("dd", null, "dd"); Memento actual; actual = target.getMemento(); Assert.AreEqual(expected.name, actual.name); Assert.AreEqual(expected.state, actual.state); Assert.AreEqual(expected.mementoPath, actual.mementoPath); }
public void presentationTypeTest() { Player target = new Player(); PresentationPluginType expected = PresentationPluginType.Player; PresentationPluginType actual; actual = target.presentationType; Assert.AreEqual(expected, actual); }
public void positionReaderTest() { Player target = new Player(); int expected = 10; int actual; target.positionReader = expected; actual = target.positionReader; Assert.AreEqual(expected, actual); }
public void PlayerConstructorTest() { Player target = new Player(); Assert.IsTrue(target is Player, "The returned object is not a valid Player instance. "); }
public void namePluginTest() { Player target = new Player(); string actual; actual = target.namePlugin; Assert.AreEqual("PP_Player", actual, "The player is not PP_Player. "); }
public void InitializeComponentTest() { Player target = new Player(); target.InitializeComponent(); }