Class org.mozilla.fenix.perf.StartupStateProviderTest

28

tests

0

failures

0

ignored

0.558s

duration

100%

successful

Tests

Test Duration Result
GIVEN the app did not start for an activity WHEN is cold is checked THEN it returns false 0.003s passed
GIVEN the app has been stopped WHEN an activity has not been created THEN it's not a hot start 0.002s passed
GIVEN the app has been stopped WHEN an activity has not been created THEN it's not a warm start 0.003s passed
GIVEN the app has been stopped WHEN an activity has not been started THEN it's not a hot start 0.001s passed
GIVEN the app has been stopped WHEN an activity has not been started THEN it's not a warm start 0.002s passed
GIVEN the app has been stopped WHEN is cold short circuit is called THEN it returns true 0.002s passed
GIVEN the app has not been stopped WHEN an activity has not been created THEN it's not a hot start 0.002s passed
GIVEN the app has not been stopped WHEN an activity has not been created THEN it's not a warm start 0.001s passed
GIVEN the app has not been stopped WHEN is cold short circuit is called THEN it returns false 0.002s passed
GIVEN the app started for an activity WHEN an activity hasn't been created yet THEN start up is not cold 0.491s passed
GIVEN the app started for an activity WHEN an activity hasn't started yet THEN start up is not cold 0.001s passed
GIVEN the app started for an activity WHEN hot start THEN cold start is false 0.003s passed
GIVEN the app started for an activity WHEN is cold start THEN cold start is true 0.003s passed
GIVEN the app started for an activity WHEN is cold start THEN hot start is false 0.003s passed
GIVEN the app started for an activity WHEN is cold start THEN warm start is false 0.003s passed
GIVEN the app started for an activity WHEN is hot start THEN hot start is true 0.003s passed
GIVEN the app started for an activity WHEN is hot start THEN warm start is false 0.002s passed
GIVEN the app started for an activity WHEN is warm start THEN hot start is false 0.003s passed
GIVEN the app started for an activity WHEN is warm start THEN warm start is true 0.003s passed
GIVEN the app started for an activity WHEN it is a cold start THEN get startup state is cold 0.004s passed
GIVEN the app started for an activity WHEN two HomeActivities are created THEN start up is not cold 0.002s passed
GIVEN the app started for an activity WHEN warm start THEN cold start is false 0.002s passed
GIVEN the app started for an activity WHEN we launched HA through a drawing IntentRA THEN start up is not cold 0.002s passed
GIVEN the app started for an activity WHEN we launched HA through a drawing IntentRA THEN start up is not hot 0.002s passed
GIVEN the app started for an activity WHEN we launched HA through a drawing IntentRA THEN start up is not warm 0.003s passed
WHEN it is a hot start THEN get startup state is hot 0.004s passed
WHEN it is a warm start THEN get startup state is warm 0.004s passed
WHEN two activities are started THEN get startup state is unknown 0.002s passed