Tiny test for GattCharacteristic class
This commit is contained in:
parent
6c269aa089
commit
96203f574f
|
@ -0,0 +1,14 @@
|
|||
package nodomain.freeyourgadget.gadgetbridge.test;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.service.btle.GattCharacteristic;
|
||||
|
||||
public class MiscTest extends TestBase {
|
||||
@Test
|
||||
public void testGattCharacteristic() {
|
||||
String desc = GattCharacteristic.lookup(GattCharacteristic.UUID_CHARACTERISTIC_HEART_RATE_CONTROL_POINT, "xxx");
|
||||
Assert.assertEquals("heart rate control point", desc);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue