Skip to content

Commit 67b8dd2

Browse files
author
GUIGHIL benjamin
committed
Supress Warnings in travis
Supress Warning in Travis #2 Test for travis Add Comment XML for travis Add Comment for Testing
1 parent 43359a8 commit 67b8dd2

File tree

3 files changed

+67
-6
lines changed

3 files changed

+67
-6
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ install:
2626

2727
script:
2828
- ulimit -n 4096
29-
- powershell -File scripts/travis.ps1
29+
- powershell -File scripts/travis.ps1

src/PowerShellEditorServices/Session/Host/EditorServicesPSHost.cs

+33
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,18 @@ public class ConsoleColorProxy
8585
{
8686
private EditorServicesPSHostUserInterface _hostUserInterface;
8787

88+
/// <summary>
89+
///
90+
/// </summary>
8891
public ConsoleColorProxy(EditorServicesPSHostUserInterface hostUserInterface)
8992
{
9093
if (hostUserInterface == null) throw new ArgumentNullException("hostUserInterface");
9194
_hostUserInterface = hostUserInterface;
9295
}
9396

97+
/// <summary>
98+
///
99+
/// </summary>
94100
public ConsoleColor ErrorForegroundColor
95101
{
96102
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -101,6 +107,9 @@ public ConsoleColor ErrorForegroundColor
101107
{ _hostUserInterface.ErrorForegroundColor = value; }
102108
}
103109

110+
/// <summary>
111+
///
112+
/// </summary>
104113
public ConsoleColor ErrorBackgroundColor
105114
{
106115
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -111,6 +120,9 @@ public ConsoleColor ErrorBackgroundColor
111120
{ _hostUserInterface.ErrorBackgroundColor = value; }
112121
}
113122

123+
/// <summary>
124+
///
125+
/// </summary>
114126
public ConsoleColor WarningForegroundColor
115127
{
116128
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -121,6 +133,9 @@ public ConsoleColor WarningForegroundColor
121133
{ _hostUserInterface.WarningForegroundColor = value; }
122134
}
123135

136+
/// <summary>
137+
///
138+
/// </summary>
124139
public ConsoleColor WarningBackgroundColor
125140
{
126141
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -131,6 +146,9 @@ public ConsoleColor WarningBackgroundColor
131146
{ _hostUserInterface.WarningBackgroundColor = value; }
132147
}
133148

149+
/// <summary>
150+
///
151+
/// </summary>
134152
public ConsoleColor DebugForegroundColor
135153
{
136154
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -141,6 +159,9 @@ public ConsoleColor DebugForegroundColor
141159
{ _hostUserInterface.DebugForegroundColor = value; }
142160
}
143161

162+
/// <summary>
163+
///
164+
/// </summary>
144165
public ConsoleColor DebugBackgroundColor
145166
{
146167
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -151,6 +172,9 @@ public ConsoleColor DebugBackgroundColor
151172
{ _hostUserInterface.DebugBackgroundColor = value; }
152173
}
153174

175+
/// <summary>
176+
///
177+
/// </summary>
154178
public ConsoleColor VerboseForegroundColor
155179
{
156180
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -161,6 +185,9 @@ public ConsoleColor VerboseForegroundColor
161185
{ _hostUserInterface.VerboseForegroundColor = value; }
162186
}
163187

188+
/// <summary>
189+
///
190+
/// </summary>
164191
public ConsoleColor VerboseBackgroundColor
165192
{
166193
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -171,6 +198,9 @@ public ConsoleColor VerboseBackgroundColor
171198
{ _hostUserInterface.VerboseBackgroundColor = value; }
172199
}
173200

201+
/// <summary>
202+
///
203+
/// </summary>
174204
public ConsoleColor ProgressForegroundColor
175205
{
176206
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
@@ -181,6 +211,9 @@ public ConsoleColor ProgressForegroundColor
181211
{ _hostUserInterface.ProgressForegroundColor = value; }
182212
}
183213

214+
/// <summary>
215+
///
216+
/// </summary>
184217
public ConsoleColor ProgressBackgroundColor
185218
{
186219
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]

src/PowerShellEditorServices/Session/Host/EditorServicesPSHostUserInterface.cs

+33-5
Original file line numberDiff line numberDiff line change
@@ -688,30 +688,58 @@ private void WriteDebuggerBanner(DebuggerStopEventArgs eventArgs)
688688
}
689689
}
690690

691+
/// <summary>
692+
///
693+
/// </summary>
691694
public static ConsoleColor BackgroundColor
692695
{
693696
get;
694697
set;
695698
}
696699

697-
// Error colors
700+
/// <summary>
701+
///
702+
/// </summary>
698703
public ConsoleColor ErrorForegroundColor { get; set; } = ConsoleColor.Red;
704+
/// <summary>
705+
///
706+
/// </summary>
699707
public ConsoleColor ErrorBackgroundColor { get; set; } = BackgroundColor;
700708

701-
// Warning colors
709+
/// <summary>
710+
///
711+
/// </summary>
702712
public ConsoleColor WarningForegroundColor { get; set; } = ConsoleColor.Yellow;
713+
/// <summary>
714+
///
715+
/// </summary>
703716
public ConsoleColor WarningBackgroundColor { get; set; } = BackgroundColor;
704717

705-
// Debug colors
718+
/// <summary>
719+
///
720+
/// </summary>
706721
public ConsoleColor DebugForegroundColor { get; set; } = ConsoleColor.Yellow;
722+
/// <summary>
723+
///
724+
/// </summary>
707725
public ConsoleColor DebugBackgroundColor { get; set; } = BackgroundColor;
708726

709-
// Verbose colors
727+
/// <summary>
728+
///
729+
/// </summary>
710730
public ConsoleColor VerboseForegroundColor { get; set; } = ConsoleColor.Yellow;
731+
/// <summary>
732+
///
733+
/// </summary>
711734
public ConsoleColor VerboseBackgroundColor { get; set; } = BackgroundColor;
712735

713-
// Progress colors
736+
/// <summary>
737+
///
738+
/// </summary>
714739
public ConsoleColor ProgressForegroundColor { get; set; } = ConsoleColor.Yellow;
740+
/// <summary>
741+
///
742+
/// </summary>
715743
public ConsoleColor ProgressBackgroundColor { get; set; } = ConsoleColor.DarkCyan;
716744

717745
private async Task StartReplLoop(CancellationToken cancellationToken)

0 commit comments

Comments
 (0)