コード例 #1
0
 public void Const43_Test()
 {
     //Ported from const43.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(ConstTestClass43.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.");
     }
 }
コード例 #2
0
ファイル: ConstTests.cs プロジェクト: leeholder/Netduino_SDK
 public MFTestResults Const43_Test()
 {
     //Ported from const43.cs
     Log.Comment("Section 10.3");
     Log.Comment("A constant declarator introduces a new member");
     Log.Comment("This test is expected to fail");
     if (ConstTestClass43.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);
 }