diff --git a/java_console/io/src/main/java/com/rusefi/io/can/PCanIoStream.java b/java_console/io/src/main/java/com/rusefi/io/can/PCanIoStream.java index b58c8fa3f5..6279649cd1 100644 --- a/java_console/io/src/main/java/com/rusefi/io/can/PCanIoStream.java +++ b/java_console/io/src/main/java/com/rusefi/io/can/PCanIoStream.java @@ -135,4 +135,11 @@ public class PCanIoStream extends AbstractIoStream { public IncomingDataBuffer getDataBuffer() { return dataBuffer; } + + @Override + public String toString() { + return "PCanIoStream{" + PCanHelper.CHANNEL + ", " + + "totalCounter=" + totalCounter + + '}'; + } } diff --git a/java_console/io/src/main/java/com/rusefi/io/serial/RateCounter.java b/java_console/io/src/main/java/com/rusefi/io/serial/RateCounter.java index 8fad5a926c..437f2ed695 100644 --- a/java_console/io/src/main/java/com/rusefi/io/serial/RateCounter.java +++ b/java_console/io/src/main/java/com/rusefi/io/serial/RateCounter.java @@ -40,6 +40,13 @@ public class RateCounter { timeStamps.add(new Pair(timestamp, 1)); } + @Override + public String toString() { + return "RateCounter{" + + getSizeForUnitTest() + + '}'; + } + private static class Pair { private final long timestamp; private final int value;