summaryrefslogtreecommitdiff
path: root/modules/tag/tests
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-24 23:18:32 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-24 23:18:32 +0000
commitf81a9879be6fd50fd26d9dd2bc1c90e87763f7a8 (patch)
tree9cebf5ba21539d11dc74ff07d9299031cf64509b /modules/tag/tests
parent75d9a829d794c727ff526deb07ad272faac4380d (diff)
Moved the creation of tags into the tag helper library. Added a count field to the tags table. Bharat, I know you said not to worry about caching, but I want to explore what are some of the issues with keeping track of the counts as we go. (i.e. is it a pain in the a__)
Diffstat (limited to 'modules/tag/tests')
-rw-r--r--modules/tag/tests/Tag_Test.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/tag/tests/Tag_Test.php b/modules/tag/tests/Tag_Test.php
new file mode 100644
index 00000000..5286a2fa
--- /dev/null
+++ b/modules/tag/tests/Tag_Test.php
@@ -0,0 +1,22 @@
+<?php defined("SYSPATH") or die("No direct script access.");
+/**
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2008 Bharat Mediratta
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+class Tag_Test extends Unit_Test_Case {
+ // @todo put some tests here
+} \ No newline at end of file