1
1
use v6 ;
2
2
use Test ;
3
3
4
- my @ classes = <
4
+ my @ normal = <
5
5
AST
6
6
Any
7
7
Array
@@ -13,9 +13,7 @@ my @classes = <
13
13
Block
14
14
Bool
15
15
CallFrame
16
- Cancellation
17
16
Capture
18
- Channel
19
17
Code
20
18
CompUnit
21
19
CompUnitRepo
@@ -25,7 +23,6 @@ my @classes = <
25
23
Compiler
26
24
Complex
27
25
Cool
28
- CurrentThreadScheduler
29
26
Cursor
30
27
Date
31
28
DateTime
@@ -52,7 +49,6 @@ my @classes = <
52
49
IO::Path::QNX
53
50
IO::Path::Unix
54
51
IO::Path::Win32
55
- IO::Socket::Async
56
52
IO::Socket::INET
57
53
IO::Spec
58
54
IO::Spec::Cygwin
@@ -98,16 +94,13 @@ my @classes = <
98
94
Pod::Heading
99
95
Pod::Item
100
96
Pod::Raw
101
- Proc::Async
102
97
Proc::Status
103
- Promise
104
98
PseudoStash
105
99
Range
106
100
Rat
107
101
Regex
108
102
Routine
109
103
Scalar
110
- Semaphore
111
104
Seq
112
105
Set
113
106
SetHash
@@ -118,10 +111,6 @@ my @classes = <
118
111
StrDistance
119
112
Sub
120
113
Submethod
121
- SupplyOperations
122
- Tap
123
- Thread
124
- ThreadPoolScheduler
125
114
VM
126
115
Variable
127
116
Version
@@ -145,8 +134,6 @@ my @classes = <
145
134
X::Buf::Pack
146
135
X::Buf::Pack::NonASCII
147
136
X::Caller::NotDynamic
148
- X::Channel::ReceiveOnClosed
149
- X::Channel::SendOnClosed
150
137
X::Comp::AdHoc
151
138
X::Comp::Group
152
139
X::Comp::NYI
@@ -190,7 +177,6 @@ my @classes = <
190
177
X::Inheritance::Unsupported
191
178
X::Item
192
179
X::Localizer::NoContainer
193
- X::Lock::ConditionVariable::New
194
180
X::Match::Bool
195
181
X::Method::InvalidQualifier
196
182
X::Method::NotFound
@@ -217,12 +203,6 @@ my @classes = <
217
203
X::Phaser::PrePost
218
204
X::Placeholder::Block
219
205
X::Placeholder::Mainline
220
- X::Proc::Async::AlreadyStarted
221
- X::Proc::Async::CharsOrBytes
222
- X::Proc::Async::TapBeforeSpawn
223
- X::Promise::CauseOnlyValidOnBroken
224
- X::Promise::Combinator
225
- X::Promise::Vowed
226
206
X::PseudoPackage::InDeclaration
227
207
X::Range::InvalidArg
228
208
X::Redeclaration
@@ -238,9 +218,6 @@ my @classes = <
238
218
X::Str::Trans::IllegalKey
239
219
X::Str::Trans::InvalidArg
240
220
X::Subscript::FromEnd
241
- X::Supply::Migrate::Needs
242
- X::Supply::On::BadSetup
243
- X::Supply::On::NoMore
244
221
X::Syntax::Argument::MOPMacro
245
222
X::Syntax::Augment::Illegal
246
223
X::Syntax::Augment::WithoutMonkeyTyping
@@ -297,9 +274,42 @@ my @classes = <
297
274
utf8
298
275
>;
299
276
300
- plan 2 * @ classes ;
277
+ my @ concurrent = <
278
+ Cancellation
279
+ Channel
280
+ CurrentThreadScheduler
281
+ IO::Notification
282
+ IO::Socket::Async
283
+ Proc::Async
284
+ Promise
285
+ Semaphore
286
+ SupplyOperations
287
+ Tap
288
+ Thread
289
+ ThreadPoolScheduler
290
+ X::Channel::ReceiveOnClosed
291
+ X::Channel::SendOnClosed
292
+ X::Lock::ConditionVariable::New
293
+ X::Proc::Async::AlreadyStarted
294
+ X::Proc::Async::CharsOrBytes
295
+ X::Proc::Async::TapBeforeSpawn
296
+ X::Promise::CauseOnlyValidOnBroken
297
+ X::Promise::Combinator
298
+ X::Promise::Vowed
299
+ X::Supply::Migrate::Needs
300
+ X::Supply::On::BadSetup
301
+ X::Supply::On::NoMore
302
+ >;
303
+
304
+ plan 2 * ( @ normal + @ concurrent );
305
+
306
+ for @ normal -> $ class {
307
+ is ::($ class ). WHICH , $ class , " checking $ class .WHICH" ;
308
+ is ::($ class ). WHICH . WHAT . perl , ' ObjAt' , " $ class returns an ObjAt" ;
309
+ }
301
310
302
- for @ classes -> $ class {
311
+ for @ concurrent -> $ class {
312
+ # ?rakudo.parrot skip 2 'NYI on parrot'
303
313
is ::($ class ). WHICH , $ class , " checking $ class .WHICH" ;
304
314
is ::($ class ). WHICH . WHAT . perl , ' ObjAt' , " $ class returns an ObjAt" ;
305
315
}
0 commit comments