History log of /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogRecordTest.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/LogRecordTest.java
8d8858e39800de641b50f6e8e864af9cf68bedea 31-Oct-2013 Narayan Kamath <narayan@google.com> Auto reformat apache-harmony code.

Formatted by IntelliJ 10.5.2, with no import
"optimization" attempted.

Change-Id: I4809922950d555400624d709e1c4b00074b63d08
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogRecordTest.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/LogRecordTest.java