Stem Mission
Baseline scenario context
The stem mission runs two local MOOS communities connected by pShare. Case overlays change only pShare route configuration, scripted sender mail, and receiver-side mission-owned pass/fail conditions.
Utility Infrastructure
Utility infrastructure tests for pShare. These cases verify direct route delivery, destination renaming, max-share limiting, wildcard source matching, source-app-qualified wildcards, multicast aliases, wildcard prefix renaming, caret wildcard renaming, duration expiry, shorthand route syntax, multi-destination fanout, command-line -o route configuration, and frequency throttling.
Stem Mission
The stem mission runs two local MOOS communities connected by pShare. Case overlays change only pShare route configuration, scripted sender mail, and receiver-side mission-owned pass/fail conditions.
Examples
Case Matrix
pshare_direct_route_pass
Routes ROUTE_TEST=alpha by unicast to destination ROUTE_TEST_RX; passes when shoreside receives ROUTE_TEST_RX=alpha.
pshare_rename_route_pass
Sends ROUTE_TEST=bravo through explicit dest_name=ROUTE_RENAMED, testing that pShare replaces rather than duplicates the source name; passes at the routed completion event when ROUTE_RENAMED=bravo and shoreside has received no ROUTE_TEST mail.
pshare_max_shares_one_pass
Configures max_shares=1 and posts LIMITED_SRC=first then second four seconds later; passes when LIMITED_RX remains first at evaluation.
pshare_wildcard_route_pass
Routes src_name=WILD_* and posts WILD_SRC=wildcard; passes when shoreside receives the same variable name and value.
pshare_duration_expiry_pass
Configures duration=3, posts DURATION_SRC=first at two seconds and second at eight, then evaluates at eleven; passes when DURATION_RX remains first after route expiry.
pshare_shorthand_route_pass
Sends SHORT_SRC=short through shorthand route SHORT_SRC->SHORT_RX, testing its rename semantics; passes at the routed completion event when SHORT_RX=short and shoreside has received no SHORT_SRC mail.
pshare_multi_dest_route_pass
Uses one shorthand route list to fan MULTI_SRC=fanout to MULTI_A and MULTI_B; passes when both destination variables equal fanout.
pshare_frequency_throttle_pass
Configures frequency=0.25 Hz and posts FREQ_SRC=first then second one second later; passes when FREQ_RX retains first.
pshare_cli_output_route_pass
Launches pShare with command-line route -o=CLI_SRC->CLI_RX and posts CLI_SRC=cli_route; passes when shoreside receives CLI_RX=cli_route.
pshare_wildcard_source_app_pass
Has alias uTimerBlocked post APPWILD_BLOCKED before uTimerScript posts APPWILD_ALLOWED and APPWILD_DONE through src_name=APPWILD_*:uTimerScript; passes on APPWILD_DONE when the allowed mail arrived and no blocked-source mail did.
pshare_multicast_alias_pass
Routes MCAST_SRC to MCAST_RX over multicast_17; passes when shoreside receives MCAST_RX=multicast on the alias-derived multicast input.
pshare_wildcard_prefix_rename_pass
Sends PFX_ONE=prefixed through wildcard destination prefix RENAMED_, testing prefix construction without source-name duplication; passes at the routed completion event when RENAMED_PFX_ONE=prefixed and shoreside has received no PFX_ONE mail.
pshare_wildcard_caret_rename_pass
Sends CARET_DELTA=caret through CARET_* with dest_name=^, testing that the wildcard-matched suffix becomes the complete destination name; passes at the routed completion event when DELTA=caret and shoreside has received no CARET_DELTA mail.