-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note, the swimming data does produce some warnings, which will be looked into soon: ``` QWARN : TestTrainingSession::parseLaps(training-sessions-1942173310-exercises-1948583962-laps) "1/2/8/1" wire type 0 does not match expected wire type 5 for scalar type 2 . QWARN : TestTrainingSession::parseLaps(training-sessions-1942173310-exercises-1948583962-laps) "1/2/8/1" wire type 0 does not match expected wire type 5 for scalar type 2 . QWARN : TestTrainingSession::parseLaps(training-sessions-1942173310-exercises-1948583962-laps) "1/2/8/1" wire type 0 does not match expected wire type 5 for scalar type 2 . ... QWARN : TestTrainingSession::parseStatistics(training-sessions-1942173160-exercises-1948583842-statistics) "12/4/6" wire type 5 does not match expected wire type 0 for scalar type 5 . QWARN : TestTrainingSession::parseStatistics(training-sessions-1942173310-exercises-1948583962-statistics) "12/4/6" wire type 5 does not match expected wire type 0 for scalar type 5 . ... QWARN : TestTrainingSession::toGPX(training-sessions-1942173160) "12/4/6" wire type 5 does not match expected wire type 0 for scalar type 5 . QWARN : TestTrainingSession::toGPX(training-sessions-1942173310) "1/2/8/1" wire type 0 does not match expected wire type 5 for scalar type 2 . QWARN : TestTrainingSession::toGPX(training-sessions-1942173310) "1/2/8/1" wire type 0 does not match expected wire type 5 for scalar type 2 . QWARN : TestTrainingSession::toGPX(training-sessions-1942173310) "1/2/8/1" wire type 0 does not match expected wire type 5 for scalar type 2 . QWARN : TestTrainingSession::toGPX(training-sessions-1942173310) "12/4/6" wire type 5 does not match expected wire type 0 for scalar type 5 . ```
- Loading branch information
Showing
61 changed files
with
41,483 additions
and
2 deletions.
There are no files selected for viewing
217 changes: 217 additions & 0 deletions
217
test/polar/v2/testdata/training-sessions-1942173160-create.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,217 @@ | ||
{ | ||
"calories": [ | ||
59 | ||
], | ||
"device": [ | ||
"993D1E1E" | ||
], | ||
"distance": [ | ||
150 | ||
], | ||
"duration": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
750 | ||
], | ||
"minutes": [ | ||
3 | ||
], | ||
"seconds": [ | ||
55 | ||
] | ||
} | ||
], | ||
"end": [ | ||
{ | ||
"date": [ | ||
{ | ||
"day": [ | ||
17 | ||
], | ||
"month": [ | ||
11 | ||
], | ||
"year": [ | ||
2017 | ||
] | ||
} | ||
], | ||
"offset": [ | ||
60 | ||
], | ||
"time": [ | ||
{ | ||
"hour": [ | ||
15 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minute": [ | ||
58 | ||
], | ||
"seconds": [ | ||
37 | ||
] | ||
} | ||
], | ||
"trusted": [ | ||
0 | ||
] | ||
} | ||
], | ||
"exercise-count": [ | ||
1 | ||
], | ||
"heartrate": [ | ||
{ | ||
"average": [ | ||
149 | ||
], | ||
"maximum": [ | ||
163 | ||
] | ||
} | ||
], | ||
"heartrate-duration": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"minutes": [ | ||
0 | ||
], | ||
"seconds": [ | ||
14 | ||
] | ||
}, | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"minutes": [ | ||
0 | ||
], | ||
"seconds": [ | ||
13 | ||
] | ||
}, | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"minutes": [ | ||
1 | ||
], | ||
"seconds": [ | ||
51 | ||
] | ||
}, | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"minutes": [ | ||
1 | ||
], | ||
"seconds": [ | ||
31 | ||
] | ||
}, | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"minutes": [ | ||
0 | ||
], | ||
"seconds": [ | ||
0 | ||
] | ||
} | ||
], | ||
"model": [ | ||
"Polar V800" | ||
], | ||
"session-name": [ | ||
{ | ||
"text": [ | ||
"Bahnschwimm." | ||
] | ||
} | ||
], | ||
"start": [ | ||
{ | ||
"date": [ | ||
{ | ||
"day": [ | ||
17 | ||
], | ||
"month": [ | ||
11 | ||
], | ||
"year": [ | ||
2017 | ||
] | ||
} | ||
], | ||
"offset": [ | ||
60 | ||
], | ||
"time": [ | ||
{ | ||
"hour": [ | ||
15 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minute": [ | ||
54 | ||
], | ||
"seconds": [ | ||
30 | ||
] | ||
} | ||
], | ||
"trusted": [ | ||
0 | ||
] | ||
} | ||
], | ||
"training-load": [ | ||
{ | ||
"carbs": [ | ||
77 | ||
], | ||
"fat": [ | ||
22 | ||
], | ||
"load-value": [ | ||
7 | ||
], | ||
"protein": [ | ||
1 | ||
], | ||
"recovery-time": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minutes": [ | ||
20 | ||
], | ||
"seconds": [ | ||
0 | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+2.56 KB
test/polar/v2/testdata/training-sessions-1942173160-create.expected.var
Binary file not shown.
128 changes: 128 additions & 0 deletions
128
.../polar/v2/testdata/training-sessions-1942173160-exercises-1948583842-create.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"calories": [ | ||
59 | ||
], | ||
"distance": [ | ||
150 | ||
], | ||
"duration": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
750 | ||
], | ||
"minutes": [ | ||
3 | ||
], | ||
"seconds": [ | ||
55 | ||
] | ||
} | ||
], | ||
"sensors": [ | ||
1, | ||
2, | ||
3, | ||
4, | ||
20, | ||
21, | ||
6, | ||
7, | ||
8, | ||
11, | ||
13, | ||
14, | ||
15, | ||
16, | ||
17, | ||
18, | ||
19, | ||
26, | ||
27, | ||
6, | ||
28, | ||
29, | ||
6, | ||
31 | ||
], | ||
"sport": [ | ||
{ | ||
"value": [ | ||
103 | ||
] | ||
} | ||
], | ||
"start": [ | ||
{ | ||
"date": [ | ||
{ | ||
"day": [ | ||
17 | ||
], | ||
"month": [ | ||
11 | ||
], | ||
"year": [ | ||
2017 | ||
] | ||
} | ||
], | ||
"offset": [ | ||
60 | ||
], | ||
"time": [ | ||
{ | ||
"hour": [ | ||
15 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minute": [ | ||
54 | ||
], | ||
"seconds": [ | ||
30 | ||
] | ||
} | ||
], | ||
"trusted": [ | ||
0 | ||
] | ||
} | ||
], | ||
"training-load": [ | ||
{ | ||
"carbs": [ | ||
77 | ||
], | ||
"fat": [ | ||
22 | ||
], | ||
"load-value": [ | ||
7 | ||
], | ||
"protein": [ | ||
1 | ||
], | ||
"recovery-time": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minutes": [ | ||
20 | ||
], | ||
"seconds": [ | ||
0 | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+1.51 KB
test/polar/v2/testdata/training-sessions-1942173160-exercises-1948583842-create.expected.var
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
test/polar/v2/testdata/training-sessions-1942173160-exercises-1948583842-laps.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
Binary file added
BIN
+4 Bytes
test/polar/v2/testdata/training-sessions-1942173160-exercises-1948583842-laps.expected.var
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
test/polar/v2/testdata/training-sessions-1942173160-exercises-1948583842-route.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
Binary file added
BIN
+4 Bytes
test/polar/v2/testdata/training-sessions-1942173160-exercises-1948583842-route.expected.var
Binary file not shown.
Oops, something went wrong.