From 0b069fe5cd309b3426403ef2a38d0eab694ea236 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Mon, 15 Feb 2016 14:16:36 +0100 Subject: [PATCH] Fix VCard extended_test --- .../tests_output/localhost/roster/client.dat | 9 ++++++ .../localhost/roster/responder.dat | 9 ++++++ tests/tests_output/localhost/vcard/client.dat | 28 +++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 tests/tests_output/localhost/roster/client.dat create mode 100644 tests/tests_output/localhost/roster/responder.dat create mode 100644 tests/tests_output/localhost/vcard/client.dat diff --git a/tests/tests_output/localhost/roster/client.dat b/tests/tests_output/localhost/roster/client.dat new file mode 100644 index 00000000..d295561f --- /dev/null +++ b/tests/tests_output/localhost/roster/client.dat @@ -0,0 +1,9 @@ +return { + ["responder@localhost"] = { + ["groups"] = { + ["Buddies"] = true; + }; + ["name"] = "responder"; + ["subscription"] = "both"; + }; +}; diff --git a/tests/tests_output/localhost/roster/responder.dat b/tests/tests_output/localhost/roster/responder.dat new file mode 100644 index 00000000..5d17c779 --- /dev/null +++ b/tests/tests_output/localhost/roster/responder.dat @@ -0,0 +1,9 @@ +return { + ["client@localhost"] = { + ["groups"] = { + ["Buddies"] = true; + }; + ["name"] = "client"; + ["subscription"] = "both"; + }; +}; diff --git a/tests/tests_output/localhost/vcard/client.dat b/tests/tests_output/localhost/vcard/client.dat new file mode 100644 index 00000000..a5b37957 --- /dev/null +++ b/tests/tests_output/localhost/vcard/client.dat @@ -0,0 +1,28 @@ +return { + [1] = { + [1] = { + [1] = "image/png"; + ["attr"] = { + ["xmlns"] = "vcard-temp"; + }; + ["name"] = "TYPE"; + }; + [2] = { + [1] = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQAAAAAAAAAKSURBVHicY2AAAAACAAEAAAAASUVORA=="; + ["attr"] = { + ["xmlns"] = "vcard-temp"; + }; + ["name"] = "BINVAL"; + }; + ["name"] = "PHOTO"; + ["attr"] = { + ["xmlns"] = "vcard-temp"; + }; + }; + ["attr"] = { + ["version"] = "2.0"; + ["prodid"] = "-//HandGen//NONSGML vGen v1.0//EN"; + ["xmlns"] = "vcard-temp"; + }; + ["name"] = "vCard"; +};