Skip to content

Raise SymconStubs and adapt the tests - #21

Open
bumaas wants to merge 1 commit into
symcon:masterfrom
bumaas:stubs-31f2e04
Open

bumaas wants to merge 1 commit into
symcon:masterfrom
bumaas:stubs-31f2e04

Conversation

@bumaas

@bumaas bumaas commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

The stubs became much stricter with symcon/SymconStubs#78 and #79. This raises the submodule to 31f2e04 and adapts the tests. The module itself is unchanged.

  • prepareParentIo() no longer registers Active, URL and Headers on the SSE Client. The stub registers them itself now and only allows registrations in Create().
  • ConnectParent() already connects the configurator and the devices. The tests take that connection instead of calling IPS_ConnectInstance() again, which the kernel rejects as well.

The CI stays red until symcon/SymconStubs#80 is merged. Against 31f2e04 alone, the SSE data flow, the string association list and SetBuffer() with an integer still fail. With #80 all tests pass, and I'll raise the submodule once it is merged.

The stricter stubs reject what the kernel rejects as well:
- The SSE Client now registers Active, URL and Headers itself
  (symcon/SymconStubs#80), registering them again via reflection fails.
- ConnectParent() already connects configurator and devices, so the tests
  take the existing connection instead of calling IPS_ConnectInstance() again.

Green with symcon/SymconStubs#80; against 31f2e04 alone the SSE data flow,
the string association list and SetBuffer() with an integer still fail.
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.

1 participant