File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
RetailCoder.VBE/UnitTesting Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ namespace Rubberduck.UnitTesting
1414 public class FakesProvider : IFakesProvider
1515 {
1616 internal const int AllInvocations = - 1 ;
17- // ReSharper disable once InconsistentNaming
17+ // ReSharper disable once InconsistentNaming - respects COM naming conventions
18+ [ Description ( "A value indicating that specified configuration applies to all invocations." ) ]
1819 public const int rdAllInvocations = AllInvocations ;
1920
2021 private static Dictionary < Type , StubBase > ActiveFakes { get ; } = new Dictionary < Type , StubBase > ( ) ;
Original file line number Diff line number Diff line change @@ -9,31 +9,57 @@ namespace Rubberduck.UnitTesting
99 public interface IFakesProvider
1010 {
1111 [ DispId ( 1 ) ]
12+ [ Description ( "Configures VBA.Interactions.MsgBox calls." ) ]
1213 IFake MsgBox { get ; }
14+
1315 [ DispId ( 2 ) ]
16+ [ Description ( "Configures VBA.Interactions.InputBox calls." ) ]
1417 IFake InputBox { get ; }
18+
1519 [ DispId ( 3 ) ]
20+ [ Description ( "Configures VBA.Interaction.Beep calls." ) ]
1621 IStub Beep { get ; }
22+
1723 [ DispId ( 4 ) ]
24+ [ Description ( "Configures VBA.Interaction.Environ calls." ) ]
1825 IFake Environ { get ; }
26+
1927 [ DispId ( 5 ) ]
28+ [ Description ( "Configures VBA.DateTime.Timer calls." ) ]
2029 IFake Timer { get ; }
30+
2131 [ DispId ( 6 ) ]
32+ [ Description ( "Configures VBA.Interaction.DoEvents calls." ) ]
2233 IFake DoEvents { get ; }
34+
2335 [ DispId ( 7 ) ]
36+ [ Description ( "Configures VBA.Interaction.Shell calls." ) ]
2437 IFake Shell { get ; }
38+
2539 [ DispId ( 8 ) ]
40+ [ Description ( "Configures VBA.Interaction.SendKeys calls." ) ]
2641 IStub SendKeys { get ; }
42+
2743 [ DispId ( 9 ) ]
44+ [ Description ( "Configures VBA.FileSystem.Kill calls." ) ]
2845 IStub Kill { get ; }
46+
2947 [ DispId ( 10 ) ]
48+ [ Description ( "Configures VBA.FileSystem.MkDir calls." ) ]
3049 IStub MkDir { get ; }
50+
3151 [ DispId ( 11 ) ]
52+ [ Description ( "Configures VBA.FileSystem.RmDir calls." ) ]
3253 IStub RmDir { get ; }
54+
3355 [ DispId ( 12 ) ]
56+ [ Description ( "Configures VBA.FileSystem.ChDir calls." ) ]
3457 IStub ChDir { get ; }
58+
3559 [ DispId ( 13 ) ]
60+ [ Description ( "Configures VBA.FileSystem.ChDrive calls." ) ]
3661 IStub ChDrive { get ; }
62+
3763 //[DispId(17)]
3864 //IFake CurDir { get; }
3965 }
You can’t perform that action at this time.
0 commit comments