summaryrefslogtreecommitdiffstats
path: root/mono
diff options
context:
space:
mode:
Diffstat (limited to 'mono')
-rw-r--r--mono/Test.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/mono/Test.cs b/mono/Test.cs
index 028986c9..cb482cb0 100644
--- a/mono/Test.cs
+++ b/mono/Test.cs
@@ -17,12 +17,17 @@ namespace DBus.Test
serverThread.Start();
connection = Bus.GetSessionBus();
- service = Service.Get(connection, "org.freedesktop.Test");
+ service = Service.Get(connection, "org.freedesktop.Test");
+ Thread.Sleep (1000);
TestObject testObject = (TestObject) service.GetObject(typeof(TestObject), "/org/freedesktop/Test/TestObject");
+
+ Console.WriteLine ("Got object [{0}]", testObject);
System.Console.WriteLine(testObject.Test1("Hello"));
+ Console.WriteLine ("Got object [{0}]", testObject);
+
//RunTests(testObject);
return 0;
@@ -49,6 +54,8 @@ namespace DBus.Test
service = new Service(connection, "org.freedesktop.Test");
TestObject testObject = new TestObject();
service.RegisterObject(testObject, "/org/freedesktop/Test/TestObject");
+
+ System.Console.WriteLine("Foo!");
}
public void StartServer()