Skip to content

Add unit tests for uncovered android_device and logcat_processor paths - #1067

Merged
xpconanfan merged 1 commit into
masterfrom
coverage_gaps
Oct 9, 2026
Merged

xpconanfan merged 1 commit into
masterfrom
coverage_gaps

Conversation

@xpconanfan

@xpconanfan xpconanfan commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator
  • list_adb_devices_by_usb_id: real parsing of adb devices -l output (previously only ever mocked).
  • LogcatListenerContext._listen_loop: stops mid-batch when the stop event is set during dispatch.
  • LogcatProcessor.wait_for(in_order=False, since=<timestamp-only position>): skips lines before the since timestamp and times out when only stale lines match.

@xpconanfan xpconanfan changed the title coverage gaps Add unit tests for uncovered android_device and logcat_processor paths Oct 9, 2026
@xpconanfan xpconanfan self-assigned this Oct 9, 2026
@xpconanfan xpconanfan added this to the Mobly Release 1.14 milestone Oct 9, 2026
- list_adb_devices_by_usb_id: real parsing of 'adb devices -l' output
  (previously only ever mocked).
- LogcatListenerContext._listen_loop: stops mid-batch when the stop event
  is set during dispatch.
- LogcatProcessor.wait_for(in_order=False, since=<timestamp-only position>):
  skips lines before the since timestamp and times out when only stale
  lines match.
@xpconanfan
xpconanfan merged commit 9471954 into master Oct 9, 2026
19 checks passed
@xpconanfan
xpconanfan deleted the coverage_gaps branch October 9, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants