Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-testing
/
org.meshtastic.core.testing
/
FakeDeviceHardwareRepository
/
setResult
set
Result
fun
setResult
(
hwModel
:
Int
,
target
:
String
?
=
null
,
result
:
Result
<
DeviceHardware
?
>
)
(
source
)
Seeds an arbitrary
Result
for the given lookup (use to test failure paths).