11using System . Linq ;
22using System . Threading ;
33using Microsoft . VisualStudio . TestTools . UnitTesting ;
4- using Rubberduck . VBEditor . SafeComWrappers . Abstract ;
54using RubberduckTests . Mocks ;
65using Rubberduck . Inspections . Concrete ;
76using Rubberduck . Parsing . Inspections . Resources ;
@@ -11,7 +10,7 @@ namespace RubberduckTests.Inspections
1110 [ TestClass ]
1211 public class EmptyElseBlockInspectionTests
1312 {
14- [ TestMethod ]
13+ [ TestMethod , Ignore ]
1514 [ TestCategory ( "Inspections" ) ]
1615 public void InspectionType ( )
1716 {
@@ -21,7 +20,7 @@ public void InspectionType()
2120 Assert . AreEqual ( expectedInspection , inspection . InspectionType ) ;
2221 }
2322
24- [ TestMethod ]
23+ [ TestMethod , Ignore ]
2524 [ TestCategory ( "Inspections" ) ]
2625 public void InspectionName ( )
2726 {
@@ -31,7 +30,7 @@ public void InspectionName()
3130 Assert . AreEqual ( expectedName , inspection . Name ) ;
3231 }
3332
34- [ TestMethod ]
33+ [ TestMethod , Ignore ]
3534 [ TestCategory ( "Inspections" ) ]
3635 public void EmptyElseBlock_DoesntFireOnEmptyIfBlock ( )
3736 {
@@ -40,8 +39,7 @@ public void EmptyElseBlock_DoesntFireOnEmptyIfBlock()
4039 If True Then
4140 EndIf
4241End Sub" ;
43- IVBComponent component ;
44- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputcode , out component ) ;
42+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputcode , out _ ) ;
4543 var state = MockParser . CreateAndParse ( vbe . Object ) ;
4644
4745 var inspection = new EmptyElseBlockInspection ( state ) ;
@@ -52,7 +50,7 @@ If True Then
5250 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
5351 }
5452
55- [ TestMethod ]
53+ [ TestMethod , Ignore ]
5654 [ TestCategory ( "Inspections" ) ]
5755 public void EmptyElseBlock_HasNoContent ( )
5856 {
@@ -63,8 +61,7 @@ If True Then
6361 End If
6462End Sub" ;
6563
66- IVBComponent component ;
67- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputcode , out component ) ;
64+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputcode , out _ ) ;
6865 var state = MockParser . CreateAndParse ( vbe . Object ) ;
6966
7067 var inspection = new EmptyElseBlockInspection ( state ) ;
7572 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
7673 }
7774
78- [ TestMethod ]
75+ [ TestMethod , Ignore ]
7976 [ TestCategory ( "Inspections" ) ]
8077 public void EmptyElseBlock_HasQuoteComment ( )
8178 {
@@ -86,8 +83,7 @@ If True Then
8683 'Some Comment
8784 End If
8885End Sub" ;
89- IVBComponent component ;
90- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out component ) ;
86+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out _ ) ;
9187 var state = MockParser . CreateAndParse ( vbe . Object ) ;
9288
9389 var inspection = new EmptyElseBlockInspection ( state ) ;
9894 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
9995 }
10096
101- [ TestMethod ]
97+ [ TestMethod , Ignore ]
10298 [ TestCategory ( "Inspections" ) ]
10399 public void EmptyElseBlock_HasRemComment ( )
104100 {
@@ -110,8 +106,7 @@ Rem Some Comment
110106 End If
111107End Sub" ;
112108
113- IVBComponent component ;
114- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out component ) ;
109+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out _ ) ;
115110 var state = MockParser . CreateAndParse ( vbe . Object ) ;
116111
117112 var inspection = new EmptyElseBlockInspection ( state ) ;
@@ -122,7 +117,7 @@ End If
122117 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
123118 }
124119
125- [ TestMethod ]
120+ [ TestMethod , Ignore ]
126121 [ TestCategory ( "Inspections" ) ]
127122 public void EmptyElseBlock_HasVariableDeclaration ( )
128123 {
@@ -134,8 +129,7 @@ Dim d
134129 End If
135130End Sub" ;
136131
137- IVBComponent component ;
138- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out component ) ;
132+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out _ ) ;
139133 var state = MockParser . CreateAndParse ( vbe . Object ) ;
140134
141135 var inspection = new EmptyElseBlockInspection ( state ) ;
@@ -146,7 +140,7 @@ End If
146140 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
147141 }
148142
149- [ TestMethod ]
143+ [ TestMethod , Ignore ]
150144 [ TestCategory ( "Inspections" ) ]
151145 public void EmptyElseBlock_HasConstDeclaration ( )
152146 {
@@ -158,8 +152,7 @@ If True Then
158152 End If
159153End Sub" ;
160154
161- IVBComponent component ;
162- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out component ) ;
155+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out _ ) ;
163156 var state = MockParser . CreateAndParse ( vbe . Object ) ;
164157
165158 var inspection = new EmptyElseBlockInspection ( state ) ;
@@ -170,7 +163,7 @@ End If
170163 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
171164 }
172165
173- [ TestMethod ]
166+ [ TestMethod , Ignore ]
174167 [ TestCategory ( "Inspections" ) ]
175168 public void EmptyElseBlock_HasWhitespace ( )
176169 {
@@ -183,8 +176,7 @@ If True Then
183176 End If
184177End Sub" ;
185178
186- IVBComponent component ;
187- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputcode , out component ) ;
179+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputcode , out _ ) ;
188180 var state = MockParser . CreateAndParse ( vbe . Object ) ;
189181
190182 var inspection = new EmptyElseBlockInspection ( state ) ;
@@ -195,7 +187,7 @@ End If
195187 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
196188 }
197189
198- [ TestMethod ]
190+ [ TestMethod , Ignore ]
199191 [ TestCategory ( "Inspections" ) ]
200192 public void EmptyElseBlock_HasDeclarationStatement ( )
201193 {
@@ -207,8 +199,7 @@ Dim d
207199 End If
208200End Sub" ;
209201
210- IVBComponent component ;
211- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out component ) ;
202+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out _ ) ;
212203 var state = MockParser . CreateAndParse ( vbe . Object ) ;
213204
214205 var inspection = new EmptyElseBlockInspection ( state ) ;
@@ -219,7 +210,7 @@ End If
219210 Assert . AreEqual ( expectedCount , actualResults . Count ( ) ) ;
220211 }
221212
222- [ TestMethod ]
213+ [ TestMethod , Ignore ]
223214 [ TestCategory ( "Inspections" ) ]
224215 public void EmptyElseBlock_HasExecutableStatement ( )
225216 {
@@ -232,8 +223,7 @@ Dim d
232223 End If
233224End Sub" ;
234225
235- IVBComponent component ;
236- var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out component ) ;
226+ var vbe = MockVbeBuilder . BuildFromSingleStandardModule ( inputCode , out _ ) ;
237227 var state = MockParser . CreateAndParse ( vbe . Object ) ;
238228
239229 var inspection = new EmptyElseBlockInspection ( state ) ;
0 commit comments