1
0
Commit Graph

214 Commits

Author SHA1 Message Date
Craig R. McClanahan
e462bae3af Add basic tests for Log4J. Still need to add the multi-classloader
scenarios.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138960 13f79535-47bb-0310-9956-ffa450edef68
2003-03-30 05:22:50 +00:00
Craig R. McClanahan
4ed6819dc3 Add test scenarios where two levels of class loader hierarchies are created -
one exactly like the default configuration of Tomcat 4.1 (with c-l placed
inside the webapp) and one where you put c-l in the parent class loader
(in place of commons-logging-api.jar) so webapps do not have to.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138959 13f79535-47bb-0310-9956-ffa450edef68
2003-03-30 02:30:37 +00:00
Craig R. McClanahan
916223fc8d Add a more thorough set of unit tests for using JDK 1.4 logging. Right now,
the tests run when everything is in the system class loader -- need to add
execution wrappers for two-tier class loaders where:

  * commons-logging.jar is in the parent and test execution is in the child

  * commons-logging-api.jar is in the parent and test execution plus
    commons-logging.jar is in the child

to simulate container environments like that you get running inside Tomcat.

Later on, we'll want an analogous set of tests for Log4J.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138958 13f79535-47bb-0310-9956-ffa450edef68
2003-03-29 22:04:54 +00:00
baliuka
21932779c8 Added tests for class loading, no problems detected in "common" use cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138954 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 09:55:07 +00:00
Richard A. Sitze
dfcf03ab41 - Added new LogTest that exercises factory
- log statements now show implementation class
   (helpfull for visual verification that expected logger was found).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138925 13f79535-47bb-0310-9956-ffa450edef68
2002-10-19 17:14:26 +00:00
Sean Sullivan
a3566a19b7 added null parameter log method calls
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138924 13f79535-47bb-0310-9956-ffa450edef68
2002-10-18 04:19:56 +00:00
Richard A. Sitze
03368dd582 Bugzilla Defect 10825 [thanks for the patch & the education!]
Added real text & exceptions to tests.. it's harder to read :-(


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138923 13f79535-47bb-0310-9956-ffa450edef68
2002-10-17 23:00:04 +00:00
Sean Sullivan
8c5d183b40 removed junk methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138922 13f79535-47bb-0310-9956-ffa450edef68
2002-10-11 05:02:59 +00:00
Sean Sullivan
398e84d1b6 added test code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138921 13f79535-47bb-0310-9956-ffa450edef68
2002-10-11 04:53:21 +00:00
Sean Sullivan
3bd953f430 unit test code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138920 13f79535-47bb-0310-9956-ffa450edef68
2002-10-11 04:52:59 +00:00
Robert Burrell Donkin
7d84a88865 Removed AbstractLog and associated test case, removed log level constants from Log interface, added renamed level constants to SimpleLog and fixed SimpleLog configuration bug
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138836 13f79535-47bb-0310-9956-ffa450edef68
2002-01-17 22:55:43 +00:00
Robert Burrell Donkin
5be574e6f0 Log levels test case initial commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138820 13f79535-47bb-0310-9956-ffa450edef68
2002-01-03 18:49:27 +00:00
Robert Burrell Donkin
dd4e6015c3 Initial commit of log implementation used for testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138819 13f79535-47bb-0310-9956-ffa450edef68
2002-01-03 18:48:41 +00:00
Robert Burrell Donkin
80e21a7d1d Logging test suite initial commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138818 13f79535-47bb-0310-9956-ffa450edef68
2002-01-03 18:47:09 +00:00