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

Skip to content
Commit c70258fc authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB Refactor] Fix WifiViewModelIconParameterizedTest.

1. Make the test data constant instead of re-creating it each time.
2. Define better toStrings for WifiNetworkModel and for the test helper
   classes.

Sample new test name:
"when INPUT(enabled=true, forceHidden=false, showWhenEnabled=false,
hasDataCaps=false, network=WifiNetwork.Active(networkId=789,
isValidated=false, level=2, ssid=null)) then EXPECTED(No internet level
2 icon)"

Fixes: 251832633
Test: WifiViewModelIconParameterizedTest
Change-Id: I31a861d0f16843ad3f46bcbe699ef4a1ce42cbc5
parent f4ceebba
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