Skip to content
Snippets Groups Projects

validate: Pass the actual action reference to the execute function and API enhancements

Merged Thibault Saunier requested to merge thiblahute/gstreamer-rs:validate_action_types_fix into main
  • validate: Implement Debug trait on Action

  • validate: Pass the actual action reference to the execute function
    We need to be able to keep a reference to the action when we implement async action types.

    There was a bug in the test where we were using a ref to the wrong action object in the async signal which is why we didn't detect the problem.

    To make that API simple we should implement a #[validate_test] proc macro.

  • validate: Fix refcount handling for action.set_done()
    Also fix the test making proper use of it.

  • validate: action: Expose the .scenario() method

  • validate: action: Expose the .report_error() method

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading