Skip to content

Commit 711e826

Browse files
committed
added fixtures for activity definition extensions
1 parent 5d4309c commit 711e826

12 files changed

+46
-17
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 fixtures for activity definition extensions.
5+
46
* Added fixtures for activity interaction definitions and interaction components.
57

68
* Added missing fixtures for `Account`, `Activity`, `Actor`, `Context`,

data/Definition/all_properties.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": {
3+
"en-US": "test"
4+
},
5+
"description": {
6+
"en-US": "test"
7+
},
8+
"type": "http://id.tincanapi.com/activitytype/unit-test",
9+
"moreInfo": "https://github.com/adlnet/xAPI_LRS_Test",
10+
"extensions": {
11+
"http://id.tincanapi.com/extension/topic": "Conformance Testing"
12+
}
13+
}

data/Definition/all_properties_definition.json

Lines changed: 0 additions & 10 deletions
This file was deleted.
File renamed without changes.

data/Definition/empty_extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extensions": {
3+
}
4+
}

data/Definition/extensions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extensions": {
3+
"http://id.tincanapi.com/extension/topic": "Conformance Testing",
4+
"http://id.tincanapi.com/extension/color": {
5+
"model": "RGB",
6+
"value": "#FFFFFF"
7+
},
8+
"http://id.tincanapi.com/extension/starting-position": 1
9+
}
10+
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)