Esempio n. 1
0
 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 );
 }
Esempio n. 2
0
        public void TestQueryStatus()
        {
            SendErrorReportCommand cmd = new SendErrorReportCommand();

            /*Assert.AreEqual( vsCommandStatus.vsCommandStatusEnabled |
             *               vsCommandStatus.vsCommandStatusSupported,
             *  cmd.QueryStatus( this.context ) );*/
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 public void TestQueryStatus()
 {
     SendErrorReportCommand cmd = new SendErrorReportCommand();
     /*Assert.AreEqual( vsCommandStatus.vsCommandStatusEnabled |
                      vsCommandStatus.vsCommandStatusSupported,
         cmd.QueryStatus( this.context ) );*/
 }