9    public class TestContext
 
   11        private readonly NUnit.Framework.TestContext _base;
 
   12        public TestContext(NUnit.Framework.TestContext original)
 
   16        public string TestName => _base?.ToString() ?? 
"No Context";
 
   17        public void WriteLine(
string text) => Console.WriteLine(text);
 
   18        public UnitTestOutcome CurrentTestOutcome =>
 
   19            _base == 
null ? UnitTestOutcome.Unknown :
 
   20            _base.Result.FailCount > 0 ? UnitTestOutcome.Failed :
 
   21            UnitTestOutcome.Passed;
 
   24    public class FakeTestContext : TestContext
 
   26        public FakeTestContext() : base(null) { }
 
   30    public class FakeTestContext : Microsoft.VisualStudio.TestTools.UnitTesting.TestContext
 
   32        public override System.Collections.IDictionary Properties { 
get; }
 
   33        public override System.Data.DataRow DataRow { 
get; }
 
   34        public override System.Data.Common.DbConnection DataConnection { 
get; }
 
   35        public override void Write(
string message)
 
   37            throw new NotImplementedException();
 
   40        public override void Write(
string format, params 
object[] args)
 
   42            throw new NotImplementedException();
 
   45        public override void WriteLine(
string message)
 
   47            throw new NotImplementedException();
 
   50        public override void WriteLine(
string format, params 
object[] args)
 
   52            Console.WriteLine(format, args);
 
   55        public override void AddResultFile(
string fileName)
 
   57            throw new NotImplementedException();
 
   60        public override void BeginTimer(
string timerName)
 
   62            throw new NotImplementedException();
 
   65        public override void EndTimer(
string timerName)
 
   67            throw new NotImplementedException();
 
@ Unknown
Indicates that no attempt has been made to authenticate with this access token.
 
@ Failed
Data has already been uploaded but failed processing.