Skip to content

Commit 07bb2d0

Browse files
committed
Merge branch 'rubberduck-vba/next' into UnreachableCaseInsp_Comments2
2 parents c30f700 + ad11d8c commit 07bb2d0

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Rubberduck.Main/Root/RubberduckIoCInstaller.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ public void Install(IWindsorContainer container, IConfigurationStore store)
123123

124124
container.Register(Component.For<TestExplorerModel>()
125125
.LifestyleSingleton());
126-
container.Register(Component.For<VBEInteraction>().LifestyleSingleton());
126+
container.Register(Component.For<IVBEInteraction>()
127+
.ImplementedBy<VBEInteraction>()
128+
.LifestyleSingleton());
127129

128130
RegisterRefactoringDialogs(container);
129131

Rubberduck.UnitTesting/UnitTesting/TestEngine.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal class TestEngine : ITestEngine
3737
private readonly List<TestMethod> LastRun = new List<TestMethod>();
3838
private readonly Dictionary<TestOutcome, List<TestMethod>> resultsByOutcome = new Dictionary<TestOutcome, List<TestMethod>>();
3939
public IEnumerable<TestMethod> Tests { get; private set; }
40-
public bool CanRun => !_vbe.IsInDesignMode && AllowedRunStates.Contains(_state.Status);
40+
public bool CanRun => AllowedRunStates.Contains(_state.Status);// && !_vbe.IsInDesignMode;
4141
public bool CanRepeatLastRun => LastRun.Any();
4242

4343
private bool refreshBackoff;
@@ -126,7 +126,7 @@ public void RepeatLastRun()
126126

127127
private void RunInternal(IEnumerable<TestMethod> tests)
128128
{
129-
if (!CanRun)
129+
if (!CanRun || _vbe.IsInDesignMode)
130130
{
131131
return;
132132
}

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ deploy:
8080
release: Rubberduck v$(appveyor_build_version)
8181
description: AppVeyor build on [master] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version)
8282
auth_token:
83-
secure: oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
83+
secure: OHLyvxcoFmF4akSLtR1Ruqt2eUUBGK0fvVSQs+4NWo/RJSF5LCrEZeG1Z4TnkeFe
8484
artifact: Rubberduck.Deployment\InnoSetup\Installers\Rubberduck.Setup.$(appveyor_build_version).exe
8585
draft: true
8686
prerelease: false

0 commit comments

Comments
 (0)