tc updates

This commit is contained in:
Ziver Koc 2016-10-02 21:29:50 +02:00
parent 0a9bca2804
commit ffe721ab97
3 changed files with 4 additions and 4 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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