public ContextHolder()
            {
                this.prior       = null;
                this.tracing     = false;
                this.logging     = false;
                this.outWriter   = Console.Out;
                this.errorWriter = Console.Error;
                this.traceWriter = null;
                this.logCapture  = new Log4NetCapture();

                this.currentDirectory = Environment.CurrentDirectory;
                this.currentCulture   = CultureInfo.CurrentCulture;
            }
            public ContextHolder(ContextHolder other)
            {
                this.prior       = other;
                this.tracing     = other.tracing;
                this.logging     = other.logging;
                this.outWriter   = other.outWriter;
                this.errorWriter = other.errorWriter;
                this.traceWriter = other.traceWriter;
                this.logCapture  = other.logCapture;

                this.currentDirectory = Environment.CurrentDirectory;
                this.currentCulture   = CultureInfo.CurrentCulture;
            }
Exemplo n.º 3
0
            public ContextHolder(ContextHolder other)
            {
                this.prior           = other;
                this.tracing         = other.tracing;
                this.logging         = other.logging;
                this.outWriter       = other.outWriter;
                this.errorWriter     = other.errorWriter;
                this.traceWriter     = other.traceWriter;
                this.logCapture      = other.logCapture;
                this.testCaseTimeout = other.testCaseTimeout;

                this.currentDirectory = Environment.CurrentDirectory;
                this.currentCulture   = CultureInfo.CurrentCulture;
                this.currentUICulture = CultureInfo.CurrentUICulture;
                this.currentPrincipal = System.Threading.Thread.CurrentPrincipal;
            }
Exemplo n.º 4
0
            public ContextHolder()
            {
                this.prior           = null;
                this.tracing         = false;
                this.logging         = false;
                this.outWriter       = Console.Out;
                this.errorWriter     = Console.Error;
                this.traceWriter     = null;
                this.logCapture      = new Log4NetCapture();
                this.testCaseTimeout = 0;

                this.currentDirectory = Environment.CurrentDirectory;
                this.currentCulture   = CultureInfo.CurrentCulture;
                this.currentUICulture = CultureInfo.CurrentUICulture;
                this.currentPrincipal = System.Threading.Thread.CurrentPrincipal;
            }
Exemplo n.º 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TestExecutionContext"/> class.
        /// </summary>
        public TestExecutionContext()
        {
            this.prior   = null;
            this.tracing = false;
            //this.logging = false;
            this.outWriter       = Console.Out;
            this.errorWriter     = Console.Error;
            this.traceWriter     = null;
            this.logCapture      = new Log4NetCapture();
            this.testCaseTimeout = 0;

            this.currentDirectory = Environment.CurrentDirectory;
            this.currentCulture   = CultureInfo.CurrentCulture;
            this.currentUICulture = CultureInfo.CurrentUICulture;
            this.currentPrincipal = Thread.CurrentPrincipal;

            this.contextDictionary = new ContextDictionary(this);
        }
Exemplo n.º 6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TestExecutionContext"/> class.
        /// </summary>
        /// <param name="other">An existing instance of TestExecutionContext.</param>
        public TestExecutionContext(TestExecutionContext other)
        {
            this.prior           = other;
            this.tracing         = other.tracing;
            this.logging         = other.logging;
            this.outWriter       = other.outWriter;
            this.errorWriter     = other.errorWriter;
            this.traceWriter     = other.traceWriter;
            this.logCapture      = other.logCapture;
            this.testCaseTimeout = other.testCaseTimeout;

            this.currentTest   = other.currentTest;
            this.currentResult = other.currentResult;

            this.currentDirectory = Environment.CurrentDirectory;
            this.currentCulture   = CultureInfo.CurrentCulture;
            this.currentUICulture = CultureInfo.CurrentUICulture;
            this.currentPrincipal = Thread.CurrentPrincipal;
        }
Exemplo n.º 7
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TestExecutionContext"/> class.
        /// </summary>
        /// <param name="other">An existing instance of TestExecutionContext.</param>
        public TestExecutionContext(TestExecutionContext other)
        {
            this.prior   = other;
            this.tracing = other.tracing;
            //this.logging = other.logging;
            this.outWriter       = other.outWriter;
            this.errorWriter     = other.errorWriter;
            this.traceWriter     = other.traceWriter;
            this.logCapture      = other.logCapture;
            this.testCaseTimeout = other.testCaseTimeout;

            this.currentTest   = other.currentTest;
            this.currentResult = other.currentResult;
            this.testPackage   = other.testPackage;

            this.currentDirectory = Environment.CurrentDirectory;
            this.currentCulture   = CultureInfo.CurrentCulture;
            this.currentUICulture = CultureInfo.CurrentUICulture;
            this.currentPrincipal = Thread.CurrentPrincipal;

            this.CompatibilityWriter = other.CompatibilityWriter;

            this.contextDictionary = new ContextDictionary(this);
        }
