Search in sources :

Example 6 with TelegesisEvent

use of com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisEvent in project com.zsmartsystems.zigbee by zsmartsystems.

the class TelegesisEventFactoryTest method testGetUnknownEvent.

@Test
public void testGetUnknownEvent() {
    TelegesisEvent event = TelegesisEventFactory.getTelegesisFrame(stringToIntArray("UNKNOWN:1234,1234567890ABCDEF"));
    assertNull(event);
}
Also used : TelegesisEvent(com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisEvent) TelegesisFrameBaseTest(com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisFrameBaseTest) Test(org.junit.Test)

Example 7 with TelegesisEvent

use of com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisEvent in project com.zsmartsystems.zigbee by zsmartsystems.

the class TelegesisEventFactoryTest method testEventHash.

@Test
public void testEventHash() {
    TelegesisEvent event = TelegesisEventFactory.getTelegesisFrame(stringToIntArray("LEFTNODE:1234,1234567890ABCDEF"));
    assertNull(event);
}
Also used : TelegesisEvent(com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisEvent) TelegesisFrameBaseTest(com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisFrameBaseTest) Test(org.junit.Test)

Aggregations

TelegesisEvent (com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisEvent)7 Test (org.junit.Test)6 TelegesisFrameBaseTest (com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisFrameBaseTest)5 TelegesisDeviceLeftNetworkEvent (com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisDeviceLeftNetworkEvent)1 TelegesisNetworkLostEvent (com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisNetworkLostEvent)1 TelegesisSleepyDeviceAnnounceEvent (com.zsmartsystems.zigbee.dongle.telegesis.internal.protocol.TelegesisSleepyDeviceAnnounceEvent)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 Method (java.lang.reflect.Method)1 ArrayList (java.util.ArrayList)1 Ignore (org.junit.Ignore)1