Class mozilla.components.browser.engine.gecko.cookiebanners.GeckoCookieBannersStorageTest
Tests
Test |
Duration |
Result |
GIVEN a cookie banner mode WHEN adding a persistent exception in private mode THEN add a persistent exception for the given uri in private browsing mode |
0.004s |
passed |
GIVEN a cookie banner mode WHEN adding an exception THEN add an exception for the given uri and browsing mode |
0.005s |
passed |
GIVEN an error WHEN checking for an exception THEN indicate if that an error happened |
0.005s |
passed |
GIVEN error WHEN querying an exception THEN return null |
0.005s |
passed |
GIVEN site domain url WHEN saving a site domain THEN the save method from repository should get called |
0.005s |
passed |
GIVEN site domain url WHEN checking if site domain is reported THEN the report site domain repository gets called |
0.023s |
passed |
GIVEN uri and browsing mode WHEN checking for an exception THEN indicate if it has exceptions |
0.907s |
passed |
GIVEN uri and browsing mode WHEN querying an exception THEN return the matching exception |
0.005s |
passed |
GIVEN uri and browsing mode WHEN removing an exception THEN remove the exception |
0.005s |
passed |