From 19013c175a4092d17d1ae7e43dd1c77f0aaccead Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Tue, 2 Nov 2010 18:33:35 +0100
Subject: [PATCH] Initial Horde_Nonce skeleton.
---
framework/Nonce/lib/Horde/Nonce.php | 1 +
framework/Nonce/test/Horde/Nonce/AllTests.php | 50 +++++++++++++++++++++++++++
framework/Nonce/test/Horde/Nonce/Autoload.php | 23 ++++++++++++
framework/Nonce/test/Horde/Nonce/phpunit.xml | 8 +++++
4 files changed, 82 insertions(+)
create mode 100644 framework/Nonce/lib/Horde/Nonce.php
create mode 100644 framework/Nonce/test/Horde/Nonce/AllTests.php
create mode 100644 framework/Nonce/test/Horde/Nonce/Autoload.php
create mode 100644 framework/Nonce/test/Horde/Nonce/phpunit.xml
diff --git a/framework/Nonce/lib/Horde/Nonce.php b/framework/Nonce/lib/Horde/Nonce.php
new file mode 100644
index 000000000..b3d9bbc7f
--- /dev/null
+++ b/framework/Nonce/lib/Horde/Nonce.php
@@ -0,0 +1 @@
+
+ * @license http://www.fsf.org/copyleft/lgpl.html LGPL
+ * @link http://pear.horde.org/index.php?package=Nonce
+ */
+
+/**
+ * Define the main method
+ */
+if (!defined('PHPUnit_MAIN_METHOD')) {
+ define('PHPUnit_MAIN_METHOD', 'Horde_Nonce_AllTests::main');
+}
+
+/**
+ * Prepare the test setup.
+ */
+require_once 'Horde/Test/AllTests.php';
+
+/**
+ * Combine the tests for this package.
+ *
+ * Copyright 2007-2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (LGPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
+ *
+ * @category Horde
+ * @package Nonce
+ * @subpackage UnitTests
+ * @author Gunnar Wrobel