public void PreprareTestLoader() { // arrange mockWatcher = new MockAssemblyWatcher2(); testLoader = new TestLoader(mockWatcher); testLoader.LoadProject(assembly); }
private PlugsterWindow2() { InitExceptionHandler(); InitializeComponent(); InitLAF(); //TODO: create a separate test loader testLoader = this; this.Load += new System.EventHandler(this.PlugsterWindow2_Load); //this.Disposed += new System.EventHandler(this.PlugsterWindow2_Disposed); InitHotKey(); InitPlugLoader(); testsListPanel.TestLoader = testLoader; testsHolderControls = new List <ITestsHolderControl>(); testsHolderControls.Add(testsListPanel); //TODO:Handle this in a diff place. showHidePanelAppDom.FilterListBox.ItemDeleted += new FilterListControl.DeleteHandler(this.DeleteAppDom); }
public void Initialize(ITestLoader loader, ITestEvents events) { this.loader = loader; events.TestLoaded += new TestEventHandler(OnTestLoaded); events.TestReloaded += new TestEventHandler(OnTestChanged); events.TestUnloaded += new TestEventHandler(OnTestUnloaded); events.RunStarting += new TestEventHandler(OnRunStarting); events.RunFinished += new TestEventHandler(OnRunFinished); events.TestFinished += new TestEventHandler(OnTestResult); events.SuiteFinished += new TestEventHandler(OnTestResult); }
public TestRunner ( ILogger <TestRunner> logger, IResourceProvider resourceProvider, ITestLoader testLoader, ITestComposer testComposer, RuntimeFormatter.Factory createRuntimeFormatter ) { _createRuntimeFormatter = createRuntimeFormatter; _logger = logger; _testLoader = testLoader; _testComposer = testComposer; }
public void Initialize( ITestLoader loader, ITestEvents events ) { this.loader = loader; events.TestLoaded += new TestEventHandler( OnTestLoaded ); events.TestReloaded += new TestEventHandler( OnTestChanged ); events.TestUnloaded += new TestEventHandler( OnTestUnloaded ); events.RunStarting += new TestEventHandler( OnRunStarting ); events.RunFinished += new TestEventHandler( OnRunFinished ); events.TestFinished += new TestEventHandler( OnTestResult ); events.SuiteFinished+= new TestEventHandler( OnTestResult ); }
public TestLoaderUI(Form owner, ITestLoader loader) { this.owner = owner; this.loader = loader; }
public TestsHolderListPanel(ITestLoader loader) : this() { this.testLoader = loader; }