Browse Source
Improve how tests do a "touch" operation on files. Instead of doing "f.setLastModified(System.currentTimeMillis)" open a Outputstream on the file and directly close it again. This makes this method rely only on one clock - the clock of the filesystem. Bug: 436917 Change-Id: I68ef3c2878f28b12daebf2ef6a9fa0a5d6e0964d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>stable-3.5
Robin Rosenberg
11 years ago
committed by
Matthias Sohn
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue