generate java enum from C enum? generate both C and java from yaml? #2102
This commit is contained in:
parent
bab01ff701
commit
719ecae60f
|
@ -341,7 +341,7 @@ public class CommonFunctionalTest extends RusefiTestBase {
|
|||
assertWaveNotNull(msg, chart, EngineChart.SPARK_1);
|
||||
|
||||
assertWaveNull(msg, chart, EngineChart.TRIGGER_2);
|
||||
sendComplexCommand("set " + "trigger_type" + " " + TT_TT_FORD_ASPIRE);
|
||||
sendComplexCommand("set " + "trigger_type" + " " + com.rusefi.enums.trigger_type_e.TT_FORD_ASPIRE.ordinal());
|
||||
chart = nextChart();
|
||||
assertTrue(chart.get(EngineChart.TRIGGER_2) != null);
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ public class PwmHardwareTest extends RusefiTestBase {
|
|||
@Test
|
||||
public void scheduleBurnDoesNotAffectTriggerIssue2839() {
|
||||
ecu.setEngineType(engine_type_e.FORD_ASPIRE_1996);
|
||||
ecu.sendCommand("set " + "trigger_type" + " " + TT_TT_TOOTHED_WHEEL_60_2);
|
||||
ecu.sendCommand("set " + "trigger_type" + " " + com.rusefi.enums.trigger_type_e.TT_TOOTHED_WHEEL_60_2.ordinal());
|
||||
ecu.sendCommand(getDisableCommand(Fields.CMD_SELF_STIMULATION));
|
||||
ecu.sendCommand(getEnableCommand(CMD_EXTERNAL_STIMULATION));
|
||||
ecu.changeRpm(1200);
|
||||
|
|
Loading…
Reference in New Issue