Skip to content

MMCoreJ: refactor java methods and add unit tests metadata handling#835

Merged
marktsuchida merged 2 commits intomicro-manager:mainfrom
marktsuchida:mmcorej-refactor-java-methods
Feb 13, 2026
Merged

MMCoreJ: refactor java methods and add unit tests metadata handling#835
marktsuchida merged 2 commits intomicro-manager:mainfrom
marktsuchida:mmcorej-refactor-java-methods

Conversation

@marktsuchida
Copy link
Copy Markdown
Member

Move much of the Java code out of the SWIG input MMCoreJ.i and into 2 package-private classes.

Add unit tests for the factored out methods related to metadata handling, so that we know what's happening (including potentially undesirable behavior).

For readability of MMCoreJ.i and for testability of the Java methods
(especially the ones that generate metadata).

Checked with diff to ensure the move methods have not substantially
changed.

(Assisted by Claude Code; any errors are mine.)
Constrain the current behavior even where it does not seem like the
desired behavior, because the details may be relied upon by downstream
(especially acquisition engines and datastores).

(Assisted by Claude Code; any errors are mine.)
@marktsuchida marktsuchida merged commit 880d5e9 into micro-manager:main Feb 13, 2026
16 checks passed
@marktsuchida marktsuchida deleted the mmcorej-refactor-java-methods branch February 13, 2026 23:31
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