public void Indexers14_Test() { OutputHelper.WriteLine(" Unless the indexer is an explicit interface"); OutputHelper.WriteLine(" member implementation, the type is followed"); OutputHelper.WriteLine(" by the keyword this. For an explicit "); OutputHelper.WriteLine(" interface member implementation, the type is "); OutputHelper.WriteLine(" followed by an interface-type, a . and the "); OutputHelper.WriteLine(" keyword this."); OutputHelper.WriteLine("This is currently an expected fail, but is resolved in 3.0 see Bug 16341 for details"); Assert.True(IndexersTestClass14.testMethod()); }
public MFTestResults Indexers14_Test() { Log.Comment(" Unless the indexer is an explicit interface"); Log.Comment(" member implementation, the type is followed"); Log.Comment(" by the keyword this. For an explicit "); Log.Comment(" interface member implementation, the type is "); Log.Comment(" followed by an interface-type, a . and the "); Log.Comment(" keyword this."); Log.Comment("This is currently an expected fail, but is resolved in 3.0 see Bug 16341 for details"); if (IndexersTestClass14.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }