public void OneTimeSetup() { _plannerUpdatesInstanceType = typeof(PlannerUpdates); _plannerUpdatesInstanceFixture = this.Create <PlannerUpdates>(true); _plannerUpdatesInstance = _plannerUpdatesInstanceFixture ?? this.Create <PlannerUpdates>(false); CurrentInstance = _plannerUpdatesInstanceFixture; ConfigureIgnoringTests(); }
public void OneTimeSetup() { _workPlannerWizardInstanceType = typeof(WorkPlannerWizard); _workPlannerWizardInstanceFixture = this.Create <WorkPlannerWizard>(true); _workPlannerWizardInstance = _workPlannerWizardInstanceFixture ?? this.Create <WorkPlannerWizard>(false); CurrentInstance = _workPlannerWizardInstanceFixture; ConfigureIgnoringTests(); }
public void OneTimeSetup() { _openmppInstanceType = typeof(openmpp); _openmppInstanceFixture = this.Create <openmpp>(true); _openmppInstance = _openmppInstanceFixture ?? this.Create <openmpp>(false); CurrentInstance = _openmppInstanceFixture; ConfigureIgnoringTests(); }
public void OneTimeSetup() { _selectDateInstanceType = typeof(SelectDate); _selectDateInstanceFixture = this.Create <SelectDate>(true); _selectDateInstance = _selectDateInstanceFixture ?? this.Create <SelectDate>(false); CurrentInstance = _selectDateInstanceFixture; ConfigureIgnoringTests(); }
public void OneTimeSetup() { _importListInstanceType = typeof(ImportList); _importListInstanceFixture = this.Create <ImportList>(true); _importListInstance = _importListInstanceFixture ?? this.Create <ImportList>(false); CurrentInstance = _importListInstanceFixture; ConfigureIgnoringTests(); }
public void OneTimeSetup() { _publishLogInstanceType = typeof(PublishLog); _publishLogInstanceFixture = this.Create <PublishLog>(true); _publishLogInstance = _publishLogInstanceFixture ?? this.Create <PublishLog>(false); CurrentInstance = _publishLogInstanceFixture; ConfigureIgnoringTests(); }
public void OneTimeSetup() { _saveAgilePlannerInstanceType = typeof(SaveAgilePlanner); _saveAgilePlannerInstanceFixture = this.Create <SaveAgilePlanner>(true); _saveAgilePlannerInstance = _saveAgilePlannerInstanceFixture ?? this.Create <SaveAgilePlanner>(false); CurrentInstance = _saveAgilePlannerInstanceFixture; ConfigureIgnoringTests(); }
public void AUT_Constructor_WorkPlannerWizard_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange WorkPlannerWizard instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); _workPlannerWizardInstanceType.ShouldNotBeNull(); _workPlannerWizardInstance.ShouldNotBeNull(); _workPlannerWizardInstanceFixture.ShouldNotBeNull(); _workPlannerWizardInstance.ShouldBeAssignableTo <WorkPlannerWizard>(); _workPlannerWizardInstanceFixture.ShouldBeAssignableTo <WorkPlannerWizard>(); }
public void AUT_Constructor_openmpp_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange openmpp instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); _openmppInstanceType.ShouldNotBeNull(); _openmppInstance.ShouldNotBeNull(); _openmppInstanceFixture.ShouldNotBeNull(); _openmppInstance.ShouldBeAssignableTo <openmpp>(); _openmppInstanceFixture.ShouldBeAssignableTo <openmpp>(); }