After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776421 - Make client classes unit testable
Make client classes unit testable
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: build
master
Other Linux
: Normal normal
: 0.12.0
Assigned To: Michael Gratton
Geary Maintainers
Depends on: 713387
Blocks: geary-wk2
 
 
Reported: 2016-12-23 02:12 UTC by Michael Gratton
Modified: 2016-12-26 02:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gratton 2016-12-23 02:12:10 UTC
Per Bug 713387, while I was hoping to get away without it, looks like for bug #geary-wk2 I need to be able to unit test client classes.

So: Build the client as a static lib, link that to main.vala to generate the client executable, and depend on the static lib for the unit tests.
Comment 1 Michael Gratton 2016-12-26 02:59:35 UTC
Bug branch merged and pushed to master as commit f7af75f.