commit | 5a4b864d033322bf6e1a17726a2c1131e609df02 | [log] [tgz] |
---|---|---|
author | Phil Dubach <phillipd@google.com> | Tue Jun 02 15:01:02 2009 -0700 |
committer | Phil Dubach <phillipd@google.com> | Tue Jun 02 15:08:36 2009 -0700 |
tree | bbbb83b79b7f82ed3e0777a7a5bc3ea74982ed0d | |
parent | 50d3d2715308eb8670701c6a17843e7621197d5d [diff] |
CTS: Clean up and fix MemoryFileTest Tests should not catch exceptions unless they are expected. The Junit framework automatically handles exceptions thrown by the tests. Catching and failing causes the original stacktrace to be lost. Also fix testClose(), since the framework now correctly throws an exception when an attempt is made to read from a closed MemoryFile.