[Pkg-owncloud-commits] [php-sabre-vobject] 240/341: Add test for Section 6.7.4 from RFC6350.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:52 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 859190d31afd8ed99714f95825bb977943df6b70
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Tue Jan 27 15:50:12 2015 +0100
Add test for Section 6.7.4 from RFC6350.
---
tests/VObject/Parser/XmlTest.php | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/tests/VObject/Parser/XmlTest.php b/tests/VObject/Parser/XmlTest.php
index f62ddee..13a5cec 100644
--- a/tests/VObject/Parser/XmlTest.php
+++ b/tests/VObject/Parser/XmlTest.php
@@ -1954,6 +1954,28 @@ XML
}
+ function testRFC6350Section6_7_4() {
+
+ $this->assertXMLReflexivelyEqualsToMimeDir(
+<<<XML
+<?xml version="1.0" encoding="UTF-8"?>
+<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
+ <vcard>
+ <rev>
+ <timestamp>19951031T222710Z</timestamp>
+ </rev>
+ </vcard>
+</vcards>
+XML
+,
+ 'BEGIN:VCARD' . CRLF .
+ 'VERSION:4.0' . CRLF .
+ 'REV:19951031T222710Z' . CRLF .
+ 'END:VCARD' . CRLF
+ );
+
+ }
+
/**
* Property: SOUND.
*/
--
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