Skip to content

Implement integration tests for fields with set and notifier#463

Draft
sahithi-nukala wants to merge 13 commits into
eclipse-score:mainfrom
sahithi-nukala:sah_add_integration_test_for_fields
Draft

Implement integration tests for fields with set and notifier#463
sahithi-nukala wants to merge 13 commits into
eclipse-score:mainfrom
sahithi-nukala:sah_add_integration_test_for_fields

Conversation

@sahithi-nukala

@sahithi-nukala sahithi-nukala commented May 21, 2026

Copy link
Copy Markdown
Contributor
  • Move proxy and skeleton containers from methods to common test resources because it would be used by both fields and methods.
  • Update traits and traits tests for field get/set/notifier parameters.
  • Restructure field initial value integration tests and add set and notifier scenarios

@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch 4 times, most recently from 8306eb3 to 38982b6 Compare May 21, 2026 13:57
Comment thread score/mw/com/impl/traits.h
Comment thread score/mw/com/impl/traits_test.cpp
Comment thread score/mw/com/test/common_test_resources/BUILD
@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch 6 times, most recently from 7bd4c90 to a4435a5 Compare May 27, 2026 11:52
@sahithi-nukala sahithi-nukala marked this pull request as ready for review May 27, 2026 12:18
@sahithi-nukala sahithi-nukala requested a review from bemerybmw May 27, 2026 12:18
Comment thread score/mw/com/test/field_initial_value/basic_acceptance_test/BUILD
@sahithi-nukala sahithi-nukala marked this pull request as draft May 28, 2026 05:04
@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch 8 times, most recently from 0e981e5 to 5496cf0 Compare May 29, 2026 09:42
@sahithi-nukala sahithi-nukala requested a review from bemerybmw May 29, 2026 10:17
@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch from 5496cf0 to 4039570 Compare May 29, 2026 10:17
@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch 7 times, most recently from bd0c790 to ac8a5e4 Compare June 16, 2026 09:29
@sahithi-nukala sahithi-nukala marked this pull request as ready for review June 17, 2026 05:29
@sahithi-nukala sahithi-nukala requested a review from bemerybmw June 17, 2026 11:02
@sahithi-nukala sahithi-nukala marked this pull request as draft June 19, 2026 05:40
@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch from ac8a5e4 to ea394c4 Compare June 19, 2026 13:23
@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch 2 times, most recently from 2b5d4e4 to e15e762 Compare June 19, 2026 19:17
ProcessSynchronizer was located in methods_test_resources but was already
used by field tests. Move it to common_test_resources and update all
include paths and BUILD dependencies accordingly.
- Update test_constants: replace kSetValidValue/kSetAcceptedValue with
  kSetTransformedValue and add kUpdatedValue
- Update BUILD files to reference the new common interface targets
- Update field_provider to use updated constants and logic
- Update integration test fixture to accept config filename parameter
  so notifier and set_and_notifier tests use separate manifests
- Rename test_field_set_value -> test_field_set_and_notifier_value
Register the receive handler for kUpdatedValue before notifying the
provider to ensure the LoLa notification is never missed.

LoLa notifications are fire-and-forget. If the provider called
Update(kUpdatedValue) before the consumer registered its receive
handler, the OS notification fired to zero handlers and was lost,
causing WaitForValue to time out after 1000ms.
@sahithi-nukala sahithi-nukala force-pushed the sah_add_integration_test_for_fields branch from e15e762 to 2f981d9 Compare June 19, 2026 19:20
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.

3 participants