File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
RubberduckTests/Refactoring Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1631,6 +1631,24 @@ private static Mock<IRefactoringPresenterFactory<IEncapsulateFieldPresenter>> Se
1631
1631
1632
1632
private static IIndenter CreateIndenter ( VBE vbe )
1633
1633
{
1634
+ var settings = new Mock < IndenterSettings > ( ) ;
1635
+ settings . Setup ( s => s . IndentEntireProcedureBody ) . Returns ( true ) ;
1636
+ settings . Setup ( s => s . IndentFirstCommentBlock ) . Returns ( true ) ;
1637
+ settings . Setup ( s => s . IndentFirstDeclarationBlock ) . Returns ( true ) ;
1638
+ settings . Setup ( s => s . AlignCommentsWithCode ) . Returns ( true ) ;
1639
+ settings . Setup ( s => s . AlignContinuations ) . Returns ( true ) ;
1640
+ settings . Setup ( s => s . IgnoreOperatorsInContinuations ) . Returns ( true ) ;
1641
+ settings . Setup ( s => s . IndentCase ) . Returns ( false ) ;
1642
+ settings . Setup ( s => s . ForceDebugStatementsInColumn1 ) . Returns ( false ) ;
1643
+ settings . Setup ( s => s . ForceCompilerDirectivesInColumn1 ) . Returns ( false ) ;
1644
+ settings . Setup ( s => s . IndentCompilerDirectives ) . Returns ( true ) ;
1645
+ settings . Setup ( s => s . AlignDims ) . Returns ( false ) ;
1646
+ settings . Setup ( s => s . AlignDimColumn ) . Returns ( 15 ) ;
1647
+ settings . Setup ( s => s . EnableUndo ) . Returns ( true ) ;
1648
+ settings . Setup ( s => s . EndOfLineCommentStyle ) . Returns ( EndOfLineCommentStyle . AlignInColumn ) ;
1649
+ settings . Setup ( s => s . EndOfLineCommentColumnSpaceAlignment ) . Returns ( 50 ) ;
1650
+ settings . Setup ( s => s . IndentSpaces ) . Returns ( 4 ) ;
1651
+
1634
1652
return new Indenter ( vbe , ( ) => new IndenterSettings ( ) ) ;
1635
1653
}
1636
1654
#endregion
You can’t perform that action at this time.
0 commit comments