summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Caching/TAPCCache.php2
-rw-r--r--framework/Caching/TMemCache.php2
-rw-r--r--framework/Caching/TSqliteCache.php2
-rw-r--r--tests/UnitTests/framework/Data/utAPCCache.php6
-rw-r--r--tests/UnitTests/framework/Data/utDateTimeSimpleFormatter.php10
-rw-r--r--tests/UnitTests/framework/Data/utMemCache.php2
-rw-r--r--tests/UnitTests/framework/Data/utSqliteCache.php2
7 files changed, 13 insertions, 13 deletions
diff --git a/framework/Caching/TAPCCache.php b/framework/Caching/TAPCCache.php
index da493f63..0ed1d433 100644
--- a/framework/Caching/TAPCCache.php
+++ b/framework/Caching/TAPCCache.php
@@ -35,7 +35,7 @@
* cache module. It can be accessed via {@link TApplication::getCache()}.
*
* TAPCCache may be configured in application configuration file as follows
- * <module id="cache" class="System.Data.TAPCCache" />
+ * <module id="cache" class="System.Caching.TAPCCache" />
*
* @author Alban Hanry <compte_messagerie@hotmail.com>
* @version $Revision: $ $Date: $
diff --git a/framework/Caching/TMemCache.php b/framework/Caching/TMemCache.php
index bcd49036..f3b3e0cf 100644
--- a/framework/Caching/TMemCache.php
+++ b/framework/Caching/TMemCache.php
@@ -53,7 +53,7 @@
* cache module. It can be accessed via {@link TApplication::getCache()}.
*
* TMemCache may be configured in application configuration file as follows
- * <module id="cache" type="System.Data.TMemCache" Host="localhost" Port=11211 />
+ * <module id="cache" type="System.Caching.TMemCache" Host="localhost" Port=11211 />
* where {@link getHost Host} and {@link getPort Port} are configurable properties
* of TMemCache.
*
diff --git a/framework/Caching/TSqliteCache.php b/framework/Caching/TSqliteCache.php
index 13aac8ca..92cc46a6 100644
--- a/framework/Caching/TSqliteCache.php
+++ b/framework/Caching/TSqliteCache.php
@@ -56,7 +56,7 @@
* cache module. It can be accessed via {@link TApplication::getCache()}.
*
* TMemCache may be configured in application configuration file as follows
- * <module id="cache" type="System.Data.TSqliteCache" DbFile="Application.Data.site" />
+ * <module id="cache" type="System.Caching.TSqliteCache" DbFile="Application.Data.site" />
* where {@link getDbFile DbFile} is a property specifying the location of the
* SQLite DB file (in the namespace format).
*
diff --git a/tests/UnitTests/framework/Data/utAPCCache.php b/tests/UnitTests/framework/Data/utAPCCache.php
index b9e0f3e8..48458c27 100644
--- a/tests/UnitTests/framework/Data/utAPCCache.php
+++ b/tests/UnitTests/framework/Data/utAPCCache.php
@@ -2,11 +2,11 @@
require_once(dirname(__FILE__).'/../common.php');
require_once(dirname(__FILE__).'/CacheTestCase.php');
-Prado::using('System.Data.TAPCCache');
+Prado::using('System.Caching.TAPCCache');
class utAPCCache extends CacheTestCase
{
-
+
public function testInit()
{
if(!extension_loaded('apc'))
@@ -42,4 +42,4 @@ class utAPCCache extends CacheTestCase
}
}
-?> \ No newline at end of file
+?> \ No newline at end of file
diff --git a/tests/UnitTests/framework/Data/utDateTimeSimpleFormatter.php b/tests/UnitTests/framework/Data/utDateTimeSimpleFormatter.php
index b186e3ff..9c505481 100644
--- a/tests/UnitTests/framework/Data/utDateTimeSimpleFormatter.php
+++ b/tests/UnitTests/framework/Data/utDateTimeSimpleFormatter.php
@@ -3,7 +3,7 @@
// NOTE: This file must be saved with charset GB2312
require_once(dirname(__FILE__).'/../common.php');
-Prado::using('System.Data.TDateTimeSimpleFormatter');
+Prado::using('System.Util.TDateTimeSimpleFormatter');
class utDateTimeSimpleFormatter extends UnitTestCase
{
@@ -12,7 +12,7 @@ class utDateTimeSimpleFormatter extends UnitTestCase
$time = mktime(0,0,0,12,30,2005);
$pattern = "dd-MM-yyyy";
$expect = '30-12-2005';
-
+
$formatter = new TDateTimeSimpleFormatter($pattern);
$this->assertEqual($expect, $formatter->format($time));
@@ -31,13 +31,13 @@ class utDateTimeSimpleFormatter extends UnitTestCase
$pattern = "yyyy年MM月dd日";
$expect = "2005年05月06日";
-
+
$formatter = new TDateTimeSimpleFormatter($pattern, 'GB2312');
$this->assertEqual($expect, $formatter->format($time));
$pattern = "MM/dd/yyyy";
$expect = "05/06/2005";
-
+
$formatter = new TDateTimeSimpleFormatter($pattern, 'UTF-8');
$this->assertEqual($expect, $formatter->format($time));
@@ -54,7 +54,7 @@ class utDateTimeSimpleFormatter extends UnitTestCase
$pattern = "dd-MM-yy";
$value= "06-05-05";
-
+
$formatter = new TDateTimeSimpleFormatter($pattern);
$this->assertEqual($expect, $formatter->parse($value));
diff --git a/tests/UnitTests/framework/Data/utMemCache.php b/tests/UnitTests/framework/Data/utMemCache.php
index 26981f63..cbe9bdad 100644
--- a/tests/UnitTests/framework/Data/utMemCache.php
+++ b/tests/UnitTests/framework/Data/utMemCache.php
@@ -2,7 +2,7 @@
require_once(dirname(__FILE__).'/../common.php');
require_once(dirname(__FILE__).'/CacheTestCase.php');
-Prado::using('System.Data.TMemCache');
+Prado::using('System.Caching.TMemCache');
class utMemCache extends UnitTestCase
{
diff --git a/tests/UnitTests/framework/Data/utSqliteCache.php b/tests/UnitTests/framework/Data/utSqliteCache.php
index 726a5c08..eded351f 100644
--- a/tests/UnitTests/framework/Data/utSqliteCache.php
+++ b/tests/UnitTests/framework/Data/utSqliteCache.php
@@ -2,7 +2,7 @@
require_once(dirname(__FILE__).'/../common.php');
require_once(dirname(__FILE__).'/CacheTestCase.php');
-Prado::using('System.Data.TSqliteCache');
+Prado::using('System.Caching.TSqliteCache');
class utSqliteCache extends CacheTestCase
{