Skip to content

Commit

Permalink
no output lookup in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Jul 2, 2023
1 parent 1c37274 commit 62427a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified java_tools/ConfigDefinition.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ public String getContent() {

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
Expand Down

0 comments on commit 62427a2

Please sign in to comment.