Exemplo n.º 8
0
            public ContextHolder( ContextHolder other )
            {
                this.prior = other;
                this.tracing = other.tracing;
                this.logging = other.logging;
                this.outWriter = other.outWriter;
                this.errorWriter = other.errorWriter;
                this.traceWriter = other.traceWriter;
                this.logCapture = other.logCapture;
                this.testCaseTimeout = other.testCaseTimeout;

                this.currentDirectory = Environment.CurrentDirectory;
                this.currentCulture = CultureInfo.CurrentCulture;
                this.currentUICulture = CultureInfo.CurrentUICulture;
                this.currentPrincipal = System.Threading.Thread.CurrentPrincipal;
            }
Exemplo n.º 9
0
            public ContextHolder()
            {
                this.prior = null;
                this.tracing = false;
                this.logging = false;
                this.outWriter = Console.Out;
                this.errorWriter = Console.Error;
                this.traceWriter = null;
                this.logCapture = new Log4NetCapture();
                this.testCaseTimeout = 0;

                this.currentDirectory = Environment.CurrentDirectory;
                this.currentCulture = CultureInfo.CurrentCulture;
                this.currentUICulture = CultureInfo.CurrentUICulture;
                this.currentPrincipal = System.Threading.Thread.CurrentPrincipal;
            }
Exemplo n.º 10
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TestExecutionContext"/> class.
        /// </summary>
        /// <param name="other">An existing instance of TestExecutionContext.</param>
        public TestExecutionContext(TestExecutionContext other)
        {
            this.prior = other;
            this.tracing = other.tracing;
            //this.logging = other.logging;
            this.outWriter = other.outWriter;
            this.errorWriter = other.errorWriter;
            this.traceWriter = other.traceWriter;
            this.logCapture = other.logCapture;
            this.testCaseTimeout = other.testCaseTimeout;

            this.currentTest = other.currentTest;
            this.currentResult = other.currentResult;
            this.testPackage = other.testPackage;

            this.currentDirectory = Environment.CurrentDirectory;
            this.currentCulture = CultureInfo.CurrentCulture;
            this.currentUICulture = CultureInfo.CurrentUICulture;
            this.currentPrincipal = Thread.CurrentPrincipal;
        }
Exemplo n.º 11
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TestExecutionContext"/> class.
        /// </summary>
        public TestExecutionContext()
        {
            this.prior = null;
            this.tracing = false;
            //this.logging = false;
            this.outWriter = Console.Out;
            this.errorWriter = Console.Error;
            this.traceWriter = null;
            this.logCapture = new Log4NetCapture();
            this.testCaseTimeout = 0;

            this.currentDirectory = Environment.CurrentDirectory;
            this.currentCulture = CultureInfo.CurrentCulture;
            this.currentUICulture = CultureInfo.CurrentUICulture;
            this.currentPrincipal = Thread.CurrentPrincipal;

            this.contextDictionary = new ContextDictionary(this);
        }
Exemplo n.º 12
0
			public ContextHolder( ContextHolder other )
			{
				this.prior = other;
				this.tracing = other.tracing;
				this.logging = other.logging;
				this.outWriter = other.outWriter;
				this.errorWriter = other.errorWriter;
				this.traceWriter = other.traceWriter;
				this.logCapture = other.logCapture;

				this.currentDirectory = Environment.CurrentDirectory;
				this.currentCulture = CultureInfo.CurrentCulture;
			}
Exemplo n.º 13
0
			public ContextHolder()
			{
				this.prior = null;
				this.tracing = false;
				this.logging = false;
				this.outWriter = Console.Out;
				this.errorWriter = Console.Error;
				this.traceWriter = null;
				this.logCapture = new Log4NetCapture();

				this.currentDirectory = Environment.CurrentDirectory;
				this.currentCulture = CultureInfo.CurrentCulture;
			}