Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7c88762b50
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.446 kB
using NUnit.Framework;
using ObjC2;
using System;
using System.Runtime.InteropServices;
namespace TestObjC2 {
[TestFixture]
public class InvokeTests : ObjC2.Object {
private string InstanceString;
[Test]
public void InvokeRoundTrip () {
this.Call ("InvokeSetInstanceString");
Assert.AreEqual (InstanceString, "AndForgetIt");
}
[Export]
public void InvokeSetInstanceString () {
InstanceString = "AndForgetIt";
}
}
}
Jump to Line
Something went wrong with that request. Please try again.