diff options
Diffstat (limited to 'tests/unit/Web/UI/WebControls')
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 |