Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock function separation #332

Closed
wants to merge 4 commits into from

Conversation

ceyhunsen
Copy link
Member

Description

This PR separates mock functions from main code and makes it impossible to be used them in release binaries.

To do this, mock code marked with cfg(test).

Linked Issues

Testing

Describe how these changes were tested. If you've added new features, have you
added unit tests?

Docs

Describe where this code is documented. If it changes a documented interface,
have the docs been updated?

@ceyhunsen ceyhunsen changed the base branch from main to ceyhun/db_overhaul October 3, 2024 08:29
@ceyhunsen
Copy link
Member Author

As discussed in #181, this work is not going anywhere.

@ceyhunsen ceyhunsen closed this Oct 4, 2024
@ceyhunsen ceyhunsen deleted the ceyhun/mock_interface_overhaul branch October 4, 2024 07:55
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.

Don't Compile Mock Interfaces With Release Binary
1 participant