Skip to content

mw/com: Add the integration tests for moving proxyEvent#607

Draft
sahithi-nukala wants to merge 3 commits into
eclipse-score:mainfrom
sahithi-nukala:sah_proxy_event_move_tests
Draft

mw/com: Add the integration tests for moving proxyEvent#607
sahithi-nukala wants to merge 3 commits into
eclipse-score:mainfrom
sahithi-nukala:sah_proxy_event_move_tests

Conversation

@sahithi-nukala

Copy link
Copy Markdown
Contributor

No description provided.

return *proxy_;
}

Proxy&& Extract()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

directory structure:
move_semantics/
....proxy_event/
....skeleton_event/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in the PR - #610

ProxyStateChangeNotifier(const ProxyStateChangeNotifier&&) = delete;
ProxyStateChangeNotifier& operator=(const ProxyStateChangeNotifier&&) = delete;

bool WaitForStateChange(const score::cpp::stop_token& stop_token, SubscriptionState desired_state)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bool WaitForStateChange(const score::cpp::stop_token& stop_token, SubscriptionState desired_state)
[[nodiscard]] bool WaitForStateChange(const score::cpp::stop_token& stop_token, SubscriptionState desired_state)

If false is returned, we never got the expected state change so should terminate.

ProxyEventReceiver(const ProxyEventReceiver&&) = delete;
ProxyEventReceiver& operator=(const ProxyEventReceiver&&) = delete;

void WaitForSamples(const score::cpp::stop_token& stop_token, const std::size_t num_samples_to_receive)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
void WaitForSamples(const score::cpp::stop_token& stop_token, const std::size_t num_samples_to_receive)
[[nodiscard]] bool WaitForSamples(const score::cpp::stop_token& stop_token, const std::size_t num_samples_to_receive)

if false, didn't receive expected samples so should fail test.

@sahithi-nukala sahithi-nukala force-pushed the sah_proxy_event_move_tests branch 3 times, most recently from 5af629e to 3a461de Compare June 30, 2026 06:13
@sahithi-nukala sahithi-nukala force-pushed the sah_proxy_event_move_tests branch from 3a461de to a3d27c3 Compare June 30, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants