Skip to content

Commit af88355

Browse files
committed
add sub statement JSON fixtures
1 parent 551ef2f commit af88355

31 files changed

+679
-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 test fixtures for the `SubStatement` class.
5+
46
* Added missing test fixtures for the `StatementReference` class.
57

68
0.2.2
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"account": {
5+
"name": "test",
6+
"homePage": "https://tincanapi.com"
7+
}
8+
},
9+
"verb": {
10+
"id": "http://tincanapi.com/conformancetest/verbid",
11+
"display": {
12+
"en-US": "test"
13+
}
14+
},
15+
"object": {
16+
"id": "http://tincanapi.com/conformancetest/activityid",
17+
"objectType": "Activity"
18+
}
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"mbox": "mailto:[email protected]"
5+
},
6+
"verb": {
7+
"id": "http://tincanapi.com/conformancetest/verbid",
8+
"display": {
9+
"en-US": "test"
10+
}
11+
},
12+
"object": {
13+
"account": {
14+
"name": "test",
15+
"homePage": "https://tincanapi.com"
16+
},
17+
"objectType": "Agent"
18+
}
19+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"account": {
5+
"name": "test",
6+
"homePage": "https://tincanapi.com"
7+
},
8+
"objectType": "Agent"
9+
},
10+
"verb": {
11+
"id": "http://tincanapi.com/conformancetest/verbid",
12+
"display": {
13+
"en-US": "test"
14+
}
15+
},
16+
"object": {
17+
"id": "http://tincanapi.com/conformancetest/activityid",
18+
"objectType": "Activity"
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"mbox": "mailto:[email protected]",
5+
"objectType": "Agent"
6+
},
7+
"verb": {
8+
"id": "http://tincanapi.com/conformancetest/verbid",
9+
"display": {
10+
"en-US": "test"
11+
}
12+
},
13+
"object": {
14+
"account": {
15+
"name": "test",
16+
"homePage": "https://tincanapi.com"
17+
},
18+
"objectType": "Agent"
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"account": {
5+
"name": "test",
6+
"homePage": "https://tincanapi.com"
7+
},
8+
"objectType": "Group"
9+
},
10+
"verb": {
11+
"id": "http://tincanapi.com/conformancetest/verbid",
12+
"display": {
13+
"en-US": "test"
14+
}
15+
},
16+
"object": {
17+
"id": "http://tincanapi.com/conformancetest/activityid",
18+
"objectType": "Activity"
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"mbox": "mailto:[email protected]",
5+
"objectType": "Agent"
6+
},
7+
"verb": {
8+
"id": "http://tincanapi.com/conformancetest/verbid",
9+
"display": {
10+
"en-US": "test"
11+
}
12+
},
13+
"object": {
14+
"account": {
15+
"name": "test",
16+
"homePage": "https://tincanapi.com"
17+
},
18+
"objectType": "Group"
19+
}
20+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"mbox": "mailto:[email protected]",
5+
"objectType": "Agent"
6+
},
7+
"verb": {
8+
"id": "http://tincanapi.com/conformancetest/verbid",
9+
"display": {
10+
"en-US": "test"
11+
}
12+
},
13+
"object": {
14+
"id": "http://tincanapi.com/conformancetest/activityid",
15+
"objectType": "Activity",
16+
"definition": {
17+
}
18+
}
19+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"mbox": "mailto:[email protected]",
5+
"objectType": "Agent"
6+
},
7+
"verb": {
8+
"id": "http://tincanapi.com/conformancetest/verbid",
9+
"display": {
10+
"en-US": "test"
11+
}
12+
},
13+
"object": {
14+
"objectType": "Group",
15+
"mbox": "mailto:[email protected]",
16+
"name": "test group",
17+
"member": [
18+
{
19+
"mbox": "mailto:[email protected]",
20+
"objectType": "Agent"
21+
}
22+
]
23+
}
24+
}

data/SubStatement/id_verb.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"objectType": "SubStatement",
3+
"actor": {
4+
"mbox": "mailto:[email protected]",
5+
"objectType": "Agent"
6+
},
7+
"verb": {
8+
"id": "http://tincanapi.com/conformancetest/verbid"
9+
},
10+
"object": {
11+
"id": "http://tincanapi.com/conformancetest/activityid",
12+
"objectType": "Activity"
13+
}
14+
}

0 commit comments

Comments
 (0)