History log of /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/FileHandlerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84bf48564a8560403bd77eee23f7fad63e50340e 01-Sep-2014 Neil Fuller <nfuller@google.com> Fixes for apache-harmony logging tests

Moves all config and resources files beneath com/android
to avoid conflicts with similar files held in libcore under
the same package and also originate from apache-harmony.
Updates to resource names in tests.

Additional changes described below.

FileHandlerTest: Refactoring to avoid getting the
java.io.tmpdir before it has been changed by the test
runner. Minor clean-up, plus...
testLimitAndCount: The test was assuming it could write
to the current directory. Prepended %t/ to paths to
write to the temp dir instead.
testInvalidParams(): The test was broken by Android
changes but does not appear to be testing anything
valuable.

LoggerTest: Import cleanup plus:
testGetLogger_Empty / testGetLoggerWithRes_Empty:
The tests appears incorrect. test_initHandler: Changed
to use resources rather than direct file access as
this will work better under CTS.

XmlFormatterTest: Use java.io.tempdir, not user.home
to create a temp file. This will work better under
Android.

(cherry picked from commit 87819c044f681e86bcb40fa63360908d8c7a7671)

Change-Id: I6ef8a9b8c4f0fd9502bfb5220dabb90a41970402
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/FileHandlerTest.java
fc95c99cfa4921fef424f3f411d013b821589e69 18-May-2011 Elliott Hughes <enh@google.com> Build luni tests too, remove all SecurityManager cruft.

HttpURLConnectionTest is the only brutal hack here; that needs reviewing in
comparison with the libcore tests to decide on a resolution.

Change-Id: I191379effd8c38b90d430c2e4d85cf30447c0077
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/FileHandlerTest.java
561ee011997c6c2f1befbfaa9d5f0a99771c1d63 27-Apr-2011 Elliott Hughes <enh@google.com> Import r1097236 of the Apache Harmony test suite.

Bug: 3246523
Change-Id: I6cb63a9b4ae3d43d2a8f2998e8de8d3eaa7d999e
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/FileHandlerTest.java