diff options
author | 2024-09-28 00:23:16 +0000 | |
---|---|---|
committer | 2024-09-28 00:23:16 +0000 | |
commit | 336153ede6982d1ba283f178d5a7c6ee8ffbe4f1 (patch) | |
tree | fa78b0e3b167717ee222b20cfdb5d060741c90dc /ravenwood/junit-impl-src | |
parent | 2f5483472cfcde5f05af2fec864617b2bc5a00b0 (diff) |
[Ravenwood] Several minor fixes
- Fix typo in RavenwoodTestStats
- Fix incorrect return value in property_set
Bug: 292141694
Flag: EXEMPT host test change only
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh
Change-Id: Iaac7a804719a6941f0ee18f45274a597a394393c
Diffstat (limited to 'ravenwood/junit-impl-src')
-rw-r--r-- | ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodTestStats.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodTestStats.java b/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodTestStats.java index 428eb57f20bf..b4b871524291 100644 --- a/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodTestStats.java +++ b/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodTestStats.java @@ -84,10 +84,10 @@ public class RavenwoodTestStats { try { mOutputWriter = new PrintWriter(mOutputFile); } catch (IOException e) { - throw new RuntimeException("Failed to crete logfile. File=" + mOutputFile, e); + throw new RuntimeException("Failed to create logfile. File=" + mOutputFile, e); } - // Crete the "latest" symlink. + // Create the "latest" symlink. Path symlink = Paths.get(tmpdir, basename + "latest.csv"); try { if (Files.exists(symlink)) { @@ -96,7 +96,7 @@ public class RavenwoodTestStats { Files.createSymbolicLink(symlink, Paths.get(mOutputFile.getName())); } catch (IOException e) { - throw new RuntimeException("Failed to crete logfile. File=" + mOutputFile, e); + throw new RuntimeException("Failed to create logfile. File=" + mOutputFile, e); } Log.i(TAG, "Test result stats file: " + mOutputFile); |