tc updates
This commit is contained in:
parent
0a9bca2804
commit
ffe721ab97
3 changed files with 4 additions and 4 deletions
|
|
@ -96,7 +96,7 @@ public class TelstickSerialCommEventTest {
|
|||
|
||||
ArrayList<TellstickDecodedEntry> list = new ArrayList<>();
|
||||
list.add(new TellstickDecodedEntry(
|
||||
this, new DimmerEventData(testData)
|
||||
this, new DimmerEventData(testData, System.currentTimeMillis())
|
||||
));
|
||||
return list;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ public class TelstickSerialCommSensorTest {
|
|||
|
||||
ArrayList<TellstickDecodedEntry> list = new ArrayList<>();
|
||||
list.add(new TellstickDecodedEntry(
|
||||
this, new TemperatureSensorData(testData)
|
||||
this, new TemperatureSensorData(testData, 0)
|
||||
));
|
||||
return list;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class NexaSelfLearningTest {
|
|||
NexaSelfLearning nexaDevice = new NexaSelfLearning();
|
||||
nexaDevice.setHouse(11_772_006);
|
||||
nexaDevice.setUnit(3);
|
||||
SwitchEventData nexaData = new SwitchEventData(true);
|
||||
SwitchEventData nexaData = new SwitchEventData(true, System.currentTimeMillis());
|
||||
|
||||
byte[] expected = Converter.toBytes(new char[]{
|
||||
84, // T
|
||||
|
|
@ -69,7 +69,7 @@ public class NexaSelfLearningTest {
|
|||
NexaSelfLearningDimmer nexaDevice = new NexaSelfLearningDimmer();
|
||||
nexaDevice.setHouse(11_772_006);
|
||||
nexaDevice.setUnit(3);
|
||||
DimmerEventData nexaData = new DimmerEventData(0.5);
|
||||
DimmerEventData nexaData = new DimmerEventData(0.5, System.currentTimeMillis());
|
||||
|
||||
byte[] expected = Converter.toBytes(new char[]{
|
||||
84, // T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue