• Home
  • History
  • Annotate
  • only in /libcore/luni/src/test/java/tests/api/java/io/
History log of /libcore/luni/src/test/java/tests/api/java/io/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
229e34b182b98e1dba15d3dc6341954986ae2b7a 03-Mar-2011 Brian Carlstrom <bdc@google.com> Removing use of @tests and @Test.* annotations

Change-Id: I89243efdeebe22543c45a2166b634f40c3e78cf8
omputeSerialVersionUIDTest.java
97793e09f2ef517863ac84538209d06084625a22 01-Mar-2011 Elliott Hughes <enh@google.com> Remove all the remaining AllTests cruft.

Change-Id: Ie61022069e597d9c5c6e7ea4659fd614efe31852
llTests.java
935ede9c3846d11df39435c2f2e4517d90cd61e8 17-Dec-2010 Jesse Wilson <jessewilson@google.com> Remove java.io tests duplicated with Harmony.

Change-Id: I5bb51064a476628349977049a374b45a91cdeecf
http://b/3246523
llTests.java
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
harConversionExceptionTest.java
ataInputOutputStreamTest.java
ataInputStreamTest.java
ataOutputStreamTest.java
OFExceptionTest.java
xternalizableTest.java
ileDescriptorTest.java
ileFilterTest.java
ileInputStreamTest.java
ileNotFoundExceptionTest.java
ileOutputStreamTest.java
ilePermissionTest.java
ileReaderTest.java
ileTest.java
ileWriterTest.java
ilenameFilterTest.java
ilterInputStreamTest.java
ilterOutputStreamTest.java
ilterReaderTest.java
ilterWriterTest.java
OExceptionTest.java
nputStreamReaderTest.java
nputStreamTest.java
nterruptedIOExceptionTest.java
nvalidClassExceptionTest.java
nvalidObjectExceptionTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
otActiveExceptionTest.java
otSerializableExceptionTest.java
bjectInputOutputStreamTest.java
bjectInputStreamGetFieldTest.java
bjectInputStreamTest.java
bjectInputValidationTest.java
bjectOutputStreamPutFieldTest.java
bjectOutputStreamTest.java
bjectStreamClassTest.java
bjectStreamExceptionTest.java
bjectStreamFieldTest.java
penRandomFileTest.java
utputStreamTest.java
utputStreamWriterTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
equenceInputStreamTest.java
erializablePermissionTest.java
treamCorruptedExceptionTest.java
treamTokenizerTest.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
yncFailedExceptionTest.java
TFDataFormatExceptionTest.java
nsupportedEncodingExceptionTest.java
riteAbortedExceptionTest.java
riterTest.java
3a02f449bdd54d98df76cb6d2a262c5ce7349f14 07-Dec-2010 Jesse Wilson <jessewilson@google.com> Fix ObjectStreamClassTest classloader and serial version failures.

The included .jar file is from Harmony, run through dx to convert
the inner .class files into an inner .dex file. The source for that
file is also in the .jar.

Change-Id: Ib3d4893b0ddc18398c5a7a9b040a68603d9143df
bjectStreamClassTest.java
b9066f1baa8e3a0f2b73b0feb8a0a1d56eb83345 22-Oct-2010 Jesse Wilson <jessewilson@google.com> Merge commit '0fde4f69' into manualmerge

Conflicts:
luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java
luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ZipFileTest.java

Change-Id: I8f7233f1fff35a1bea6ac56057b453f458f27a1b
aec2ed4b266b75aaab59c23ca71e355a9336b074 21-Oct-2010 Jesse Wilson <jessewilson@google.com> Remove tests for SecurityManager.

Many of the changes are to org.apache.harmony.* tests that we've copied
from upstream. We'll remove these duplicated tests completely once we
have the upstream Harmony tests properly integrated into CTS.

Change-Id: Idd6cfbeba5345156b207b9433928ee37b662c395
http://b/3102252
bjectInputStreamTest.java
bjectOutputStreamTest.java
ba0b0d68835bc1031a72c86f202f8951c5187376 01-Oct-2010 Elliott Hughes <enh@google.com> am 45907249: am 61799c7b: am 2bcf15aa: Merge "Fix File.getCanonicalizePath to resolve symbolic links." into gingerbread

Merge commit '45907249c392e47d7901e6c0308b0705dc5dbd3c' into dalvik-dev

* commit '45907249c392e47d7901e6c0308b0705dc5dbd3c':
Fix File.getCanonicalizePath to resolve symbolic links.
4d2023ebe0ead25681ce350a873728dfee86b577 30-Sep-2010 Elliott Hughes <enh@google.com> Fix File.getCanonicalizePath to resolve symbolic links.

This requires fixing a few tests that don't cope with the fact that
all our temporary files are created on /sdcard, which is a symbolic
link to /mnt/sdcard, meaning that the canonical path of any temporary
file is different from the file's absolute path.

Bug: 3047893
Change-Id: I02245a290b6d2962fb1dd4d2faba30d9aa7168e0
ileTest.java
64b7230db77f417b027945383df1baf8562a0122 25-Sep-2010 Jesse Wilson <jessewilson@google.com> Merge "Fix RandomAccessFileTest tests that were failing on the host." into dalvik-dev
937efdb41a1c4448ddd7bced4783009ab36a26ac 25-Sep-2010 Jesse Wilson <jessewilson@google.com> Fix RandomAccessFileTest tests that were failing on the host.

These tests assumed that Integer.MAX_VALUE seeks/lengths would fail,
and they weren't on our beefy continuous build. I've changed the
tests to use Long.MAX_VALUE, which should fail everywhere.

Also moving the test into our managed directory, and the new tests
into their own class.

Change-Id: I5ad5274621ef7094d92a399cfd74d40832473728
llTests.java
andomAccessFileTest.java
6e65088f21ac5bda5d25fade13ee360c5cba3457 25-Sep-2010 Jesse Wilson <jessewilson@google.com> Rely on the test runner to ensure a pristine VM.

Change-Id: I6f5bfad6f861eb7b398ed7d86747d66cea4f2343
http://b/issue?id=2660429
ilePermissionTest.java
ileTest.java
e3e6e23b82e8f3796c143d2389d761bf23d1d5ff 17-Jun-2010 Jesse Wilson <jessewilson@google.com> Merge "Removing dead classes from AllTests." into dalvik-dev
3d7147db1afc1eb8eefcb2c14fc1decc91894cd7 17-Jun-2010 Jesse Wilson <jessewilson@google.com> Removing dead classes from AllTests.

Change-Id: I676da29cbf9cbf3ac528a950d679c51fdd74975d
llTests.java
7ec06ea5295c797a2b5bd4fa098d430ba943fbbe 17-Jun-2010 Jesse Wilson <jessewilson@google.com> Removing SerializationStressTests that are duplicated from Harmony.

These tests are out of date and Harmony has a more correct copy.

Change-Id: I573310e126991ce264811a96d0aa6468f7979bbf
erializationStressTest.java
erializationStressTest0.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 13-May-2010 Elliott Hughes <enh@google.com> Remove all trailing whitespace from the dalvik team-maintained parts of libcore.

Gentlemen, you may now set your editors to "strip trailing whitespace"...

Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
harConversionExceptionTest.java
ataInputOutputStreamTest.java
ataInputStreamTest.java
ataOutputStreamTest.java
OFExceptionTest.java
xternalizableTest.java
ileDescriptorTest.java
ileInputStreamTest.java
ileNotFoundExceptionTest.java
ileOutputStreamTest.java
ilePermissionTest.java
ileReaderTest.java
ileTest.java
ileWriterTest.java
ilenameFilterTest.java
ilterInputStreamTest.java
ilterOutputStreamTest.java
ilterReaderTest.java
ilterWriterTest.java
OExceptionTest.java
nputStreamReaderTest.java
nputStreamTest.java
nterruptedIOExceptionTest.java
nvalidClassExceptionTest.java
nvalidObjectExceptionTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
otActiveExceptionTest.java
otSerializableExceptionTest.java
bjectInputOutputStreamTest.java
bjectInputStreamGetFieldTest.java
bjectInputStreamTest.java
bjectInputValidationTest.java
bjectOutputStreamPutFieldTest.java
bjectOutputStreamTest.java
bjectStreamClassTest.java
bjectStreamExceptionTest.java
bjectStreamFieldTest.java
penRandomFileTest.java
utputStreamTest.java
utputStreamWriterTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
andomAccessFileTest.java
equenceInputStreamTest.java
erializablePermissionTest.java
erializationStressTest.java
erializationStressTest0.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
treamCorruptedExceptionTest.java
treamTokenizerTest.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
yncFailedExceptionTest.java
TFDataFormatExceptionTest.java
nsupportedEncodingExceptionTest.java
riteAbortedExceptionTest.java
riterTest.java
fd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726 13-May-2010 Elliott Hughes <enh@google.com> Remove //$NON-NLS-\d$ cruft.

Mostly done by perl(1), with manual cleanup of the few misspelled instances.
This makes our trailing whitespace slightly worse, but I'll fix all that with
a follow-on change.

Change-Id: I0b4ca98819be6f9519c4ba980d759bd1ee1a0303
ileWriterTest.java
ipedInputStreamTest.java
ipedReaderTest.java
b988f4652e9325f77c60c5aa4d71a703a0793ec3 16-Apr-2010 Brian Carlstrom <bdc@google.com> merging FRF15 for dalvik-dev

