[Pkg-owncloud-commits] [php-sabre-vobject] 200/341: Support first kind of extensibility.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit 47df800b67e07e62f9dc7547a6fc07102a682455
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Mon Jan 26 14:17:29 2015 +0100
Support first kind of extensibility.
---
tests/VObject/Parser/XmlTest.php | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/tests/VObject/Parser/XmlTest.php b/tests/VObject/Parser/XmlTest.php
index 6808b27..44a5baa 100644
--- a/tests/VObject/Parser/XmlTest.php
+++ b/tests/VObject/Parser/XmlTest.php
@@ -1213,6 +1213,33 @@ XML
}
+ function testRFC6351Section5_1_NoNamespace() {
+
+ $this->assertXMLEqualsToMimeDir(
+<<<XML
+<?xml version="1.0" encoding="UTF-8"?>
+<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
+ <vcard>
+ <x-my-prop>
+ <parameters>
+ <pref>
+ <integer>1</integer>
+ </pref>
+ </parameters>
+ <text>value goes here</text>
+ </x-my-prop>
+ </vcard>
+</vcards>
+XML
+,
+ 'BEGIN:VCARD' . CRLF .
+ 'VERSION:4.0' . CRLF .
+ 'X-MY-PROP;PREF=1:value goes here' . CRLF .
+ 'END:VCARD' . CRLF
+ );
+
+ }
+
/**
* Check this equality:
* XML -> object model -> MIME Dir.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list