Skip to content

Implements unit tests for set src, allows for extra native proc hooks for testing - #2754

Draft
tontyGH wants to merge 5 commits into
OpenDreamProject:masterfrom
tontyGH:verb-unit-tests
Draft

tontyGH wants to merge 5 commits into
OpenDreamProject:masterfrom
tontyGH:verb-unit-tests

Conversation

@tontyGH

@tontyGH tontyGH commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #2747

@boring-cyborg boring-cyborg Bot added the Runtime Involves the OpenDream server/runtime label Nov 16, 2026
Comment on lines +222 to +223
public static void BindGlobalNativeProc(DreamObjectTree objectTree, NativeProc.HandlerFn func) => objectTree.SetGlobalNativeProc(func);
public static void BindNativeProc(DreamObjectTree objectTree, TreeEntry type, NativeProc.HandlerFn func) => objectTree.SetNativeProc(type, func);

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.

This is probably not very safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Runtime Involves the OpenDream server/runtime size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow integration tests to implement custom NativeDreamProc hooks

1 participant