Application.TlsDatabase: Add unit tests for local (non-GCR) pinning

Make the class internal so it can be tested, add unit tests covering
both in-memory-only and on-disk pinning.
This commit is contained in:
Michael Gratton 2020-08-25 16:37:08 +10:00
parent 423a55b00f
commit 964b03c068
4 changed files with 225 additions and 2 deletions

View file

@ -50,6 +50,7 @@ int main(string[] args) {
// Keep this before other ClientWebView based tests since it tests
// WebContext init
client.add_suite(new Accounts.ManagerTest().suite);
client.add_suite(new Application.CertificateManagerTest().suite);
client.add_suite(new Application.ClientTest().suite);
client.add_suite(new Application.ConfigurationTest().suite);
client.add_suite(new ClientWebViewTest().suite);