Ejemplo n.º 1
0
        public void MyToolWindowConstructorTest()
        {
            WorkItemHelperWindow target = new WorkItemHelperWindow();
            Assert.IsNotNull(target, "Failed to create an instance of WorkItemHelperWindow");

            MethodInfo method = target.GetType().GetMethod("get_Content", BindingFlags.Public | BindingFlags.Instance);
            Assert.IsNotNull(method.Invoke(target, null), "WorkItemHelper object was not instantiated");
        }
Ejemplo n.º 2
0
 public void WindowPropertyTest()
 {
     WorkItemHelperWindow target = new WorkItemHelperWindow();
     Assert.IsNotNull(target.Content, "Content property was null");
 }