Comment 1 for bug 1068990

Revision history for this message
Jiri Pik (jiri-j) wrote :

The fix is simple

=== modified file 'NUnitFramework/src/framework/Internal/Tests/TestMethod.cs'
--- NUnitFramework/src/framework/Internal/Tests/TestMethod.cs 2012-09-07 04:08:58 +0000
+++ NUnitFramework/src/framework/Internal/Tests/TestMethod.cs 2012-11-05 05:16:26 +0000
@@ -77,11 +77,6 @@
             this.Name = method.Name;
             this.FullName += "." + this.Name;

- // Disambiguate call to base class methods
- // TODO: This should not be here - it's a presentation issue
- if( method.DeclaringType != method.ReflectedType)
- this.Name = method.DeclaringType.Name + "." + method.Name;
-
             // Needed to give proper fullname to test in a parameterized fixture.
             // Without this, the arguments to the fixture are not included.
             string prefix = method.ReflectedType.FullName;