public void Const42_Test()
 {
     //Ported from const42.cs
     OutputHelper.WriteLine("Section 10.3");
     OutputHelper.WriteLine("A constant declarator introduces a new member");
     OutputHelper.WriteLine("This test is expected to fail");
     Assert.False(ConstTestClass42.test());
     {
         OutputHelper.WriteLine("This failure indicates a test is now passing that previously failed by design.");
         OutputHelper.WriteLine("It previously marked as known failure because of bug # 17246");
         OutputHelper.WriteLine("The Test owner needs to verify that the change was intentional and remove the known failure.");
     }
 }
Exemplo n.º 2
0
 public MFTestResults Const42_Test()
 {
     //Ported from const42.cs
     Log.Comment("Section 10.3");
     Log.Comment("A constant declarator introduces a new member");
     Log.Comment("This test is expected to fail");
     if (ConstTestClass42.test())
     {
         Log.Comment("This failure indicates a test is now passing that previously failed by design.");
         Log.Comment("It previously marked as known failure because of bug # 17246");
         Log.Comment("The Test owner needs to verify that the change was intentional and remove the known failure.");
         return(MFTestResults.Fail);
     }
     return(MFTestResults.Pass);
 }