summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-07-30 00:01:36 +0300
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-07-30 00:01:36 +0300
commitbe3efff2bd4d596d8ab09f757056f726e8c22ef1 (patch)
tree21cae8a08d2a1627f1293bd7e24464d3446b673f /tests
parent4a89356638eb2a4d19e89f7d5ad5ce7ba2e4f086 (diff)
downloadgupnp-vala-be3efff2bd4d596d8ab09f757056f726e8c22ef1.tar.gz
gssdp and gupnp API update
Diffstat (limited to 'tests')
-rw-r--r--tests/server-test.vala5
-rw-r--r--tests/test-browser.vala2
-rw-r--r--tests/test-publisher.vala2
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/server-test.vala b/tests/server-test.vala
index afc3eea..2cae2df 100644
--- a/tests/server-test.vala
+++ b/tests/server-test.vala
@@ -29,11 +29,8 @@ public class Test.ServerTest : Object {
print ("Running on port %u\n", ctxt.port);
- /* Host current directory */
- ctxt.host_path (".", "");
-
/* Create root device. Needs description.xml in working directory */
- RootDevice dev = new RootDevice (ctxt, "/description.xml");
+ RootDevice dev = new RootDevice (ctxt, "description.xml", ".");
if (dev == null) {
critical ("Creating root device failed");
return 1;
diff --git a/tests/test-browser.vala b/tests/test-browser.vala
index 10c95c7..ad20a0f 100644
--- a/tests/test-browser.vala
+++ b/tests/test-browser.vala
@@ -23,7 +23,7 @@ public class TestBrowser : ResourceBrowser {
}
public TestBrowser() {
- this.client = new Client (null);
+ this.client = new Client (null, null);
this.target = GSSDP.ALL_RESOURCES;
}
diff --git a/tests/test-publisher.vala b/tests/test-publisher.vala
index 01aa94c..1066d52 100644
--- a/tests/test-publisher.vala
+++ b/tests/test-publisher.vala
@@ -13,7 +13,7 @@ public class TestPublisher : ResourceGroup {
}
public TestPublisher() {
- this.client = new Client (null);
+ this.client = new Client (null, null);
this.resource_type = "upnp:rootdevice";
this.usn = "uuid:1234abcd-12ab-12ab-12ab-1234567abc12" +
"::upnp:rootdevice";