diff options
author | wei <> | 2006-01-09 06:30:04 +0000 |
---|---|---|
committer | wei <> | 2006-01-09 06:30:04 +0000 |
commit | 5890adb76457a5cee1e2b874eb656b969cceb758 (patch) | |
tree | 5b0545e4c601dd9e47a5101051d913ec408e5e2d /tests/FunctionalTests/protected | |
parent | a2c87c83d3bb8f16049674ddba260f58b698bfb7 (diff) |
Coloured TBrowserLogRoute
Diffstat (limited to 'tests/FunctionalTests/protected')
-rw-r--r-- | tests/FunctionalTests/protected/application.xml | 2 | ||||
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/FunctionalTests/protected/application.xml b/tests/FunctionalTests/protected/application.xml index 3cb6cfd2..ca946653 100644 --- a/tests/FunctionalTests/protected/application.xml +++ b/tests/FunctionalTests/protected/application.xml @@ -13,7 +13,7 @@ </module>
<module id="logger" class="System.Log.TLogRouter">
<route class="TFileLogRoute" />
- <route class="TBrowserLogRoute" />
+ <route class="TBrowserLogRoute" Categories="System.Web.UI.TPage,Uncategorized" />
</module>
</modules>
</application>
\ No newline at end of file diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php index 3456dd40..995b3df0 100644 --- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php +++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php @@ -2,7 +2,10 @@ class RequiredFieldValidator extends TPage
{
-
+ function onLoad($param)
+ {
+ Prado::log("Hello", TLogger::WARNING);
+ }
}
class RequiredFieldTestCase extends SeleniumTestCase
|