From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 28 Jul 2010 11:52:48 +0200 Subject: update to MediaWiki 1.16.0 --- t/inc/Xml.t | 56 -------------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 t/inc/Xml.t (limited to 't/inc/Xml.t') diff --git a/t/inc/Xml.t b/t/inc/Xml.t deleted file mode 100644 index b7cef881..00000000 --- a/t/inc/Xml.t +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env php -', - 'Opening element with no attributes' -); - -cmp_ok( - Xml::element( 'element', null, '' ), - '==', - '', - 'Terminated empty element' -); - -cmp_ok( - Xml::element( 'element', null, 'hello you & you' ), - '==', - 'hello <there> you & you', - 'Element with no attributes and content that needs escaping' -); - -cmp_ok( - Xml::element( 'element', array( 'key' => 'value', '<>' => '<>' ), null ), - '==', - '="<>">', - 'Element attributes, keys are not escaped' -); - -# -# open/close element -# - -cmp_ok( - Xml::openElement( 'element', array( 'k' => 'v' ) ), - '==', - '', - 'openElement() shortcut' -); - -cmp_ok( Xml::closeElement( 'element' ), '==', '', 'closeElement() shortcut' ); - -/* vim: set filetype=php: */ -- cgit v1.2.2