[Test] Cleaned up how a bunch of tests were ignored
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Sun, 23 Feb 2014 16:54:54 +0000 (17:54 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Sun, 23 Feb 2014 18:44:21 +0000 (19:44 +0100)
commitb0032294da2ddfc86f2ba04fd099331761737cad
tree67533d56e57bdca965f7f15b3ff237ecaa8bb76f
parent06502ec1e902d63bc61df3d0ff8f4b27059cb90f
[Test] Cleaned up how a bunch of tests were ignored

Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
33 files changed:
mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildManagerTest.cs
mcs/class/Mono.Posix/Test/Mono.Unix/ReadlinkTest.cs
mcs/class/System.Core/Test/System.IO.Pipes/PipeSecurityTest.cs
mcs/class/System.Core/Test/System/TimeZoneInfoTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Printing/PageSettingsTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Printing/PrintingServicesUnixTest.cs
mcs/class/System.ServiceModel/Test/System.ServiceModel/NetPeerTcpBindingTest.cs
mcs/class/System.ServiceProcess/Test/System.ServiceProcess/ServiceControllerTest.cs
mcs/class/System/Test/System.Diagnostics/EventLogTest.cs
mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
mcs/class/System/Test/System.IO.Ports/SerialPortTest.cs
mcs/class/System/Test/System.Net.Sockets/SocketTest.cs
mcs/class/System/Test/System.Net/HttpListener2Test.cs
mcs/class/System/Test/System.Net/WebRequestTest.cs
mcs/class/System/Test/System.Security.AccessControl/SemaphoreSecurityTest.cs
mcs/class/corlib/Test/Microsoft.Win32/RegistryKeyTest.cs
mcs/class/corlib/Test/System.Globalization/CompareInfoTest.cs
mcs/class/corlib/Test/System.Globalization/CultureInfoTest.cs
mcs/class/corlib/Test/System.IO/DirectoryInfoTest.cs
mcs/class/corlib/Test/System.IO/DirectoryTest.cs
mcs/class/corlib/Test/System.IO/PathTest.cs
mcs/class/corlib/Test/System.Runtime.CompilerServices/ConditionalWeakTableTest.cs
mcs/class/corlib/Test/System.Runtime.CompilerServices/TaskAwaiterTest.cs
mcs/class/corlib/Test/System.Security.AccessControl/DirectorySecurityTest.cs
mcs/class/corlib/Test/System.Security.AccessControl/EventWaitHandleSecurityTest.cs
mcs/class/corlib/Test/System.Security.AccessControl/FileSecurityTest.cs
mcs/class/corlib/Test/System.Security.AccessControl/MutexSecurityTest.cs
mcs/class/corlib/Test/System.Security.AccessControl/RegistrySecurityTest.cs
mcs/class/corlib/Test/System.Security.Principal/WindowsIdentityTest.cs
mcs/class/corlib/Test/System/ConsoleTest.cs
mcs/class/corlib/Test/System/DateTimeTest.cs
mcs/class/corlib/Test/System/RandomTest.cs
mcs/class/corlib/Test/System/TimeZoneTest.cs