summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-04 19:46:02 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2019-10-08 14:44:00 +0200
commit72e29175385c332fe7bd03eefb9f21146b2525a1 (patch)
tree0adf38b13aac8f4523794ae2e8887056628a0397
parent4e3c7a7b98eb9181ce2258c12d35db387d9f70ab (diff)
csharp: Do not use the System Bus for testing.devs/stefan/ci-mono-bindings
To allow the C# bindings running on the CI Differential Revision: https://phab.enlightenment.org/D10283
-rw-r--r--src/tests/efl_mono/Eldbus.cs22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/tests/efl_mono/Eldbus.cs b/src/tests/efl_mono/Eldbus.cs
index 820c898..0c63a86 100644
--- a/src/tests/efl_mono/Eldbus.cs
+++ b/src/tests/efl_mono/Eldbus.cs
@@ -54,12 +54,6 @@ class TestEldbusConnection
54 conn.Dispose(); 54 conn.Dispose();
55 } 55 }
56 56
57 public static void eldbus_connection_new_system()
58 {
59 var conn = new eldbus.Connection(eldbus.Connection.Type.System);
60 conn.Dispose();
61 }
62
63 public static void eldbus_connection_new_starter() 57 public static void eldbus_connection_new_starter()
64 { 58 {
65 var conn = new eldbus.Connection(eldbus.Connection.Type.Starter); 59 var conn = new eldbus.Connection(eldbus.Connection.Type.Starter);
@@ -72,12 +66,6 @@ class TestEldbusConnection
72 conn.Dispose(); 66 conn.Dispose();
73 } 67 }
74 68
75 public static void eldbus_connection_new_private_system()
76 {
77 var conn = eldbus.Connection.GetPrivate(eldbus.Connection.Type.System);
78 conn.Dispose();
79 }
80
81 public static void eldbus_connection_new_private_starter() 69 public static void eldbus_connection_new_private_starter()
82 { 70 {
83 var conn = eldbus.Connection.GetPrivate(eldbus.Connection.Type.Starter); 71 var conn = eldbus.Connection.GetPrivate(eldbus.Connection.Type.Starter);
@@ -96,7 +84,7 @@ class TestEldbusObject
96{ 84{
97 public static void utc_eldbus_object_send_info_get_p() 85 public static void utc_eldbus_object_send_info_get_p()
98 { 86 {
99 var conn = new eldbus.Connection(eldbus.Connection.Type.System); 87 var conn = new eldbus.Connection(eldbus.Connection.Type.Session);
100 88
101 var obj = new eldbus.Object(conn, DBusBus, DBusPath); 89 var obj = new eldbus.Object(conn, DBusBus, DBusPath);
102 90
@@ -176,7 +164,7 @@ class TestEldbusObject
176 164
177 public static void utc_eldbus_introspect_p() 165 public static void utc_eldbus_introspect_p()
178 { 166 {
179 var conn = new eldbus.Connection(eldbus.Connection.Type.System); 167 var conn = new eldbus.Connection(eldbus.Connection.Type.Session);
180 168
181 var obj = new eldbus.Object(conn, DBusBus, DBusPath); 169 var obj = new eldbus.Object(conn, DBusBus, DBusPath);
182 170
@@ -244,7 +232,7 @@ class TestEldbusMessage
244 { 232 {
245 isSuccess = false; 233 isSuccess = false;
246 234
247 var conn = new eldbus.Connection(eldbus.Connection.Type.System); 235 var conn = new eldbus.Connection(eldbus.Connection.Type.Session);
248 236
249 eldbus.Pending pending = conn.ActivatableList(messageCb); 237 eldbus.Pending pending = conn.ActivatableList(messageCb);
250 238
@@ -316,7 +304,7 @@ class TestEldbusMessage
316 { 304 {
317 isSuccess = false; 305 isSuccess = false;
318 306
319 var conn = new eldbus.Connection(eldbus.Connection.Type.System); 307 var conn = new eldbus.Connection(eldbus.Connection.Type.Session);
320 308
321 string methodName = "GetId"; 309 string methodName = "GetId";
322 eldbus.Message msg = eldbus.Message.NewMethodCall(DBusBus, DBusPath, DBusInterface, methodName); 310 eldbus.Message msg = eldbus.Message.NewMethodCall(DBusBus, DBusPath, DBusInterface, methodName);
@@ -381,7 +369,7 @@ class TestEldbusMessage
381 369
382 public static void utc_eldbus_message_ref_unref_p() 370 public static void utc_eldbus_message_ref_unref_p()
383 { 371 {
384 var conn = new eldbus.Connection(eldbus.Connection.Type.System); 372 var conn = new eldbus.Connection(eldbus.Connection.Type.Session);
385 373
386 eldbus.Message msg = eldbus.Message.NewMethodCall(DBusBus, DBusPath, DBusInterface, "GetId"); 374 eldbus.Message msg = eldbus.Message.NewMethodCall(DBusBus, DBusPath, DBusInterface, "GetId");
387 375