Skip to content

Fix the test for any_subscription_callback.#13

Merged
gonzodepedro merged 1 commit intogonzodepedro:gonzo/non-transform-intra-process-working-testsfrom
clalancette:clalancette/fix-test-any-sub
Dec 10, 2021
Merged

Fix the test for any_subscription_callback.#13
gonzodepedro merged 1 commit intogonzodepedro:gonzo/non-transform-intra-process-working-testsfrom
clalancette:clalancette/fix-test-any-sub

Conversation

@clalancette
Copy link
Copy Markdown
Collaborator

In particular, change it so that the tests for TypeAdaptation
with any_subscription_callback always pass the custom type
to dispatch_intra_process(). That means that when using
TypeAdaptation, it is not possible to call dispatch_intra_process()
with the ROS message type. But since this is a low-level
interface, this should be fine; the public-facing APIs handle
this case for us.

This also requires us to remove the test for inter-process
publishing with type adaptation. That's because we didn't change
the signature of AnySubscriptionCallback::dispath() to take
in the custom type, so it always expects the ROS message type.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

In particular, change it so that the tests for TypeAdaptation
with any_subscription_callback always pass the custom type
to dispatch_intra_process().  That means that when using
TypeAdaptation, it is not possible to call dispatch_intra_process()
with the ROS message type.  But since this is a low-level
interface, this should be fine; the public-facing APIs handle
this case for us.

This also requires us to remove the test for inter-process
publishing with type adaptation.  That's because we didn't change
the signature of AnySubscriptionCallback::dispath() to take
in the custom type, so it always expects the ROS message type.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@gonzodepedro gonzodepedro merged commit 1f9bc22 into gonzodepedro:gonzo/non-transform-intra-process-working-tests Dec 10, 2021
clalancette added a commit that referenced this pull request Dec 17, 2021
In particular, change it so that the tests for TypeAdaptation
with any_subscription_callback always pass the custom type
to dispatch_intra_process().  That means that when using
TypeAdaptation, it is not possible to call dispatch_intra_process()
with the ROS message type.  But since this is a low-level
interface, this should be fine; the public-facing APIs handle
this case for us.

This also requires us to remove the test for inter-process
publishing with type adaptation.  That's because we didn't change
the signature of AnySubscriptionCallback::dispath() to take
in the custom type, so it always expects the ROS message type.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
gonzodepedro pushed a commit that referenced this pull request Dec 20, 2021
Fixed image tools issues

Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar>

Fix linting. (#12)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Fix the test for any_subscription_callback. (#13)

In particular, change it so that the tests for TypeAdaptation
with any_subscription_callback always pass the custom type
to dispatch_intra_process().  That means that when using
TypeAdaptation, it is not possible to call dispatch_intra_process()
with the ROS message type.  But since this is a low-level
interface, this should be fine; the public-facing APIs handle
this case for us.

This also requires us to remove the test for inter-process
publishing with type adaptation.  That's because we didn't change
the signature of AnySubscriptionCallback::dispath() to take
in the custom type, so it always expects the ROS message type.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Reenable the test_intra_process* tests. (#14)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Remove debugging print statements. (#11)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
clalancette pushed a commit that referenced this pull request Dec 20, 2021
Fixed image tools issues

Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar>

Fix linting. (#12)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Fix the test for any_subscription_callback. (#13)

In particular, change it so that the tests for TypeAdaptation
with any_subscription_callback always pass the custom type
to dispatch_intra_process().  That means that when using
TypeAdaptation, it is not possible to call dispatch_intra_process()
with the ROS message type.  But since this is a low-level
interface, this should be fine; the public-facing APIs handle
this case for us.

This also requires us to remove the test for inter-process
publishing with type adaptation.  That's because we didn't change
the signature of AnySubscriptionCallback::dispath() to take
in the custom type, so it always expects the ROS message type.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Reenable the test_intra_process* tests. (#14)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Remove debugging print statements. (#11)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar>
clalancette pushed a commit that referenced this pull request Jan 4, 2022
Fixed image tools issues

Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar>

Fix linting. (#12)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Fix the test for any_subscription_callback. (#13)

In particular, change it so that the tests for TypeAdaptation
with any_subscription_callback always pass the custom type
to dispatch_intra_process().  That means that when using
TypeAdaptation, it is not possible to call dispatch_intra_process()
with the ROS message type.  But since this is a low-level
interface, this should be fine; the public-facing APIs handle
this case for us.

This also requires us to remove the test for inter-process
publishing with type adaptation.  That's because we didn't change
the signature of AnySubscriptionCallback::dispath() to take
in the custom type, so it always expects the ROS message type.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Reenable the test_intra_process* tests. (#14)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

Remove debugging print statements. (#11)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants