1
0
mirror of https://github.com/gryf/tagbar.git synced 2026-02-08 17:35:48 +01:00

Add tests to repository

This commit is contained in:
Jan Larres
2013-03-28 00:16:03 +13:00
parent b6f47e4020
commit db9404ca1a
128 changed files with 54624 additions and 0 deletions

23
tests/php/gda-clean.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
/* Configure session cache */
session_cache_limiter('nocache');
session_start();
include_once "gda-utils.php";
include_once "gda-config.php";
header('Content-type: text/plain; charset=UTF-8');
$cmdfile = get_command_filename (session_id ());
$replyfile = get_reply_filename (session_id ());
@unlink ($cmdfile);
@unlink ($replyfile);
/* all cleaned */
$reply = new SimpleXMLElement("<reply></reply>");
$reply->addChild ("status", "OK");
echo gda_add_hash ($init_shared, $reply->asXml());
session_destroy ();
?>