mirror of https://github.com/rusefi/rusefi.git
only:junit usability
This commit is contained in:
parent
f2df4142da
commit
ccc3cbf22f
|
@ -53,11 +53,17 @@ jobs:
|
|||
working-directory: ./java_tools
|
||||
run: ./gradlew test
|
||||
|
||||
- name: Publish Gradle Test Report
|
||||
uses: mikepenz/action-junit-report@v3
|
||||
if: success() || failure() # always run even if the previous step fails
|
||||
with:
|
||||
report_paths: '**/build/test-results/test/TEST-*.xml'
|
||||
|
||||
- name: Build console
|
||||
working-directory: ./java_console
|
||||
run: ant jar
|
||||
|
||||
- name: Attach console junit results
|
||||
- name: Attach Ant console junit results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
@ -75,7 +75,7 @@ public class JniUnitTest {
|
|||
System.out.println("engineLogic.invokeEtbCycle");
|
||||
engineLogic.invokeEtbCycle();
|
||||
|
||||
assertEquals(120.38, getValue(engineLogic.getOutputs(), Sensor.etb1DutyCycle));
|
||||
assertEquals("ETB duty", 120.38, getValue(engineLogic.getOutputs(), Sensor.etb1DutyCycle));
|
||||
}
|
||||
|
||||
private double getField(EngineLogic engineLogic, Field field) {
|
||||
|
|
Loading…
Reference in New Issue