File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Rubberduck.Core/UnitTesting Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public interface IFakes
88
99 public interface IFakesFactory
1010 {
11- IFakes GetFakes ( ) ;
11+ IFakes Create ( ) ;
1212 void Release ( IFakes fakes ) ;
1313 }
1414}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void Run(IEnumerable<TestMethod> tests)
7474 . Where ( test => test . Declaration . QualifiedName . QualifiedModuleName . ProjectId == capturedModule . Key . ProjectId
7575 && test . Declaration . QualifiedName . QualifiedModuleName . ComponentName == capturedModule . Key . ComponentName ) ;
7676
77- var fakes = _fakesFactory . GetFakes ( ) ;
77+ var fakes = _fakesFactory . Create ( ) ;
7878 try
7979 {
8080 Run ( module . Key . FindModuleInitializeMethods ( _state ) ) ;
Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ private void RegisterUnitTestingComSide(IWindsorContainer container)
159159 . LifestyleSingleton ( ) ) ;
160160 container . Register ( Component . For < IFakes > ( )
161161 . ImplementedBy < FakesProvider > ( )
162- . Named ( "Fakes" )
163162 . LifestyleTransient ( ) ) ;
164163 }
165164
You can’t perform that action at this time.
0 commit comments