diff options
author | 2024-01-29 13:45:08 -0700 | |
---|---|---|
committer | 2024-01-30 09:04:25 -0700 | |
commit | 3d14bf44b11396366465536067c65c046c47d33e (patch) | |
tree | 2e9315660478598d0ec34aa33ee496999a18752d /ravenwood/junit-stub-src | |
parent | 9614500d620911e1cd670c7d8f8f7b6f85af7fc9 (diff) |
Improve Ravenwood logging/messages.
Emit "TestRunner" log messages around each test method, so that our
local debugging logs match what developers experience with tests run
on a physical device.
Refine `onThrowMethodCalled()` message to be more descriptive about
Ravenwood and link to docs.
Bug: 322817109, 322526754
Test: atest FrameworksCoreTestsRavenwood
Change-Id: Id9f6a936145dd2024295c2eb14666fc43a5c7e34
Diffstat (limited to 'ravenwood/junit-stub-src')
-rw-r--r-- | ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java b/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java index d0c2e18be8df..7d172f2a83c0 100644 --- a/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java +++ b/ravenwood/junit-stub-src/android/platform/test/ravenwood/RavenwoodRuleImpl.java @@ -16,6 +16,8 @@ package android.platform.test.ravenwood; +import org.junit.runner.Description; + public class RavenwoodRuleImpl { public static boolean isOnRavenwood() { return false; @@ -28,4 +30,8 @@ public class RavenwoodRuleImpl { public static void reset(RavenwoodRule rule) { // No-op when running on a real device } + + public static void logTestRunner(String label, Description description) { + // No-op when running on a real device + } } |