1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 09:17:29 +01:00

Garmin: Fix logging during tests

This commit is contained in:
José Rebelo 2024-04-28 18:29:19 +01:00 committed by Daniele Gobbetti
parent 1ecb1feb4d
commit 92b838f90c

View File

@ -16,10 +16,11 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.RecordDat
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.RecordDefinition; import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.RecordDefinition;
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.RecordHeader; import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.RecordHeader;
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.baseTypes.BaseType; import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.baseTypes.BaseType;
import nodomain.freeyourgadget.gadgetbridge.test.TestBase;
import nodomain.freeyourgadget.gadgetbridge.util.GB; import nodomain.freeyourgadget.gadgetbridge.util.GB;
public class GarminSupportTest { public class GarminSupportTest extends TestBase {
//test strings from https://github.com/themarpe/cobs-java/blob/master/tests-java/Tests.java //test strings from https://github.com/themarpe/cobs-java/blob/master/tests-java/Tests.java
static final byte[] test_string_0 = new byte[]{0, 0, 0, 0}; static final byte[] test_string_0 = new byte[]{0, 0, 0, 0};
static final byte[] test_string_1 = new byte[]{0, '1', '2', '3', '4', '5'}; static final byte[] test_string_1 = new byte[]{0, '1', '2', '3', '4', '5'};