summaryrefslogtreecommitdiff
path: root/tests/unit/Caching
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Caching')
-rw-r--r--tests/unit/Caching/TAPCCacheTest.php6
-rw-r--r--tests/unit/Caching/TDirectoryCacheDependencyTest.php2
-rw-r--r--tests/unit/Caching/TFileCacheDependencyTest.php1
-rw-r--r--tests/unit/Caching/TMemCacheTest.php4
-rw-r--r--tests/unit/Caching/TSqliteCacheTest.php4
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