Skip to content

Commit 5c6f659

Browse files
43jayclaude
andcommitted
test(profiling): Extract shared profiler test cases into ContinuousProfilerTestCases.kt
Shared test logic (sampling, lifecycle, rate limiting, chunk restart, close) is defined as extension functions on IContinuousProfiler in ContinuousProfilerTestCases.kt. AndroidContinuousProfilerTest delegates to these for common behavior while keeping legacy-specific tests inline. This enables PerfettoContinuousProfilerTest to reuse the same test cases with its own fixture. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3c8e75a commit 5c6f659

File tree

2 files changed

+308
-288
lines changed

2 files changed

+308
-288
lines changed

0 commit comments

Comments
 (0)