Exemplo n.º 1
0
 public void Unit_Method2()
 {
     try {
         DocumentationFilter.Method(typeof(Tests), "MethodTest2", "(System.Int32,System.IO.Stream)");
         Assert.Fail();
     } catch (System.Exception) {
     }
 }
Exemplo n.º 2
0
 public void Unit_Method3()
 {
     try {
         DocumentationFilter.Method(typeof(Tests), "MethodTest1", "(System.String,System.NullReferenceException)");
         Assert.Fail();
     } catch (System.Exception) {
     }
 }
Exemplo n.º 3
0
        public void Unit_Method()
        {
            var actual = DocumentationFilter.Method(typeof(Tests), "MethodTest1", "(System.Int32,System.IO.Stream)");

            Assert.AreEqual(true, actual);
        }