Class org.mozilla.fenix.home.sessioncontrol.SessionControlAdapterTest
Tests
Test |
Duration |
Result |
GIVEN topSitePager with 10 topSites WHEN getChangePayload with 5 items THEN return null |
0.007s |
passed |
GIVEN topSitePager with 3 topSites WHEN getChangePayload with 5 items THEN return null |
0.003s |
passed |
GIVEN topSitePager with 5 topSites WHEN getChangePayload with 10 items THEN return null |
0.002s |
passed |
GIVEN two topSites WHEN getChangePayload called with one changed item THEN return TopSitePagerPayload with changes |
0.003s |
passed |
GIVEN two topSites WHEN getChangePayload called with one removed THEN return TopSitePagerPayload with removed item |
0s |
passed |
WHEN getChangePayload called with wrong type THEN return null |
0.256s |
passed |