close
Skip to content

Add dummy systray_mac to fix unit tests#2187

Merged
stffabi merged 1 commit into
wailsapp:masterfrom
avengerweb:master
Dec 10, 2022
Merged

Add dummy systray_mac to fix unit tests#2187
stffabi merged 1 commit into
wailsapp:masterfrom
avengerweb:master

Conversation

@avengerweb

Copy link
Copy Markdown
Contributor

Unit tests are broken after b84a2e5 because it has build restriction only for windows.

This PR is fixing tests for MacOS by adding Systray structure that will produce NotImplemented error if someone try to use it on Mac; however it still be buildable and testable.

@stffabi

stffabi commented Dec 9, 2022

Copy link
Copy Markdown
Contributor

Awesome, thanks so much for taking your time to fix this 🙏.

LGTM, just a little comment:
I suspect the same iasue applies to Linux. Would it be possible for you to change this to include the dummy systray for all platforms other than Windows?

@avengerweb

Copy link
Copy Markdown
Contributor Author

Will do it tonight

@leaanthony

Copy link
Copy Markdown
Member

I'll handle the Linux fix in a different PR 👍

@stffabi
stffabi merged commit 7a22e0f into wailsapp:master Dec 10, 2022
@stffabi

stffabi commented Dec 10, 2022

Copy link
Copy Markdown
Contributor

Thanks again for taking your time fixing this 🙏

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.

3 participants