Skip to content

Commit

Permalink
Include power data in all relevant tests (#43)
Browse files Browse the repository at this point in the history
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
pcolby committed Jan 2, 2015
1 parent 0fbdd96 commit 0d2fb90
Show file tree
Hide file tree
Showing 29 changed files with 3,121 additions and 0 deletions.
138 changes: 138 additions & 0 deletions test/polar/v2/testdata/training-sessions-42261903-create.expected.json
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 not shown.
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 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 0d2fb90

Please sign in to comment.