mirror of https://github.com/FOME-Tech/fome-fw.git
no output lookup in unit tests
This commit is contained in:
parent
1c3727442b
commit
62427a21ec
Binary file not shown.
|
@ -76,10 +76,12 @@ public class GetOutputValueConsumer implements ConfigurationConsumer {
|
|||
|
||||
String fullSwitch = wrapSwitchStatement(switchBody);
|
||||
|
||||
return FILE_HEADER +
|
||||
return "#if !EFI_UNIT_TEST\n" +
|
||||
FILE_HEADER +
|
||||
"float getOutputValueByName(const char *name) {\n" +
|
||||
fullSwitch +
|
||||
getterBody + GetConfigValueConsumer.GET_METHOD_FOOTER;
|
||||
getterBody + GetConfigValueConsumer.GET_METHOD_FOOTER +
|
||||
"#endif\n";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
|
Loading…
Reference in New Issue