summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI/WebControls
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-10 06:42:01 +0200
committerDavid <ottodavid@gmx.net>2015-08-10 17:22:33 +0200
commit2bf1a517f3edc1bd43b8e3340f0f6fd31b1ba94a (patch)
tree285d7182be15299d8c0cdac1bd8aa1e397fa69d4 /tests/unit/Web/UI/WebControls
parent92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 (diff)
fix unit tests
Diffstat (limited to 'tests/unit/Web/UI/WebControls')
-rw-r--r--tests/unit/Web/UI/WebControls/TDropDownListTest.php4
-rw-r--r--tests/unit/Web/UI/WebControls/TLabelTest.php4
-rw-r--r--tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php4
-rw-r--r--tests/unit/Web/UI/WebControls/TXmlTransformTest.php7
4 files changed, 13 insertions, 6 deletions
diff --git a/tests/unit/Web/UI/WebControls/TDropDownListTest.php b/tests/unit/Web/UI/WebControls/TDropDownListTest.php
index d27ebb9c..3331aee6 100644
--- a/tests/unit/Web/UI/WebControls/TDropDownListTest.php
+++ b/tests/unit/Web/UI/WebControls/TDropDownListTest.php
@@ -1,7 +1,9 @@
<?php
-Prado::using('System.Web.UI.WebControls.TDropDownList');
+use Prado\Collections\TListItemCollection;
+use Prado\Web\UI\WebControls\TDropDownList;
+
/**
* @package System.Web.UI.WebControls
diff --git a/tests/unit/Web/UI/WebControls/TLabelTest.php b/tests/unit/Web/UI/WebControls/TLabelTest.php
index 88d8aec8..b0e8e7a6 100644
--- a/tests/unit/Web/UI/WebControls/TLabelTest.php
+++ b/tests/unit/Web/UI/WebControls/TLabelTest.php
@@ -1,8 +1,8 @@
<?php
-Prado::using('System.Web.UI.WebControls.TLabel');
-Prado::using('System.Web.UI.THtmlWriter');
+use Prado\Web\UI\WebControls\TLabel;
+
/**
* @package System.Web.UI.WebControls
diff --git a/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php
index 43ed2c9d..86516d90 100644
--- a/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php
+++ b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php
@@ -1,7 +1,9 @@
<?php
-Prado::using('System.Web.UI.WebControls.TRequiredFieldValidator');
+use Prado\Exceptions\TConfigurationException;
+use Prado\Web\UI\WebControls\TRequiredFieldValidator;
+
/**
* @package System.Web.UI.WebControls
diff --git a/tests/unit/Web/UI/WebControls/TXmlTransformTest.php b/tests/unit/Web/UI/WebControls/TXmlTransformTest.php
index f93e9897..c8b8264c 100644
--- a/tests/unit/Web/UI/WebControls/TXmlTransformTest.php
+++ b/tests/unit/Web/UI/WebControls/TXmlTransformTest.php
@@ -1,8 +1,11 @@
<?php
-Prado::using('System.Web.UI.WebControls.TXmlTransform');
-Prado::using('System.Web.UI.THtmlWriter');
+use Prado\IO\TTextWriter;
+use Prado\Prado;
+use Prado\Web\UI\THtmlWriter;
+use Prado\Web\UI\WebControls\TXmlTransform;
+
/**
* @package System.Web.UI.WebControls