mozilla-mobile / mozilla-vpn-client

A fast, secure and easy to use VPN. Built by the makers of Firefox.
https://vpn.mozilla.org
Other
442 stars 103 forks source link

[Android] Make it possible to write tests for code that loads NDK-based native code #4982

Open data-sync-user opened 1 year ago

data-sync-user commented 1 year ago

With the latest gradle-refactoring we can now write Tests for the Android Deamon, to Test Wireguard, Glean, Notification and similar components. However we would also need infrastructure to run those tests. Perferrably on Taskcluster :slightly_smiling_face:

┆Issue is synchronized with this Jira Task ┆Reporter: Basti

data-sync-user commented 5 months ago

➤ Beatriz Rizental Machado commented:

Note, we now have such infrastructure 🎉 but we are still unable to test the daemon, wireguard and Glean stuff. Quote ( https://github.com/mozilla-mobile/mozilla-vpn-client/pull/9046#issuecomment-1916943291 ) from Basti

{quote}We cannot test classes that load ndk-based native code. So neither vpnservice (wireguard.so) and glean are good candidates for this type of tests.{quote}