Skip to content

Commit

Permalink
Include swimming data in tests #75
Browse files Browse the repository at this point in the history
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
pcolby committed Nov 18, 2017
1 parent 19c2d11 commit 9a94f68
Show file tree
Hide file tree
Showing 61 changed files with 41,483 additions and 2 deletions.
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 not shown.
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 not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
Binary file not shown.
Loading

0 comments on commit 9a94f68

Please sign in to comment.