diff --git a/java_tools/configuration_definition/src/test/java/com/rusefi/pinout/PinoutLogicIntegratedTest.java b/java_tools/configuration_definition/src/test/java/com/rusefi/pinout/PinoutLogicIntegratedTest.java index fde5d1f6ba..50d396dbca 100644 --- a/java_tools/configuration_definition/src/test/java/com/rusefi/pinout/PinoutLogicIntegratedTest.java +++ b/java_tools/configuration_definition/src/test/java/com/rusefi/pinout/PinoutLogicIntegratedTest.java @@ -22,7 +22,20 @@ public class PinoutLogicIntegratedTest { " class: [event_inputs, switch_inputs]\n" + " function: Digital trigger/switch input for instance Hall type CAM\n" + " ts_name: Digital 2\n" + - " type: din", ""); + " type: din", + "//DO NOT EDIT MANUALLY, let automation work hard.\n" + + "\n" + + "// auto-generated by PinoutLogic.java based on key\n" + + "#include \"pch.h\"\n" + + "\n" + + "// see comments at declaration in pin_repository.h\n" + + "const char * getBoardSpecificPinName(brain_pin_e brainPin) {\n" + + "\tswitch(brainPin) {\n" + + "\t\tcase Gpio::E11: return \"Digital 2\";\n" + + "\t\tdefault: return nullptr;\n" + + "\t}\n" + + "\treturn nullptr;\n" + + "}\n"); } @@ -72,6 +85,6 @@ public class PinoutLogicIntegratedTest { logic.registerBoardSpecificPinNames(state.getVariableRegistry(), definitionState, state.getEnumsReader()); - // assertEquals(expected, testWriter.getBuffer().toString()); + assertEquals(expected, testWriter.getBuffer().toString()); } }