diff options
author | David <ottodavid@gmx.net> | 2015-08-10 06:42:01 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-08-10 17:22:33 +0200 |
commit | 2bf1a517f3edc1bd43b8e3340f0f6fd31b1ba94a (patch) | |
tree | 285d7182be15299d8c0cdac1bd8aa1e397fa69d4 /tests/unit/Caching | |
parent | 92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 (diff) |
fix unit tests
Diffstat (limited to 'tests/unit/Caching')
-rw-r--r-- | tests/unit/Caching/TAPCCacheTest.php | 6 | ||||
-rw-r--r-- | tests/unit/Caching/TDirectoryCacheDependencyTest.php | 2 | ||||
-rw-r--r-- | tests/unit/Caching/TFileCacheDependencyTest.php | 1 | ||||
-rw-r--r-- | tests/unit/Caching/TMemCacheTest.php | 4 | ||||
-rw-r--r-- | tests/unit/Caching/TSqliteCacheTest.php | 4 |
5 files changed, 14 insertions, 3 deletions
diff --git a/tests/unit/Caching/TAPCCacheTest.php b/tests/unit/Caching/TAPCCacheTest.php index ccb6ee85..d5ea4f92 100644 --- a/tests/unit/Caching/TAPCCacheTest.php +++ b/tests/unit/Caching/TAPCCacheTest.php @@ -1,6 +1,10 @@ <?php -Prado::using('System.Caching.TAPCCache'); +use Prado\Caching\TAPCCache; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TNotSupportedException; +use Prado\TApplication; + /** * @package System.Caching diff --git a/tests/unit/Caching/TDirectoryCacheDependencyTest.php b/tests/unit/Caching/TDirectoryCacheDependencyTest.php index 10da9b58..7a18004f 100644 --- a/tests/unit/Caching/TDirectoryCacheDependencyTest.php +++ b/tests/unit/Caching/TDirectoryCacheDependencyTest.php @@ -1,4 +1,6 @@ <?php +use Prado\Caching\TDirectoryCacheDependency; +use Prado\Exceptions\TInvalidDataValueException; /** * @package System.Caching diff --git a/tests/unit/Caching/TFileCacheDependencyTest.php b/tests/unit/Caching/TFileCacheDependencyTest.php index 24f2721b..fa6e8965 100644 --- a/tests/unit/Caching/TFileCacheDependencyTest.php +++ b/tests/unit/Caching/TFileCacheDependencyTest.php @@ -1,4 +1,5 @@ <?php +use Prado\Caching\TFileCacheDependency; /** * @package System.Caching diff --git a/tests/unit/Caching/TMemCacheTest.php b/tests/unit/Caching/TMemCacheTest.php index 3d0d651f..a5cafc72 100644 --- a/tests/unit/Caching/TMemCacheTest.php +++ b/tests/unit/Caching/TMemCacheTest.php @@ -1,6 +1,8 @@ <?php -Prado::using('System.Caching.TMemCache'); +use Prado\Caching\TMemCache; +use Prado\TApplication; + /** * @package System.Caching diff --git a/tests/unit/Caching/TSqliteCacheTest.php b/tests/unit/Caching/TSqliteCacheTest.php index b979b0ec..060fcf86 100644 --- a/tests/unit/Caching/TSqliteCacheTest.php +++ b/tests/unit/Caching/TSqliteCacheTest.php @@ -1,6 +1,8 @@ <?php -Prado::using('System.Caching.TSqliteCache'); +use Prado\Caching\TSqliteCache; +use Prado\TApplication; + /** * @package System.Caching |