public CoreExtensions() { this.suiteBuilders = new SuiteBuilderCollection(this); this.testBuilders = new TestCaseBuilderCollection(this); this.testDecorators = new TestDecoratorCollection(this); this.listeners = new EventListenerCollection(this); this.extensions = new IExtensionPoint[] { suiteBuilders, testBuilders, testDecorators, listeners }; this.supportedTypes = ExtensionType.Core; // TODO: This should be somewhere central // string logfile = Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData ); // logfile = Path.Combine( logfile, "NUnit" ); // logfile = Path.Combine( logfile, "NUnitTest.log" ); // // appender = new log4net.Appender.ConsoleAppender(); //// appender.File = logfile; //// appender.AppendToFile = true; //// appender.LockingModel = new log4net.Appender.FileAppender.MinimalLock(); // appender.Layout = new log4net.Layout.PatternLayout( // "%date{ABSOLUTE} %-5level [%4thread] %logger{1}: PID=%property{PID} %message%newline" ); // appender.Threshold = log4net.Core.Level.All; // log4net.Config.BasicConfigurator.Configure(appender); }
public CoreExtensions() { this.suiteBuilders = new SuiteBuilderCollection(); this.testBuilders = new TestCaseBuilderCollection(); this.testDecorators = new TestDecoratorCollection(); this.listeners = new EventListenerCollection(); this.extensions = new IExtensionPoint[] { suiteBuilders, testBuilders, testDecorators }; this.supportedTypes = ExtensionType.Core; }
public TestDecoratorCollection( TestDecoratorCollection other ) { decorators.AddRange( other.decorators ); }
public TestDecoratorCollection(TestDecoratorCollection other) { decorators.AddRange(other.decorators); }