aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/tests/stanza.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-06-28 13:00:17 +0200
committerMarvin W <git@larma.de>2020-06-28 13:00:17 +0200
commit2824dedd22a60f6598d06aaa6e6d6e2424cbfa01 (patch)
tree5682cee8a1e9aaadefef82e89cced4fe9d5ea2aa /xmpp-vala/tests/stanza.vala
parentc16fbdd19f3962f7dc2cfc6f7623448000a49bc5 (diff)
downloaddino-2824dedd22a60f6598d06aaa6e6d6e2424cbfa01.tar.gz
dino-2824dedd22a60f6598d06aaa6e6d6e2424cbfa01.zip
Change test code for older vala compat
Diffstat (limited to 'xmpp-vala/tests/stanza.vala')
-rw-r--r--xmpp-vala/tests/stanza.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmpp-vala/tests/stanza.vala b/xmpp-vala/tests/stanza.vala
index 17cd8317..b1fce46d 100644
--- a/xmpp-vala/tests/stanza.vala
+++ b/xmpp-vala/tests/stanza.vala
@@ -9,7 +9,7 @@ class StanzaTest : Gee.TestCase {
add_async_test("ack_stream", (cb) => { test_ack_stream.begin(cb); });
}
- private async void test_node_one(Gee.TestCase.FinishCallback cb) {
+ private async void test_node_one(Gee.TestFinishedCallback cb) {
var node1 = new StanzaNode.build("test", "ns1_uri")
.add_self_xmlns()
.put_attribute("ns2", "ns2_uri", XMLNS_URI)
@@ -26,7 +26,7 @@ class StanzaTest : Gee.TestCase {
cb();
}
- private async void test_typical_stream(Gee.TestCase.FinishCallback cb) {
+ private async void test_typical_stream(Gee.TestFinishedCallback cb) {
var stream = """
<?xml version='1.0' encoding='UTF-8'?>
<stream:stream
@@ -72,7 +72,7 @@ class StanzaTest : Gee.TestCase {
}
}
- private async void test_ack_stream(Gee.TestCase.FinishCallback cb) {
+ private async void test_ack_stream(Gee.TestFinishedCallback cb) {
var stream = """
<?xml version='1.0' encoding='UTF-8'?>
<stream:stream