Skip to content

Commit

Permalink
Fix checkstyle issues in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hayes committed Jan 19, 2024
1 parent 889feb1 commit c4f4e5d
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,13 @@
import static org.junit.Assert.assertNotEquals;

import io.openems.edge.battery.pylontech.powercubem2.PylontechPowercubeM2Battery.Status;
import io.openems.edge.bridge.modbus.test.DummyModbusBridge;
import io.openems.edge.common.startstop.StartStopConfig;
import io.openems.edge.common.test.ComponentTest;
import io.openems.edge.common.test.DummyComponentManager;
import io.openems.edge.common.test.DummyConfigurationAdmin;
import io.openems.edge.common.test.AbstractComponentTest.TestCase;

/**
* Test to check that the battery component is correctly calculating the battery version number from registers
* and correctly reading the status bit.
*/
public class StatusAndVersionNumberTest {

private static final String BATTERY_ID = "battery0";
private static final String MODBUS_ID = "modbus0";

@Test
public void testVersionNumber() throws Exception {
var battery = new PylontechPowercubeM2BatteryImpl();
Expand Down

0 comments on commit c4f4e5d

Please sign in to comment.