summaryrefslogtreecommitdiffstats
path: root/rtemsspec/tests/spec-validation/action3.yml
blob: 237dffd7f9672005f3494d45f6da263dc4279729 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
functional-type: action
links: []
post-conditions:
- name: Position
  states:
  - name: InitialFirst
    test-code: |
      /* Code */
    text: |
      A priority queue associated with the scheduler which contains exactly the
      enqueueing thread shall be created as the first priority queue of the
      thread queue.
  - name: InitialLast
    test-code: |
      /* Code */
    text: |
      Text.
  - name: First
    test-code: |
      /* Code */
    text: |
      Text.
  - name: Second
    test-code: |
      /* Code */
    text: |
      Text.
  - name: FirstFirst
    test-code: |
      /* Code */
    text: |
      Text.
  - name: SecondFirst
    test-code: |
      /* Code */
    text: |
      Text.
  - name: FirstLast
    test-code: |
      /* Code */
    text: |
      Text.
  - name: SecondLast
    test-code: |
      /* Code */
    text: |
      Text.
  test-epilogue: null
  test-prologue: null
pre-conditions:
- name: EligibleScheduler
  states:
  - name: Home
    test-code: |
      /* Code */
    text: |
      Text.
  - name: Helping
    test-code: |
      /* Code */
    text: |
      Text.
  test-epilogue: null
  test-prologue: null
- name: QueueEligible
  states:
  - name: None
    test-code: |
      /* Code */
    text: |
      Text.
  - name: EQ
    test-code: |
      /* Code */
    text: |
      Text.
  - name: GT
    test-code: |
      /* Code */
    text: |
      Text.
  test-epilogue: null
  test-prologue: null
- name: QueueIneligible
  states:
  - name: None
    test-code: |
      /* Code */
    text: |
      Text.
  - name: Only
    test-code: |
      /* Code */
    text: |
      Text.
  - name: Before
    test-code: |
      /* Code */
    text: |
      Text.
  - name: After
    test-code: |
      /* Code */
    text: |
      Text.
  test-epilogue: null
  test-prologue: null
rationale: null
references: []
requirement-type: functional
skip-reasons:
  Invalid: |
    Text.
test-action: |
  /* Code */
test-brief: null
test-cleanup: null
test-context: []
test-context-support: null
test-description: null
test-header: null
test-includes: []
test-local-includes: []
test-prepare: null
test-setup: null
test-stop: null
test-support: null
test-target: action3.c
test-teardown: null
text: |
  Text.
transition-map:
- enabled-by: true
  post-conditions:
    Position: InitialFirst
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - None
    QueueIneligible:
    - None
- enabled-by: true
  post-conditions:
    Position: InitialLast
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - None
    QueueIneligible:
    - Only
- enabled-by: true
  post-conditions:
    Position: First
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - GT
    QueueIneligible:
    - None
- enabled-by: true
  post-conditions:
    Position: Second
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - EQ
    QueueIneligible:
    - None
- enabled-by: true
  post-conditions:
    Position: FirstLast
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - GT
    QueueIneligible:
    - Before
- enabled-by: true
  post-conditions:
    Position: SecondLast
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - EQ
    QueueIneligible:
    - Before
- enabled-by: true
  post-conditions:
    Position: FirstFirst
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - GT
    QueueIneligible:
    - After
- enabled-by: true
  post-conditions:
    Position: SecondFirst
  pre-conditions:
    EligibleScheduler: all
    QueueEligible:
    - EQ
    QueueIneligible:
    - After
- enabled-by: true
  post-conditions: Invalid
  pre-conditions: default
type: requirement