Class org.mozilla.fenix.settings.doh.DefaultDohSettingsProviderTest
Tests
Test |
Duration |
Result |
WHEN exceptions are set, the engine DoH settings exceptions are also updated |
0s |
passed |
WHEN getDefaultProviders is called, the engine default provider is marked as default |
0s |
passed |
WHEN getExceptions is called, the correct exceptionsList is returned |
0s |
passed |
WHEN getSelectedProtectionLevel is called, the correct selected protection level is returned |
0s |
passed |
WHEN getSelectedProvider is called, the correct selected provider is returned |
0.001s |
passed |
WHEN protection level is set to Default, the engine DoH settings mode is updated |
0.010s |
passed |
WHEN protection level is set to Increased without a provider, an exception is thrown |
0.001s |
passed |
WHEN protection level is set to Increased, the engine DoH settings mode is set to increased with the supplied provider |
0s |
passed |
WHEN protection level is set to Max without a provider, an exception is thrown |
0.001s |
passed |
WHEN protection level is set to Max, the engine DoH settings mode is set to increased with the supplied provider |
0s |
passed |
WHEN protection level is set to Off, the engine DoH settings mode is updated |
0.001s |
passed |
WHEN setCustomProvider is called with a url, the engine DoH provider url is also updated |
0s |
passed |