Skip to content

Commit 1b5b04a

Browse files
committed
add context (activities) and extensions fixtures
1 parent af88355 commit 1b5b04a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+571
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
CHANGELOG
22
=========
33

4+
* Added missing fixtures for `Context`, `ContextActivities`, and `Extensions`.
5+
46
* Added missing test fixtures for the `SubStatement` class.
57

68
* Added missing test fixtures for the `StatementReference` class.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"instructor": {
3+
"account": {
4+
"name": "test",
5+
"homePage": "https://tincanapi.com"
6+
}
7+
}
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"instructor": {
3+
"account": {
4+
"name": "test",
5+
"homePage": "https://tincanapi.com"
6+
},
7+
"objectType": "Agent"
8+
}
9+
}

data/Context/all_properties.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"registration": "16fd2706-8baf-433b-82eb-8c7fada847da",
3+
"instructor": {
4+
"mbox": "mailto:[email protected]",
5+
"objectType": "Agent"
6+
},
7+
"team": {
8+
"objectType": "Group",
9+
"mbox": "mailto:[email protected]"
10+
},
11+
"contextActivities": {
12+
"category": [
13+
{
14+
"id": "http://tincanapi.com/conformancetest/activityid",
15+
"objectType": "Activity"
16+
}
17+
],
18+
"parent": [
19+
{
20+
"id": "http://tincanapi.com/conformancetest/activityid",
21+
"objectType": "Activity"
22+
}
23+
],
24+
"grouping": [
25+
{
26+
"id": "http://tincanapi.com/conformancetest/activityid",
27+
"objectType": "Activity"
28+
}
29+
],
30+
"other": [
31+
{
32+
"id": "http://tincanapi.com/conformancetest/activityid",
33+
"objectType": "Activity"
34+
}
35+
]
36+
},
37+
"revision": "test",
38+
"platform": "test",
39+
"language": "en-US",
40+
"statement": {
41+
"objectType": "StatementRef",
42+
"id": "16fd2706-8baf-433b-82eb-8c7fada847da"
43+
},
44+
"extensions": {
45+
"http://id.tincanapi.com/extension/topic": "Conformance Testing"
46+
}
47+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"contextActivities": {
3+
"category": [
4+
{
5+
"id": "http://tincanapi.com/conformancetest/activityid",
6+
"objectType": "Activity"
7+
}
8+
],
9+
"parent": [
10+
{
11+
"id": "http://tincanapi.com/conformancetest/activityid",
12+
"objectType": "Activity"
13+
}
14+
],
15+
"grouping": [
16+
{
17+
"id": "http://tincanapi.com/conformancetest/activityid",
18+
"objectType": "Activity"
19+
}
20+
],
21+
"other": [
22+
{
23+
"id": "http://tincanapi.com/conformancetest/activityid",
24+
"objectType": "Activity"
25+
}
26+
]
27+
}
28+
}

data/Context/empty.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"contextActivities": {
3+
}
4+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"contextActivities": {
3+
"category": [],
4+
"parent": [],
5+
"grouping": [],
6+
"other": []
7+
}
8+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extensions": {
3+
}
4+
}

data/Context/extensions_only.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extensions": {
3+
"http://id.tincanapi.com/extension/topic": "Conformance Testing"
4+
}
5+
}

0 commit comments

Comments
 (0)