Skip to content

Commit 7df7406

Browse files
DerStoeckida-Kaisfeilmeier
authoredOct 25, 2023
Move TimeLeapClock from edge.common to common (OpenEMS#2395)
* Moved TimeLeapClock from edge.common to common UnitTests of Backend have no access to TimeLeapClock, this commit fixes the issue. Co-authored-by: Kai Jeschek <99220919+da-Kai@users.noreply.github.com> * Fix sorting of imports --------- Co-authored-by: Kai Jeschek <99220919+da-Kai@users.noreply.github.com> Co-authored-by: Stefan Feilmeier <stefan.feilmeier@fenecon.de>
1 parent 90e870f commit 7df7406

File tree

41 files changed

+41
-40
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+41
-40
lines changed
 

‎io.openems.edge.common/src/io/openems/edge/common/test/TimeLeapClock.java ‎io.openems.common/src/io/openems/common/test/TimeLeapClock.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.openems.edge.common.test;
1+
package io.openems.common.test;
22

33
import java.time.Clock;
44
import java.time.Instant;

‎io.openems.edge.battery.api/test/io/openems/edge/battery/protection/BatteryProtectionTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import org.junit.Test;
88

99
import io.openems.common.channel.Unit;
10+
import io.openems.common.test.TimeLeapClock;
1011
import io.openems.common.types.ChannelAddress;
1112
import io.openems.common.types.OpenemsType;
1213
import io.openems.edge.battery.protection.currenthandler.ChargeMaxCurrentHandler;
@@ -21,7 +22,6 @@
2122
import io.openems.edge.common.test.AbstractComponentTest.TestCase;
2223
import io.openems.edge.common.test.ComponentTest;
2324
import io.openems.edge.common.test.DummyComponentManager;
24-
import io.openems.edge.common.test.TimeLeapClock;
2525

2626
public class BatteryProtectionTest {
2727

0 commit comments

Comments
 (0)
Please sign in to comment.