Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2013-11-12 00:19:21 +0400
committerAlan McGovern <alan@xamarin.com>2013-11-12 00:21:01 +0400
commitd7e684423ec8e7a6aaf9ed0bf585b09abb5120fb (patch)
treec36896c5fdcb2b89daeb7f58f8cca4d988c7a506
parent1fe9c1e7f5675a1cbdd9d8cc8c9b93df070501b6 (diff)
Revert this hack to the name filter.
The actul bug was that Xamarin Studio was incorrectly specifying the test name. This has been fixed now.
-rwxr-xr-xsrc/framework/Internal/Filters/SimpleNameFilter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/Internal/Filters/SimpleNameFilter.cs b/src/framework/Internal/Filters/SimpleNameFilter.cs
index 2efb1cd..6deecf5 100755
--- a/src/framework/Internal/Filters/SimpleNameFilter.cs
+++ b/src/framework/Internal/Filters/SimpleNameFilter.cs
@@ -84,7 +84,7 @@ namespace NUnit.Framework.Internal.Filters
public override bool Match( ITest test )
{
foreach (var name in names)
- if (name == test.FullName || test.FullName.StartsWith(name))
+ if (name == test.FullName)
return true;
return false;
}