Skip to content

Commit e5f4058

Browse files
committed
Remove testType property
1 parent b9fb07b commit e5f4058

File tree

10 files changed

+0
-47
lines changed

10 files changed

+0
-47
lines changed

test/schemas/v0-0-1/tests.schema.json

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,6 @@
3030
},
3131
"$comment": "This allOf specifies required test properties that allow a default. A value will be required in 'defaultTestProperties' if one is not provided for every individual test.",
3232
"allOf": [
33-
{
34-
"anyOf": [
35-
{
36-
"properties": {
37-
"defaultTestProperties": {
38-
"required": [
39-
"testType"
40-
]
41-
}
42-
}
43-
},
44-
{
45-
"properties": {
46-
"tests": {
47-
"type": "array",
48-
"items": {
49-
"required": [
50-
"testType"
51-
]
52-
}
53-
}
54-
}
55-
}
56-
]
57-
},
5833
{
5934
"anyOf": [
6035
{
@@ -133,9 +108,6 @@
133108
"type": "object",
134109
"additionalProperties": false,
135110
"properties": {
136-
"testType": {
137-
"$ref": "#/$defs/testType"
138-
},
139111
"locale": {
140112
"$ref": "#/$defs/locale"
141113
},
@@ -167,9 +139,6 @@
167139
"type": "string",
168140
"description": "Information about the test."
169141
},
170-
"testType": {
171-
"$ref": "#/$defs/testType"
172-
},
173142
"locale": {
174143
"$ref": "#/$defs/locale"
175144
},
@@ -197,13 +166,6 @@
197166
}
198167
}
199168
},
200-
"testType": {
201-
"description": "The category of test.",
202-
"enum": [
203-
"syntax",
204-
"function"
205-
]
206-
},
207169
"locale": {
208170
"description": "The locale to use for formatting.",
209171
"type": "string"

test/tests/data-model-errors.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Data model errors",
33
"description": "Each `src` should produce an error when processed. Each test description indicates the error reason, but this text should not be asserted against. Error names are defined in the spec.",
44
"defaultTestProperties": {
5-
"testType": "syntax",
65
"locale": "en-US"
76
},
87
"tests": [

test/tests/functions/date.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Date function",
33
"description": "The built-in formatter for dates.",
44
"defaultTestProperties": {
5-
"testType": "function",
65
"locale": "en-US",
76
"expErrors": false
87
},

test/tests/functions/datetime.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Datetime function",
33
"description": "The built-in formatter for datetimes.",
44
"defaultTestProperties": {
5-
"testType": "function",
65
"locale": "en-US",
76
"expErrors": false
87
},

test/tests/functions/integer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Integer function",
33
"description": "The built-in formatter for integers.",
44
"defaultTestProperties": {
5-
"testType": "function",
65
"locale": "en-US"
76
},
87
"tests": [

test/tests/functions/number.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Number function",
33
"description": "The built-in formatter for numbers.",
44
"defaultTestProperties": {
5-
"testType": "function",
65
"locale": "en-US"
76
},
87
"tests": [

test/tests/functions/string.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "String function",
33
"description": "The built-in formatter for strings.",
44
"defaultTestProperties": {
5-
"testType": "function",
65
"locale": "en-US"
76
},
87
"tests": [

test/tests/functions/time.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Time function",
33
"description": "The built-in formatter for times.",
44
"defaultTestProperties": {
5-
"testType": "function",
65
"locale": "en-US",
76
"expErrors": false
87
},

test/tests/syntax-errors.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Syntax errors",
33
"description": "Strings that produce syntax errors when parsed.",
44
"defaultTestProperties": {
5-
"testType": "syntax",
65
"locale": "en-US",
76
"expErrors": [
87
{

test/tests/syntax.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"scenario": "Syntax",
33
"description": "Test cases that do not depend on any registry definitions.",
44
"defaultTestProperties": {
5-
"testType": "syntax",
65
"locale": "en-US"
76
},
87
"tests": [

0 commit comments

Comments
 (0)