mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
2007-05-19 Robert Jordan <[email protected]> * IpcChannelTest.cs: Add test for bug #81653. In .: 2007-05-19 Robert Jordan <[email protected]> * System.Runtime.Remoting_test.dll.sources: add IpcChannelTest.cs * Add System.Runtime.Remoting.vmwcsproj and System.Runtime.Remoting.sln * AssemblyInfo.cs: only TARGET_JVM changes svn path=/trunk/mcs/; revision=77699
34 lines
617 B
C#
34 lines
617 B
C#
//
|
|
// MonoTests.Remoting.IpcChannelTests.cs
|
|
//
|
|
// Authors:
|
|
// Robert Jordan ([email protected])
|
|
//
|
|
|
|
#if NET_2_0
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Runtime.Remoting;
|
|
using System.Runtime.Remoting.Channels;
|
|
using System.Runtime.Remoting.Channels.Ipc;
|
|
using NUnit.Framework;
|
|
|
|
namespace MonoTests.Remoting
|
|
{
|
|
[TestFixture]
|
|
public class IpcChannelTest
|
|
{
|
|
[Test]
|
|
public void Bug81653 ()
|
|
{
|
|
IpcClientChannel c = new IpcClientChannel ();
|
|
ChannelDataStore cd = new ChannelDataStore (new string[] { "foo" });
|
|
string objectUri;
|
|
c.CreateMessageSink (null, cd, out objectUri);
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|