mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-26 20:06:52 +01:00
Garmin: Fix unit tests
This commit is contained in:
parent
6474a6092e
commit
b4426c61be
1
.gitignore
vendored
1
.gitignore
vendored
@ -40,3 +40,4 @@ fw.dirs
|
||||
**/.classpath
|
||||
app/release/output-metadata.json
|
||||
app/.cxx/
|
||||
.attach_pid*
|
||||
|
@ -363,9 +363,9 @@ public class GarminSupportTest extends TestBase {
|
||||
"FitFileId{manufacturer=15, type=ACTIVITY, product=9001, serial_number=1701}, " +
|
||||
"FitDeveloperData{application_id=[1,1,2,3,5,8,13,21,34,55,89,144,233,121,98,219], developer_data_index=0}, " +
|
||||
"FitFieldDescription{developer_data_index=0, field_definition_number=0, fit_base_type_id=1, field_name=doughnuts_earned, units=doughnuts}, " +
|
||||
"FitRecord{heart_rate=140, unknown_4(UINT8/1)=88, distance=510.0, speed=47.488, doughnuts_earned=1}, " +
|
||||
"FitRecord{heart_rate=143, unknown_4(UINT8/1)=90, distance=2080.0, speed=36.416, doughnuts_earned=2}, " +
|
||||
"FitRecord{heart_rate=144, unknown_4(UINT8/1)=92, distance=3710.0, speed=35.344, doughnuts_earned=3}" +
|
||||
"FitRecord{heart_rate=140, cadence=88, distance=510.0, speed=47.488, doughnuts_earned=1}, " +
|
||||
"FitRecord{heart_rate=143, cadence=90, distance=2080.0, speed=36.416, doughnuts_earned=2}, " +
|
||||
"FitRecord{heart_rate=144, cadence=92, distance=3710.0, speed=35.344, doughnuts_earned=3}" +
|
||||
"]";
|
||||
|
||||
FitFile fitFile = FitFile.parseIncoming(fileContents);
|
||||
|
Loading…
Reference in New Issue
Block a user