public void TestBuildIcon10() { MessageBoxForm messageBoxForm = new MessageBoxForm(); Accessor messageBoxAccessor = ReflectionAccessor.Wrap(messageBoxForm); //Test Procedure Call messageBoxForm.BuildIcon((MessageBoxIcon)66); //Post Condition Check }
public void TestBuildIcon09() { MessageBoxForm messageBoxForm = new MessageBoxForm(); Accessor messageBoxAccessor = ReflectionAccessor.Wrap(messageBoxForm); //Test Procedure Call messageBoxForm.BuildIcon(MessageBoxIcon.Warning); //Post Condition Check Assert.AreEqual(SystemIcons.Exclamation, messageBoxAccessor.GetField("m_icon")); }
public void TestBuildIcon06() { MessageBoxForm messageBoxForm = new MessageBoxForm(); Accessor messageBoxAccessor = ReflectionAccessor.Wrap(messageBoxForm); //Test Procedure Call messageBoxForm.BuildIcon(MessageBoxIcon.None); //Post Condition Check Assert.IsNull(messageBoxAccessor.GetField("m_icon")); }