diff options
author | Marcos Henrich <marcos.henrich@xamarin.com> | 2016-08-01 12:27:37 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-10-29 15:09:33 +0300 |
commit | 863dc73d1984175cb52734e1cb755c9d57de53bd (patch) | |
tree | 064bd05b59629fd58d317b6853334de013607b4e /mcs/class/System.Runtime.Remoting | |
parent | 01c9543e084d1196a051c4a980b255b0f8b399d5 (diff) |
[bcl] Add NUnitHelper.cs with API not in nunit-lite
NUnitHelper.cs adds CollectionAssert, FileAssert, StringAssert.
Also adds AssertHelper class with methods that are not part of nunitlite
Assert class.
Diffstat (limited to 'mcs/class/System.Runtime.Remoting')
-rw-r--r-- | mcs/class/System.Runtime.Remoting/System.Runtime.Remoting_test.dll.sources | 1 | ||||
-rw-r--r-- | mcs/class/System.Runtime.Remoting/Test/IpcChannelTest.cs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting_test.dll.sources b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting_test.dll.sources index ff09e03824c..8aae7d9e602 100644 --- a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting_test.dll.sources +++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting_test.dll.sources @@ -1,3 +1,4 @@ +../../test-helpers/NunitHelpers.cs System.Runtime.Remoting.Channels.Tcp/TcpChannelTest.cs ServerObject.cs ContextsTest.cs diff --git a/mcs/class/System.Runtime.Remoting/Test/IpcChannelTest.cs b/mcs/class/System.Runtime.Remoting/Test/IpcChannelTest.cs index 831c69e72b5..45f76791b7c 100644 --- a/mcs/class/System.Runtime.Remoting/Test/IpcChannelTest.cs +++ b/mcs/class/System.Runtime.Remoting/Test/IpcChannelTest.cs @@ -78,7 +78,7 @@ namespace MonoTests.Remoting IpcServerChannel chan = new IpcServerChannel (channelName, portName); string[] uris = chan.GetUrlsForUri ("server.rem"); Assert.IsNotNull (uris); - Assert.Greater (uris.Length, 0); + AssertHelper.Greater (uris.Length, 0); bool found = false; foreach (string s in uris) { @@ -101,7 +101,7 @@ namespace MonoTests.Remoting IpcChannel chan = new IpcChannel (props, null, null); string[] uris = chan.GetUrlsForUri ("server.rem"); Assert.IsNotNull (uris); - Assert.Greater (uris.Length, 0); + AssertHelper.Greater (uris.Length, 0); bool found = false; foreach (string s in uris) { |