Change-Id: Ic8c9dea280d38cba8e55f962f0d8df843aea8e35
ileTest.java
erializationStressTest4.java
6ed11ae92a4eb5f37427f006c3405653fb09b882 15-Apr-2010 Jesse Wilson <jessewilson@google.com> Merge commit 'da18d995' into manualmerge

Conflicts:
libcore/luni/src/test/java/tests/api/java/io/PipedInputStreamTest.java
c763c76c63f92e39a0c8c129074922ef9f122292 14-Apr-2010 Jesse Wilson <jessewilson@google.com> Fixing PipedInputStreamTest to fill the buffer before dying on a dead reader.

Change-Id: Ie34a8bec7b2a34d2933225d6d4e04e0643dbcf99
ipedInputStreamTest.java
05d77746d9936ce913b6f4fa35c63e5945b0e7cb 17-Mar-2010 Elliott Hughes <enh@google.com> Add Java 6's new PipedReader/PipedInputStream constructors.

Also bring back the latest harmony java6 branch tests, and modify them to pass
with our deliberate [spec-compliant] exception changes.

Bug: 2497395
Change-Id: Ifb3f9bf48f8eec4120f9e59b03beb3969cfe0cd3
ipedInputStreamTest.java
ipedReaderTest.java
a845eec505ce5314b1a8be3d8dd6cc46bda782f7 17-Mar-2010 Elliott Hughes <enh@google.com> Add Java 6's ObjectStreamClass.lookupAny.

Also bring back the latest harmony java6 tests. We fail two of these tests,
but this is not a regression caused by this patch: our existing code fails
the same tests in the same way, so we already had the bugs and just didn't
know.

Bug: 2497395
Change-Id: I70412cdea747c30ea8d19a55d2ae5e73d3c59c1a
bjectStreamClassTest.java
e51cae060bf9543c7b786c3d7f297fab8a551acb 17-Mar-2010 Elliott Hughes <enh@google.com> Add Java 6's PrintStream.clearError/PrintWriter.clearError methods.

Also bring back the latest harmony java6 branch tests.

Bug: 2497395
Change-Id: I242e9a7d0446b46faaa5b28e0348806e999d8fdf
rintStreamTest.java
rintWriterTest.java
7ee3a061452c5a7e5c8e661219a1f08a14171858 19-Feb-2010 Elliott Hughes <enh@google.com> Resync a load of tests with upstream, make our build faster.

I started off with a mission to remove uses of dalvik.annotation.* (stuff
like @TestTargetNew and other useless junk that just makes it harder to
stay in sync with upstream). I wrote a script to go through tests showing
me the diff between what we have and what upstream has, thinking that in
cases where upstream has also added tests, I may as well pull them in at
the same time...

...but I didn't realize how close we were to having dx fill its 1.5GiB heap.

