Skip to content

Instantly share code, notes, and snippets.

@adilakhter
Created April 4, 2013 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adilakhter/5309650 to your computer and use it in GitHub Desktop.
Save adilakhter/5309650 to your computer and use it in GitHub Desktop.
public abstract class TestContext
{
public const string AspNetDevelopmentServerPrefix = "AspNetDevelopmentServer.";
protected TestContext();
public virtual UnitTestOutcome CurrentTestOutcome { get; }
public abstract DbConnection DataConnection { get; }
public abstract DataRow DataRow { get; }
public abstract IDictionary Properties { get; }
public virtual System.Web.UI.Page RequestedPage { get; }
public virtual string TestDeploymentDir { get; }
public virtual string TestDir { get; }
public virtual string TestLogsDir { get; }
public virtual string TestName { get; }
public abstract void AddResultFile(string fileName);
public abstract void BeginTimer(string timerName);
public abstract void EndTimer(string timerName);
public abstract void WriteLine(string format, params object[] args);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment