summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Web/UI')
-rw-r--r--tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php3
-rw-r--r--tests/unit/Web/UI/TClientScriptManagerTest.php1
-rw-r--r--tests/unit/Web/UI/TControlAdapterTest.php1
-rw-r--r--tests/unit/Web/UI/TControlTest.php1
-rw-r--r--tests/unit/Web/UI/TFormTest.php1
-rw-r--r--tests/unit/Web/UI/THtmlWriterTest.php6
-rw-r--r--tests/unit/Web/UI/TPageStatePersisterTest.php1
-rw-r--r--tests/unit/Web/UI/TPageTest.php1
-rw-r--r--tests/unit/Web/UI/TSessionPageStatePersisterTest.php1
-rw-r--r--tests/unit/Web/UI/TTemplateControlTest.php1
-rw-r--r--tests/unit/Web/UI/TTemplateManagerTest.php1
-rw-r--r--tests/unit/Web/UI/TTemplateTest.php1
-rw-r--r--tests/unit/Web/UI/TThemeManagerTest.php1
-rw-r--r--tests/unit/Web/UI/TThemeTest.php1
-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
18 files changed, 20 insertions, 20 deletions
diff --git a/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php b/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php
index 6e80bd12..5a8e12c9 100644
--- a/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php
+++ b/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php
@@ -1,7 +1,8 @@
<?php
-Prado::using('System.Web.UI.ActiveControls.TActiveHiddenField');
+use Prado\Web\UI\ActiveControls\TActiveHiddenField;
+
/**
* @package System.Web.UI.ActiveControls
diff --git a/tests/unit/Web/UI/TClientScriptManagerTest.php b/tests/unit/Web/UI/TClientScriptManagerTest.php
index efce0009..b3b02b7c 100644
--- a/tests/unit/Web/UI/TClientScriptManagerTest.php
+++ b/tests/unit/Web/UI/TClientScriptManagerTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TClientScriptManager');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TControlAdapterTest.php b/tests/unit/Web/UI/TControlAdapterTest.php
index ff687cc8..be8ac797 100644
--- a/tests/unit/Web/UI/TControlAdapterTest.php
+++ b/tests/unit/Web/UI/TControlAdapterTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TControlAdapter');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TControlTest.php b/tests/unit/Web/UI/TControlTest.php
index b6741167..5fe4a33a 100644
--- a/tests/unit/Web/UI/TControlTest.php
+++ b/tests/unit/Web/UI/TControlTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TControl');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TFormTest.php b/tests/unit/Web/UI/TFormTest.php
index 7fb6d2b7..c90cec76 100644
--- a/tests/unit/Web/UI/TFormTest.php
+++ b/tests/unit/Web/UI/TFormTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TForm');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/THtmlWriterTest.php b/tests/unit/Web/UI/THtmlWriterTest.php
index cf3b27e3..e99238ad 100644
--- a/tests/unit/Web/UI/THtmlWriterTest.php
+++ b/tests/unit/Web/UI/THtmlWriterTest.php
@@ -1,7 +1,11 @@
<?php
-Prado::using('System.Web.UI.THtmlWriter');
+use Prado\IO\ITextWriter;
+use Prado\TComponent;
+use Prado\Web\THttpUtility;
+use Prado\Web\UI\THtmlWriter;
+
/**
* Implement a writer that flush the content to a variable, to simulate a real flush
diff --git a/tests/unit/Web/UI/TPageStatePersisterTest.php b/tests/unit/Web/UI/TPageStatePersisterTest.php
index 8ee1cfc9..f70dd0cc 100644
--- a/tests/unit/Web/UI/TPageStatePersisterTest.php
+++ b/tests/unit/Web/UI/TPageStatePersisterTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TPageStatePersister');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TPageTest.php b/tests/unit/Web/UI/TPageTest.php
index c1593816..b30a7762 100644
--- a/tests/unit/Web/UI/TPageTest.php
+++ b/tests/unit/Web/UI/TPageTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TPage');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TSessionPageStatePersisterTest.php b/tests/unit/Web/UI/TSessionPageStatePersisterTest.php
index 9153ad42..6e5d0ab0 100644
--- a/tests/unit/Web/UI/TSessionPageStatePersisterTest.php
+++ b/tests/unit/Web/UI/TSessionPageStatePersisterTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TSessionPageStatePersister');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TTemplateControlTest.php b/tests/unit/Web/UI/TTemplateControlTest.php
index 7276a2b0..6d377882 100644
--- a/tests/unit/Web/UI/TTemplateControlTest.php
+++ b/tests/unit/Web/UI/TTemplateControlTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TTemplateControl');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TTemplateManagerTest.php b/tests/unit/Web/UI/TTemplateManagerTest.php
index dfe452bf..46edbb56 100644
--- a/tests/unit/Web/UI/TTemplateManagerTest.php
+++ b/tests/unit/Web/UI/TTemplateManagerTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TTemplateManager');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TTemplateTest.php b/tests/unit/Web/UI/TTemplateTest.php
index 2d802094..600ecebc 100644
--- a/tests/unit/Web/UI/TTemplateTest.php
+++ b/tests/unit/Web/UI/TTemplateTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TTemplateManager');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TThemeManagerTest.php b/tests/unit/Web/UI/TThemeManagerTest.php
index 028b222a..ccba749c 100644
--- a/tests/unit/Web/UI/TThemeManagerTest.php
+++ b/tests/unit/Web/UI/TThemeManagerTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TThemeManager');
/**
* @package System.Web.UI
diff --git a/tests/unit/Web/UI/TThemeTest.php b/tests/unit/Web/UI/TThemeTest.php
index aeeeee65..4cf7d202 100644
--- a/tests/unit/Web/UI/TThemeTest.php
+++ b/tests/unit/Web/UI/TThemeTest.php
@@ -1,7 +1,6 @@
<?php
-Prado::using('System.Web.UI.TThemeManager');
/**
* @package System.Web.UI
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