After trying various alternatives, I decided to bite the bullet and break
core-tests up into one .jar per module. This adds parallelism back into this,
the slowest part of our build. (I can do even better, but I'll do that in a
separate patch, preferably after we've merged recent changes from master.)

Only a couple of dependencies were problematic: the worthless TestSuiteFactory
which already contained a comment suggesting we get rid of it, and the fact
that some tests -- most notably the concurrent ones -- also contained main
methods that started the JUnit tty-based TestRunner.

(In the long run, we want to be running the harmony tests directly from a
pristine "svn co" of upstream, using DalvikRunner. But this will be a big
help in the meantime, and starts the work of getting our current copy of
the tests into a state where we can start to extract any meaningful
changes/additions we've made.)
llTests.java
307a6a094ae439b0509161f36b1c260e3f00fc0d 04-Feb-2010 Elliott Hughes <enh@google.com> Remove obviously bogus @KnownFailure annotations.

We've already agreed @KnownFailure Must Die (to be replaced by expectations for
DalvikRunner), but some are -- I think -- obviously in need of investigation.
This patch removes @KnownFailure for all cases where the reason looks bogus.
I've left the @KnownFailure annotations in cases where I it looks "reasonable"
in that we simply haven't implemented the functionality (pack200, say), and
a few other cases. Those should probably be done in a separate patch that adds
expectations at the same time.

But these ones, I think, all need investigating. (There's a scary number of
Arabic-related bugs in here, given that we're supposed to be shipping Arabic
in froyo.)
ileTest.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
a0f38182a8fb81a6ae34372895e7a8a421f66fa1 22-Dec-2009 Brett Chabot <brettchabot@android.com> am d3b06457: am 6cdbef55: Merge change I1d9b205f into eclair

Merge commit 'd3b0645772fd3364575b93c74428ae19f88c4238'

* commit 'd3b0645772fd3364575b93c74428ae19f88c4238':
Skip locale dependent libcore tests if required locales are not present.
7f326eba50620211e5b698d4c584b861d11d1d6f 19-Dec-2009 Brett Chabot <brettchabot@android.com> Skip locale dependent libcore tests if required locales are not present.

Previously these tests were marked as KnownFailures - which is undesirable since
they can pass if the right Locale's are present on target.

Bug 2335906

Change-Id: I1d9b205f740b71880c57b48f069c302c5cec8792
rintStreamTest.java
rintWriterTest.java
55392539fea537abfb6581b474918f9d611fba27 16-Dec-2009 Jesse Wilson <jessewilson@google.com> Update luni package to Harmony r888752.

Conflicts:
libcore/luni/META-INF/MANIFEST.MF
libcore/luni/make/findbugs-exclude-filter.xml
libcore/luni/src/main/java/java/io/BufferedOutputStream.java
libcore/luni/src/main/java/java/io/BufferedReader.java
libcore/luni/src/main/java/java/io/CharArrayReader.java
libcore/luni/src/main/java/java/io/StringReader.java
libcore/luni/src/main/java/java/lang/StrictMath.java
libcore/luni/src/main/java/java/lang/ref/ReferenceQueue.java
libcore/luni/src/main/java/java/net/Inet4Address.java
libcore/luni/src/main/java/java/net/InetAddress.java
libcore/luni/src/main/java/java/util/ArrayList.java
libcore/luni/src/main/java/java/util/EnumSet.java
libcore/luni/src/main/java/java/util/HugeEnumSet.java
libcore/luni/src/main/java/org/apache/harmony/luni/internal/reflect/ProxyConstantPool.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/AbstractMemorySpy.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/DebugMemorySpy.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/Endianness.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/IFileSystem.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/IMemorySystem.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/INetworkSystem.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/IPlatformConstants.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/OSMemory.java
libcore/luni/src/main/java/org/apache/harmony/luni/platform/OSNetworkSystem.java
libcore/luni/src/main/java/org/apache/harmony/luni/util/InputStreamExposer.java
libcore/luni/src/main/native/hyzip/shared/zipcache.c
libcore/luni/src/main/native/hyzip/shared/zipsup.c
libcore/luni/src/main/native/include/jni.h
libcore/luni/src/main/native/include/jni_types.h
libcore/luni/src/main/native/include/jvmti.h
libcore/luni/src/main/native/include/jvmti_types.h
libcore/luni/src/main/native/launcher/unix/main_hlp.c
libcore/luni/src/main/native/luni/shared/OSNetworkSystem.c
libcore/luni/src/main/native/luni/shared/file.c
libcore/luni/src/main/native/luni/windows/makefile
libcore/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/UnixFileTest.java
libcore/luni/src/test/java/tests/api/java/io/BufferedOutputStreamTest.java
libcore/luni/src/test/java/tests/api/java/io/BufferedReaderTest.java
libcore/luni/src/test/java/tests/api/java/io/SerializationStressTest.java
libcore/luni/src/test/java/tests/api/java/net/SocketTest.java
libcore/luni/src/test/java/tests/api/java/util/ArrayListTest.java
libcore/luni/src/test/java/tests/api/java/util/EnumSetTest.java
libcore/luni/src/test/java/tests/api/java/util/TimerTest.java
ineNumberReaderTest.java
70d6a4304144a0d40966eb93b28ce6430e24af79 05-Nov-2009 Brett Chabot <brettchabot@android.com> DO NOT MERGE. CTS test cleanup. Mark tests as KnownFailures and BrokenTests.
ipedInputStreamTest.java
erializationStressTest4.java
538eac4977156a74e8a055d793097256efa0fba4 03-Nov-2009 Elliott Hughes <enh@google.com> Remove more @KnownFailures now I've run tests.AllTests.

A lunchtime run of the full suite turned up more.
rintStreamTest.java
rintWriterTest.java
82a2dfcd2281c2f8042fd5f09c98bea1e728530f 30-Oct-2009 Jesse Wilson <jessewilson@google.com> Fixing 1 of the 4 BufferedReader test failures in bug 2224903.

This CL includes the following functional changes:
- changing read to not clear the mark upon reading EOF
- changing read(char[], int, int) to use the 'read
directly from the source stream' shortcut when the
mark has exceeded its limit. Previously we took the
shortcut only when the mark was unset.

And these nonfunctional changes
- rewrote read(char[], int, int) dramatically. The new
revision contains only one call to 'System.arrayCopy'
and the related bookkeeping. Previously there was one call
before the loop, and another call in the loop.
- renamed markpos to mark
- renamed marklimit to markLimit
- renamed count to end (it isn't a count, it's a position)
- simplifying conditions that used >= when > was impossible
- reducing the number of field reads where convenient
ufferedReaderTest.java
d37c804ccd11e38ee9221194866a152a4de6c8e9 24-Oct-2009 Jesse Wilson <jessewilson@google.com> A new hygenic way for tests to clean up before or after execution.

This replaces PrefsTester and is more general purpose.
ilePermissionTest.java
ileTest.java
1f4eba15dc9e4086ce7e2a4fc7cac83fe6bbc03d 10-Oct-2009 Jesse Wilson <jessewilson@google.com> Rewrite Support_Exec to support timeouts on waiting processes.

Also rewriting SupportExec to use ProcessBuilder rather
than Runtime.exec(). Changed callers to use the ProcessBuilder
directly rather than calling-through chained methods.
ileTest.java
b2466bf1b624a6a76821deba9a7b0f8ae2f15882 08-Oct-2009 Brett Chabot <brettchabot@android.com> am 32f89821: Merge change 26044 into donut-gms

Merge commit '32f8982116e5155bc3c75c86e3c861cab1a848be' into eclair

* commit '32f8982116e5155bc3c75c86e3c861cab1a848be':
Remove tests.api.java.io.FileTest#test_delete as known failure.
e536cfd2713c0f234b2872a2f099cd22670a6cfd 01-Oct-2009 Jesse Wilson <jessewilson@google.com> am aa4320a4: am 1131d3da: Merge change Ie2e14dde into eclair

Merge commit 'aa4320a4fb27684bd70cfb4d82feca3845ad272e'

* commit 'aa4320a4fb27684bd70cfb4d82feca3845ad272e':
Remove @KnownFailure tags for tests that pass.
7634fdbeddacd2e99053d6912875a9c0b5c47d98 01-Oct-2009 Jesse Wilson <jessewilson@google.com> Remove @KnownFailure tags for tests that pass.

Also cleanup tests.api.java.io.SerializationStressTest4#test_writeObject_Proxy
erializationStressTest4.java
3d478ad9fefa9c90b5c644f5e3d9437828537ed9 27-Sep-2009 Elliott Hughes <enh@google.com> Throw meaningful IOException instances from native code.

The Java side of OSFileSystem was throwing IOExceptions with no detail
message. If we throw from the native side instead, we can supply
meaningful explanations. This turned up a couple of bugs:

* read, readDirect, readv, writev, and ttyRead would only throw IOException
if they returned < -1, which is impossible. (writev was probably a copy & paste
from readv, and the reads were probably confused by the impedence mismatch
between Unix's use of 0 to mean end of file and -1 to mean error, and Java's
use of -1 for end of file.)

* inconsistent checking for null byte[]s passed in.

* read and write would retry on EINTR, but readDirect and writeDirect wouldn't.

* we'd silently truncate seek/lock/truncate offsets that didn't fit in 32 bits;
we now throw an IOException instead.

It also means a few native functions become "void" because errors are now
reported by throwing exceptions, and the Java functions that used to call them
are no longer needed.

Also change ProcessManager to use jniThrowIOException, remove the unused
throwIOExceptionStr from OSNetworkSystem.cpp, and remove the KnownFailure from
FileTest's test_delete, now we have a fixed version of yaffs that won't
rmdir(2) non-empty directories.

Bug: 1542253
ileTest.java
andomAccessFileTest.java
e566218c9770a3506297a33482bfd64da79fc157 21-Sep-2009 Brett Chabot <brettchabot@android.com> Remove tests.api.java.io.FileTest#test_delete as known failure.

BUG 2133089
ileTest.java
13b99f209404c75a95a9e8cb791d4a4bfad7431c 02-Sep-2009 Urs Grob <ursg@google.com> InputStreamReader forgets to convert incomplete multibyte characters at the buffer boundary

BUG=2033986
utputStreamWriterTest.java
41b250944395c042f377b9c6b745e06cb0b85d4b 18-Aug-2009 Brett Chabot <brettchabot@google.com> am affecd77: Cleanup CTS core failing tests.

Merge commit 'affecd7714e14fabff011ad61d436df3698bf7eb' into eclair

* commit 'affecd7714e14fabff011ad61d436df3698bf7eb':
Cleanup CTS core failing tests.
2aafe60b806ecd7078bbe44a25b822c2eb46a563 14-Aug-2009 Brett Chabot <brettchabot@google.com> Cleanup CTS core failing tests.

BUG 2053939
ileTest.java
utputStreamWriterTest.java
f5597e626ecf7949d249dea08c1a2964d890ec11 25-Jul-2009 Jesse Wilson <jessewilson@google.com> Integrate luni module (but not tests) to Harmony r772995.

Notable changes
- Stripped "@since Android 1.0" from many files. Most files
are now 100% the same in Dalvik and Harmony.
- AbstractStringBuilder.reverse() supports surrogates
- AbstractStringBuilder shares less to waste less memory
- Bitset optimized
- BufferedInputStream changed to support unsynchronized close()
- BufferedOutputStream does flushInternal
- BufferedReader supports EBCDIC NEL
- Collections.synchronizedList().indexOf() does a copy for more concurrency
- Classes in nio module changed: DatagramChannelImpl, SocketChannelImpl
and ServerSocketChannelImpl (these depend on internal APIs changed in
this update)
- DataInputStream/DataOutputStream now use a small buffer to limit the
number of times the underlying stream is accessed
- Date now has a minutes offset, more efficient toString()
- ExposedByteArrayInputStream: new internal class
- DeleteOnExit moved to top-level class
- FileDescriptor.isValid() now non-native
- Float, Double lessThan optimized (fix for compare(-0.0F, 0.0F) still pending)
- FileURLConnection now guesses content types from streams
- HashMap iterator changes
- Hashtable iterator changes
- INetworkSystem
- removes bind2(), createMulticastSocket, sendStream(),
- renames createSocket to createStreamSocket
- JarURLConnection rewritten
- LinkedHashMap: new iterator
- Locale, Currency, TimeZone: now use ICU in Harmony, plain Java in Dalvik
- ObjectInputStream: Accessor objects in Harmony, direct native in Dalvik
- ProxyClassFile - many changes
- String - optimized ascii for toLowerCase, toUpperCase, compare
- Timer - rewritten
- TreeMap - rewritten
- URLClassLoader - new
- URLConnection - new guessContentTypeFromStream(), uses org.apache.harmony.awt.www.content
to lookup content type handlers
ileTest.java
utputStreamWriterTest.java
d6d1165c4cbaa3d951969c7bbf9006d10e8c7176 11-May-2009 Dan Bornstein <danfuzz@android.com> Minor cleanup.
nputStreamReaderTest.java
43f11e509433970a5f33a6e5edd9b90089fa7d88 11-May-2009 Dan Bornstein <nobody@android.com> AI 148692: Merge change #148679 into Cupcake, since we probably want to
take it for rel if there's an opportunity. Original
description:
Fix InputStreamReader to not drop input on buffer boundaries.
This fix takes the salient code from Harmony tip-of-tree,
though it's not a wholesale replacement of the file. In
particular, I left in the old encoding name handling as well
as one remaining "FIXME" that I don't think would have been
addressed.
BUG=1836908

Automated import of CL 148692
nputStreamReaderTest.java
e01d752ccba75c8c5e53235ec1e6466f816407da 24-Apr-2009 Urs Grob <> AI 147687: Several fixes for failing tests in the cts host. also tests that timeout
are now marked with BrokenTest to exclude them for the time being until
we have a way to execute them.
BUG=1285921

Automated import of CL 147687
erializationStressTest2.java
8c4db9e5773b1d5d577d935e7298287244fdc282 23-Apr-2009 Jorg Pleumann <> AI 147464: Some small bugfixes for the core tests.
Some need to be marked broken, because
they take too long (or even forever) due
to implementation problems. Some need
to take into account differences between
the CTS environment and the Dalvik VM,
so they succeed in both cases.
BUG=1285921

Automated import of CL 147464
erializationStressTest4.java
1c1ce70e60ab1aa98330f6086b5c2632d5b88832 22-Apr-2009 Urs Grob <> AI 147384: Fixes from the review of 'Bringing luni down to 15 broken tests.
Not perfect, but an improvement.' that Joerg didn't fix yet.
BUG=1285921

Automated import of CL 147384
erializationStressTest0.java
erializationStressTest1.java
erializationStressTest4.java
214a4e01cfb8ac07474c128b9431b19b7ed1b99b 21-Apr-2009 Urs Grob <> AI 147121: Fixes for tests in the luni module.
There are still some tests that are failing in the cts host. This CL will fix most of them in the luni module.
BUG=1285921

Automated import of CL 147121
rintStreamTest.java
rintWriterTest.java
3e2d5e5270554027119f55790e105bace89320e0 21-Apr-2009 Urs Grob <> AI 147118: Several fixes to reduce failing tests in the cts host
- Removing tests that are placed in a protected package name.
They were not part of the cts tests.
- Fixing a case of an Exception thrown in the static initializer of
GBCharsetEncoderTest.
- Remove copy/paste code which led to an exception in a 2nd thread
(the test did not fail, but its output was reported in logcat)
- fixing a test case in FileTest
- removing test code in StmtTest that tested badly specified operations and
failed.
BUG=1285921

Automated import of CL 147118
ileTest.java
7cdbe7a26fd575d8cdb83da296d859c35c4bfaeb 09-Apr-2009 Urs Grob <> AI 145288: Removing tabs from tests.
BUG=1285921

Automated import of CL 145288
erializationStressTest.java
6539d2364df3a3c8488ecadc42014280c194a9c5 07-Apr-2009 Jorg Pleumann <> AI 144830: Bringing luni down to 15 broken tests. Not perfect,
but an improvement.
BUG=1285921

Automated import of CL 144830
omputeSerialVersionUIDTest.java
bjectInputStreamGetFieldTest.java
bjectOutputStreamPutFieldTest.java
ipedInputStreamTest.java
ipedWriterTest.java
erializationStressTest.java
erializationStressTest0.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
a566c3ecc8c821172e27d89444dd7cadfbdc369b 30-Mar-2009 Jorg Pleumann <> AI 143453: Bringing the luni tests down to zero failures.
BUG=1285921

Automated import of CL 143453
ileTest.java
erializationStressTest2.java
ab28398a565e5ce8a56cdfd50ac6226e5317cf66 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
llTests.java
ileTest.java
erializationStressTest.java
erializationStressTest0.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
adc854b798c1cfe3bfd4c27d68d5cee38ca617da 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
llTests.java
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
harConversionExceptionTest.java
omputeSerialVersionUIDTest.java
ataInputOutputStreamTest.java
ataInputStreamTest.java
ataOutputStreamTest.java
OFExceptionTest.java
xternalizableTest.java
ileDescriptorTest.java
ileFilterTest.java
ileInputStreamTest.java
ileNotFoundExceptionTest.java
ileOutputStreamTest.java
ilePermissionTest.java
ileReaderTest.java
ileTest.java
ileWriterTest.java
ilenameFilterTest.java
ilterInputStreamTest.java
ilterOutputStreamTest.java
ilterReaderTest.java
ilterWriterTest.java
OExceptionTest.java
nputStreamReaderTest.java
nputStreamTest.java
nterruptedIOExceptionTest.java
nvalidClassExceptionTest.java
nvalidObjectExceptionTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
otActiveExceptionTest.java
otSerializableExceptionTest.java
bjectInputOutputStreamTest.java
bjectInputStreamGetFieldTest.java
bjectInputStreamTest.java
bjectInputValidationTest.java
bjectOutputStreamPutFieldTest.java
bjectOutputStreamTest.java
bjectStreamClassTest.java
bjectStreamExceptionTest.java
bjectStreamFieldTest.java
penRandomFileTest.java
utputStreamTest.java
utputStreamWriterTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
andomAccessFileTest.java
equenceInputStreamTest.java
erializablePermissionTest.java
erializationStressTest.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
erializationTestClass.java
treamCorruptedExceptionTest.java
treamTokenizerTest.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
yncFailedExceptionTest.java
TFDataFormatExceptionTest.java
nsupportedEncodingExceptionTest.java
riteAbortedExceptionTest.java
riterTest.java
1c0fed63c71ddb230f3b304aac12caffbedf2f21 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
llTests.java
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
harConversionExceptionTest.java
omputeSerialVersionUIDTest.java
ataInputOutputStreamTest.java
ataInputStreamTest.java
ataOutputStreamTest.java
OFExceptionTest.java
xternalizableTest.java
ileDescriptorTest.java
ileFilterTest.java
ileInputStreamTest.java
ileNotFoundExceptionTest.java
ileOutputStreamTest.java
ilePermissionTest.java
ileReaderTest.java
ileTest.java
ileWriterTest.java
ilenameFilterTest.java
ilterInputStreamTest.java
ilterOutputStreamTest.java
ilterReaderTest.java
ilterWriterTest.java
OExceptionTest.java
nputStreamReaderTest.java
nputStreamTest.java
nterruptedIOExceptionTest.java
nvalidClassExceptionTest.java
nvalidObjectExceptionTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
otActiveExceptionTest.java
otSerializableExceptionTest.java
bjectInputOutputStreamTest.java
bjectInputStreamGetFieldTest.java
bjectInputStreamTest.java
bjectInputValidationTest.java
bjectOutputStreamPutFieldTest.java
bjectOutputStreamTest.java
bjectStreamClassTest.java
bjectStreamExceptionTest.java
bjectStreamFieldTest.java
penRandomFileTest.java
utputStreamTest.java
utputStreamWriterTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
andomAccessFileTest.java
equenceInputStreamTest.java
erializablePermissionTest.java
erializationStressTest.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
erializationTestClass.java
treamCorruptedExceptionTest.java
treamTokenizerTest.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
yncFailedExceptionTest.java
TFDataFormatExceptionTest.java
nsupportedEncodingExceptionTest.java
riteAbortedExceptionTest.java
riterTest.java
b7926325a1c1a370c84c81db80372f59af240a53 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
ataInputStreamTest.java
ileOutputStreamTest.java
ileTest.java
ilterOutputStreamTest.java
ilterReaderTest.java
ilterWriterTest.java
nputStreamTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
bjectInputStreamTest.java
bjectOutputStreamTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
equenceInputStreamTest.java
erializationStressTest.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
riterTest.java
a0881d052ee72e3f7e773374e9b1aa75fbd6be4c 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
llTests.java
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
harConversionExceptionTest.java
omputeSerialVersionUIDTest.java
ataInputOutputStreamTest.java
ataInputStreamTest.java
ataOutputStreamTest.java
OFExceptionTest.java
xternalizableTest.java
ileDescriptorTest.java
ileFilterTest.java
ileInputStreamTest.java
ileNotFoundExceptionTest.java
ileOutputStreamTest.java
ilePermissionTest.java
ileReaderTest.java
ileTest.java
ileWriterTest.java
ilenameFilterTest.java
ilterInputStreamTest.java
ilterOutputStreamTest.java
ilterReaderTest.java
ilterWriterTest.java
OExceptionTest.java
nputStreamReaderTest.java
nputStreamTest.java
nterruptedIOExceptionTest.java
nvalidClassExceptionTest.java
nvalidObjectExceptionTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
otActiveExceptionTest.java
otSerializableExceptionTest.java
bjectInputOutputStreamTest.java
bjectInputStreamGetFieldTest.java
bjectInputStreamTest.java
bjectInputValidationTest.java
bjectOutputStreamPutFieldTest.java
bjectOutputStreamTest.java
bjectStreamClassTest.java
bjectStreamExceptionTest.java
bjectStreamFieldTest.java
penRandomFileTest.java
utputStreamTest.java
utputStreamWriterTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
andomAccessFileTest.java
equenceInputStreamTest.java
erializablePermissionTest.java
erializationStressTest.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
treamCorruptedExceptionTest.java
treamTokenizerTest.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
yncFailedExceptionTest.java
TFDataFormatExceptionTest.java
nsupportedEncodingExceptionTest.java
riteAbortedExceptionTest.java
riterTest.java
dd828f42a5c83b4270d4fbf6fce2da1878f1e84a 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
llTests.java
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
harConversionExceptionTest.java
omputeSerialVersionUIDTest.java
ataInputStreamTest.java
ataOutputStreamTest.java
OFExceptionTest.java
ileDescriptorTest.java
ileInputStreamTest.java
ileNotFoundExceptionTest.java
ileOutputStreamTest.java
ilePermissionTest.java
ileReaderTest.java
ileTest.java
ileWriterTest.java
ilterInputStreamTest.java
ilterOutputStreamTest.java
OExceptionTest.java
nputStreamReaderTest.java
nterruptedIOExceptionTest.java
nvalidClassExceptionTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
otActiveExceptionTest.java
otSerializableExceptionTest.java
bjectInputStreamTest.java
bjectOutputStreamTest.java
bjectStreamClassTest.java
bjectStreamFieldTest.java
penRandomFileTest.java
utputStreamWriterTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
andomAccessFileTest.java
equenceInputStreamTest.java
erializablePermissionTest.java
erializationStressTest.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
treamCorruptedExceptionTest.java
treamTokenizerTest.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
yncFailedExceptionTest.java
TFDataFormatExceptionTest.java
nsupportedEncodingExceptionTest.java
riteAbortedExceptionTest.java
riterTest.java
fdb2704414a9ed92394ada0d1395e4db86889465 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
llTests.java
ufferedInputStreamTest.java
ufferedOutputStreamTest.java
ufferedReaderTest.java
ufferedWriterTest.java
yteArrayInputStreamTest.java
yteArrayOutputStreamTest.java
harArrayReaderTest.java
harArrayWriterTest.java
harConversionExceptionTest.java
omputeSerialVersionUIDTest.java
ataInputStreamTest.java
ataOutputStreamTest.java
OFExceptionTest.java
ileDescriptorTest.java
ileInputStreamTest.java
ileNotFoundExceptionTest.java
ileOutputStreamTest.java
ilePermissionTest.java
ileReaderTest.java
ileTest.java
ileWriterTest.java
ilterInputStreamTest.java
ilterOutputStreamTest.java
OExceptionTest.java
nputStreamReaderTest.java
nterruptedIOExceptionTest.java
nvalidClassExceptionTest.java
ineNumberInputStreamTest.java
ineNumberReaderTest.java
otActiveExceptionTest.java
otSerializableExceptionTest.java
bjectInputStreamTest.java
bjectOutputStreamTest.java
bjectStreamClassTest.java
bjectStreamFieldTest.java
penRandomFileTest.java
utputStreamWriterTest.java
ipedInputStreamTest.java
ipedOutputStreamTest.java
ipedReaderTest.java
ipedWriterTest.java
rintStreamTest.java
rintWriterTest.java
ushbackInputStreamTest.java
ushbackReaderTest.java
andomAccessFileTest.java
equenceInputStreamTest.java
erializablePermissionTest.java
erializationStressTest.java
erializationStressTest1.java
erializationStressTest2.java
erializationStressTest3.java
erializationStressTest4.java
erializationStressTest5.java
erializationTestClass.java
treamCorruptedExceptionTest.java
treamTokenizerTest.java
tringBufferInputStreamTest.java
tringReaderTest.java
tringWriterTest.java
yncFailedExceptionTest.java
TFDataFormatExceptionTest.java
nsupportedEncodingExceptionTest.java
riteAbortedExceptionTest.java
riterTest.java