Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 093245af authored by Mark Renouf's avatar Mark Renouf
Browse files

Adds FakeFeatureFlags for testing

No default values are used or provided from this class.
Reading a flag value which has not been previously `set`
will result in an IllegalStateException.

This is designed to prevent tests which unknowingly rely
on default flag values to succeed. By specifying flag
values up front, a test documents dependencies in code.

Test: atest FakeFeatureFlagsTest
Change-Id: Ie367d784a4005be4686875ce5e992ad92155379a
parent 2ff2a64c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment