Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Switch / Case statements appear with black icon in MSTest
moosey
#1 Posted : Tuesday, September 6, 2011 9:01:23 AM(UTC)
Rank: Member

Groups: Registered
Joined: 9/6/2011(UTC)
Posts: 12

Was thanked: 2 time(s) in 2 post(s)
Hello,

Just been using NCrunch with MSTest in VS2010 - it's fantastic. However, I have noticed what appears to be a minor bug:

When defining a "switch" statement, the first line of each "case" block appears with a black icon, despite the fact that the "case" block is actually entered and executed. See image for an example:

[img=(- BROKEN LINK -)]Black Icons[/img]

Tom
Remco
#2 Posted : Tuesday, September 6, 2011 7:03:20 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Yes - there is a known issue in this area. The instrumentation doesn't deal properly with switch statements. The issue also shows its face sometimes with inline delegates. It's on the list for a future fix. Thanks for the post! :)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download