-
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.
Include power data in all relevant tests (#43)
This only tests against the existing (incomplete) power support, but will show (in subsequent releases) the progression as power support is added to Bipolar.
- Loading branch information
Showing
29 changed files
with
3,121 additions
and
0 deletions.
There are no files selected for viewing
138 changes: 138 additions & 0 deletions
138
test/polar/v2/testdata/training-sessions-42261903-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,138 @@ | ||
{ | ||
"calories": [ | ||
2 | ||
], | ||
"device": [ | ||
"31A1881C" | ||
], | ||
"duration": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
750 | ||
], | ||
"minutes": [ | ||
0 | ||
], | ||
"seconds": [ | ||
35 | ||
] | ||
} | ||
], | ||
"end": [ | ||
{ | ||
"3": [ | ||
0 | ||
], | ||
"date": [ | ||
{ | ||
"day": [ | ||
29 | ||
], | ||
"month": [ | ||
12 | ||
], | ||
"year": [ | ||
2014 | ||
] | ||
} | ||
], | ||
"offset": [ | ||
60 | ||
], | ||
"time": [ | ||
{ | ||
"hour": [ | ||
12 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minute": [ | ||
59 | ||
], | ||
"seconds": [ | ||
31 | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"exercise-count": [ | ||
1 | ||
], | ||
"model": [ | ||
"Polar V800" | ||
], | ||
"session-name": [ | ||
{ | ||
"text": [ | ||
"Inomhuscykling" | ||
] | ||
} | ||
], | ||
"start": [ | ||
{ | ||
"3": [ | ||
0 | ||
], | ||
"date": [ | ||
{ | ||
"day": [ | ||
29 | ||
], | ||
"month": [ | ||
12 | ||
], | ||
"year": [ | ||
2014 | ||
] | ||
} | ||
], | ||
"offset": [ | ||
60 | ||
], | ||
"time": [ | ||
{ | ||
"hour": [ | ||
12 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minute": [ | ||
58 | ||
], | ||
"seconds": [ | ||
44 | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"training-load": [ | ||
{ | ||
"load-value": [ | ||
0 | ||
], | ||
"recovery-time": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minutes": [ | ||
2 | ||
], | ||
"seconds": [ | ||
0 | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+1.62 KB
test/polar/v2/testdata/training-sessions-42261903-create.expected.var
Binary file not shown.
112 changes: 112 additions & 0 deletions
112
test/polar/v2/testdata/training-sessions-42261903-exercises-42415131-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,112 @@ | ||
{ | ||
"calories": [ | ||
2 | ||
], | ||
"duration": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
750 | ||
], | ||
"minutes": [ | ||
0 | ||
], | ||
"seconds": [ | ||
35 | ||
] | ||
} | ||
], | ||
"sensors": [ | ||
1, | ||
2, | ||
3, | ||
4, | ||
20, | ||
21, | ||
6, | ||
7, | ||
8, | ||
11, | ||
13, | ||
14, | ||
15, | ||
16, | ||
17, | ||
18, | ||
19, | ||
26, | ||
27, | ||
6 | ||
], | ||
"sport": [ | ||
{ | ||
"value": [ | ||
18 | ||
] | ||
} | ||
], | ||
"start": [ | ||
{ | ||
"3": [ | ||
0 | ||
], | ||
"date": [ | ||
{ | ||
"day": [ | ||
29 | ||
], | ||
"month": [ | ||
12 | ||
], | ||
"year": [ | ||
2014 | ||
] | ||
} | ||
], | ||
"offset": [ | ||
60 | ||
], | ||
"time": [ | ||
{ | ||
"hour": [ | ||
12 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minute": [ | ||
58 | ||
], | ||
"seconds": [ | ||
44 | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"training-load": [ | ||
{ | ||
"load-value": [ | ||
0 | ||
], | ||
"recovery-time": [ | ||
{ | ||
"hours": [ | ||
0 | ||
], | ||
"milliseconds": [ | ||
0 | ||
], | ||
"minutes": [ | ||
2 | ||
], | ||
"seconds": [ | ||
0 | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+1.3 KB
test/polar/v2/testdata/training-sessions-42261903-exercises-42415131-create.expected.var
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
test/polar/v2/testdata/training-sessions-42261903-exercises-42415131-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-42261903-exercises-42415131-laps.expected.var
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
test/polar/v2/testdata/training-sessions-42261903-exercises-42415131-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-42261903-exercises-42415131-route.expected.var
Binary file not shown.
Oops, something went wrong.