public void TestAttributes() { SendErrorReportCommand cmd = new SendErrorReportCommand(); Assert.IsTrue( cmd.GetType().GetCustomAttributes( typeof(VSNetCommandAttribute), false ).Length == 1 ); Assert.IsTrue( cmd.GetType().GetCustomAttributes( typeof(VSNetCommandAttribute), false ).Length >= 1 ); }
public void TestQueryStatus() { SendErrorReportCommand cmd = new SendErrorReportCommand(); /*Assert.AreEqual( vsCommandStatus.vsCommandStatusEnabled | * vsCommandStatus.vsCommandStatusSupported, * cmd.QueryStatus( this.context ) );*/ }
public void TestAttributes() { SendErrorReportCommand cmd = new SendErrorReportCommand(); Assert.IsTrue( cmd.GetType().GetCustomAttributes(typeof(VSNetCommandAttribute), false).Length == 1); Assert.IsTrue( cmd.GetType().GetCustomAttributes(typeof(VSNetCommandAttribute), false).Length >= 1); }
public void TestQueryStatus() { SendErrorReportCommand cmd = new SendErrorReportCommand(); /*Assert.AreEqual( vsCommandStatus.vsCommandStatusEnabled | vsCommandStatus.vsCommandStatusSupported, cmd.QueryStatus( this.context ) );*/ }