File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
RubberduckTests/UnitTesting Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace RubberduckTests . UnitTesting
6
6
{
7
- //NOTE: The tests for reference equity are ignored pending some way of figuring out how to test the correct behavior.
8
- //These methods have to check to see if the parameters are COM objects (see https://github.com/rubberduck-vba/Rubberduck/issues/2848)
9
- //to make the result match the VBA interpretations of reference and value types. Similarly, the SequenceEqual and NotSequenceEqual
10
- //methods remain untested because they make several of the same Type tests that are AFAIK impossible to mock.
11
-
12
7
[ TestFixture ]
13
8
public class AssertTests
14
9
{
@@ -27,6 +22,11 @@ public void Cleanup()
27
22
AssertHandler . OnAssertCompleted -= AssertHandler_OnAssertCompleted ;
28
23
}
29
24
25
+ private void AssertHandler_OnAssertCompleted ( object sender , AssertCompletedEventArgs e )
26
+ {
27
+ _args = e ;
28
+ }
29
+
30
30
[ Category ( "Unit Testing" ) ]
31
31
[ Test ]
32
32
public void IsTrueSucceedsWithTrueExpression ( )
@@ -278,11 +278,6 @@ public void InconclusiveShouldBeInconclusive()
278
278
Assert . AreEqual ( TestOutcome . Inconclusive , _args . Outcome ) ;
279
279
}
280
280
281
- private void AssertHandler_OnAssertCompleted ( object sender , AssertCompletedEventArgs e )
282
- {
283
- _args = e ;
284
- }
285
-
286
281
[ Category ( "Unit Testing" ) ]
287
282
[ Test ]
288
283
public void NullValuesAreEqual ( )
You can’t perform that action at this time.
0 commit comments