Gary Gregory
66aa7aacbe
Use final.
2020-11-20 22:12:48 -05:00
Gary Gregory
45f1d58bee
Remove trailing whitespace.
2020-06-17 11:11:30 -04:00
Gary Gregory
7c70d1a180
Standardize on American English spelling of 'behavior'.
2020-03-30 15:07:28 -04:00
Thomas Neidhart
921e21bf9e
[LOGGING-37] Add testcase when calling Thread.getCurrentThread().getContextClassLoader() results in a SecurityException.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1606029 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 11:10:16 +00:00
Thomas Neidhart
5b215c911a
[LOGGING-156] Fix SecurityAllowedTestCase when run with OpenJDK 1.7. Thanks to Mikolaj Izdebski.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1606000 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 09:36:27 +00:00
Thomas Neidhart
6257078add
[LOGGING-157] Fix javadoc. Thanks to Ville Skyttä
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1605899 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 20:11:57 +00:00
Sebastian Bazley
3370f0125a
Identify the assertion failure
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1564876 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 18:46:27 +00:00
Thomas Neidhart
49809cdec1
Fix test output.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1456675 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:52:31 +00:00
Thomas Neidhart
9d9273ac23
Fix security testcases for IBM JVM.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1456669 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:48:10 +00:00
Thomas Neidhart
611c7156d0
Fix typo in testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1456668 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:47:42 +00:00
Thomas Neidhart
f05e6f647d
Disable flawed test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1456130 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 21:21:07 +00:00
Gary D. Gregory
11722ff630
Add missing serial version ID (generated).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1448307 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 17:19:20 +00:00
Thomas Neidhart
fa3c76104f
[LOGGING-132] Jdk14Logger now correctly uses the specified logger name.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1448063 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 10:01:41 +00:00
Thomas Neidhart
ae4698230a
[LOGGING-119] Prevent potential deadlock in WeakHashtable.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1435077 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 10:51:35 +00:00
Thomas Neidhart
71f6456f4a
Move test resources to src/test/resources.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432702 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 19:14:05 +00:00
Thomas Neidhart
4023f0b67b
Move test classes to src/test/java
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432695 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 18:38:37 +00:00
Thomas Neidhart
2789e087fd
More removal of trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432587 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 11:11:32 +00:00
Gary D. Gregory
1807d469fe
Add final modifier to private fields.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432548 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 04:39:40 +00:00
Gary D. Gregory
3e255fea93
Convert control statement bodies to block.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432547 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 04:39:03 +00:00
Gary D. Gregory
268b725476
Remove unnecessary parentheses.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1432026 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 13:02:50 +00:00
Dennis Lundberg
663137e8f0
Merge test for LOGGING-119 into the standard test class for WeakHashtable.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1389022 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 11:33:16 +00:00
Sebastian Bazley
d02c93bf15
Allow test cases to run OK under Maven/Surefire
...
[does not seem to be needed for Ant testing]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363622 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 02:04:03 +00:00
Sebastian Bazley
8316eb1fa1
Test cases don't need main() methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362969 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:40:37 +00:00
Sebastian Bazley
b16794f11a
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362968 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:37:13 +00:00
Sebastian Bazley
66c1dcbf47
Redundant semi-colons
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362959 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:14:29 +00:00
Sebastian Bazley
7297a70b96
Organize imports (don't use wildcards)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362902 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 12:08:08 +00:00
Sebastian Bazley
3f5848ecbf
Increase number of loops to try again to cause Continuum to fail
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362740 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:48:25 +00:00
Sebastian Bazley
2b99f1c33c
Double number of loops to try and Continuum to fail
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362738 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:26:31 +00:00
Sebastian Bazley
cd798d00eb
Quieten Avalon tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362737 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:22:22 +00:00
Sebastian Bazley
c5b7fcfec2
LOGGING-119 deadlock on re-registration of logger
...
Added test case showing the problem
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362553 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 16:11:25 +00:00
Simon Kitching
487dcaadea
Trivial change: remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@695209 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 12:31:09 +00:00
Simon Kitching
576e85c122
LOGGING-117. Clean up system props after unit test so that other unit tests do not fail.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@593871 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 11:51:36 +00:00
Dennis Lundberg
5c61777bde
Add license headers.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@581102 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 22:28:54 +00:00
Dennis Lundberg
051b217ae3
Replace tab characters with spaces. No other changes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@581090 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 22:01:06 +00:00
Dennis Lundberg
78942c8588
Set EOL style to Native.
...
Remove tab characters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@581081 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 21:43:58 +00:00
Dennis Lundberg
b9538406b1
Fix failing tests due to r563165.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@568760 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 22:19:45 +00:00
Simon Kitching
b310a4ef0e
Use a dummy exception class when calling log(exception). This makes the unit test output less confusing.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@563165 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:08:05 +00:00
Simon Kitching
d5951da110
Make test compatible with maven2 surefire.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427814 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 00:18:56 +00:00
Simon Kitching
ff8a0111c0
Have DefaultConfigTestCase explicitly set up its classpath. When run from ant, log4j is not on the
...
classpath so using the default setup works; however when run from maven2 surefire, log4j is on the
path. Explicitly controlling the test classpath works in both cases.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427808 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 00:08:20 +00:00
Simon Kitching
c340a77d5b
Manually force our custom java.util.logging.Handler class to be loaded via the
...
system classloader. This means that the unit test can successfully run even
when the class is not in the system classpath (as happens when running tests
with maven2's surefire plugin for example).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427800 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:48:14 +00:00
Simon Kitching
e0dc5a6f51
Remove unused imports (fix compile warnings).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427798 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:46:32 +00:00
Simon Kitching
60e84957f8
When multiple jars on classpath match logical lib name, use jar with shortest name.
...
Also remove debug print statement.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427797 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:45:58 +00:00
Simon Kitching
7d8b923dc2
Add javadoc only.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427477 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 07:37:00 +00:00
Simon Kitching
be64ad867c
Minor test tidyups (including fixing incorrect comment due to copy-and-paste).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427418 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 03:10:13 +00:00
Simon Kitching
563417f77e
Change test to be compatible with maven2 surefire; when using surefire, junit is not loaded
...
via the system classpath.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427396 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 01:16:02 +00:00
Simon Kitching
8b353e9470
Change key of servlet api jar from "servletapi" to "servlet-api". The maven2 tests pull
...
this jar from the maven2 repository, and in there the jarfile has a different name
from the jarfile in the maven1 repo where ant pulls it from :-(.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427395 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 01:14:53 +00:00
Simon Kitching
e7ab5b24d8
Allow libs for test to be discovered via the classpath as well as via system properties.
...
This has been implemented to suppprt running tests via the maven surefire plugin, but is
a general-purpose mechanism.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427394 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 01:13:11 +00:00
Simon Kitching
557f97f1a5
Make unit tests compatible with maven2 Surefire plugin.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@425249 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 01:30:16 +00:00
Simon Kitching
cd2518594b
Add javadoc about setExplicitLoader/addLogicalLib.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@425247 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 01:26:37 +00:00
Simon Kitching
d82ad2ae6e
Update license info using script update-AL20.pl, as per http://www.apache.org/legal/src-headers.html
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424108 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 23:19:55 +00:00