1
+ import FamilyControls
1
2
import XCTest
2
3
3
4
class NeverTriggerBeforeTests : XCTestCase {
@@ -19,6 +20,9 @@ class NeverTriggerBeforeTests: XCTestCase {
19
20
skipIfAlreadyTriggeredBefore: nil ,
20
21
skipIfAlreadyTriggeredBetweenFromDate: nil ,
21
22
skipIfAlreadyTriggeredBetweenToDate: nil ,
23
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
24
+ originalWhitelist: FamilyActivitySelection ( ) ,
25
+ originalBlocklist: FamilyActivitySelection ( ) ,
22
26
activityName: activityName,
23
27
callbackName: callbackName,
24
28
eventName: eventName
@@ -34,6 +38,9 @@ class NeverTriggerBeforeTests: XCTestCase {
34
38
skipIfAlreadyTriggeredBefore: nil ,
35
39
skipIfAlreadyTriggeredBetweenFromDate: nil ,
36
40
skipIfAlreadyTriggeredBetweenToDate: nil ,
41
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
42
+ originalWhitelist: FamilyActivitySelection ( ) ,
43
+ originalBlocklist: FamilyActivitySelection ( ) ,
37
44
activityName: activityName,
38
45
callbackName: callbackName,
39
46
eventName: eventName
@@ -69,6 +76,9 @@ class SkipIfTriggeredBeforeTests: XCTestCase {
69
76
skipIfAlreadyTriggeredBefore: 1001 ,
70
77
skipIfAlreadyTriggeredBetweenFromDate: nil ,
71
78
skipIfAlreadyTriggeredBetweenToDate: nil ,
79
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
80
+ originalWhitelist: FamilyActivitySelection ( ) ,
81
+ originalBlocklist: FamilyActivitySelection ( ) ,
72
82
activityName: activityName,
73
83
callbackName: callbackName,
74
84
eventName: eventName
@@ -84,6 +94,9 @@ class SkipIfTriggeredBeforeTests: XCTestCase {
84
94
skipIfAlreadyTriggeredBefore: 1000 ,
85
95
skipIfAlreadyTriggeredBetweenFromDate: nil ,
86
96
skipIfAlreadyTriggeredBetweenToDate: nil ,
97
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
98
+ originalWhitelist: FamilyActivitySelection ( ) ,
99
+ originalBlocklist: FamilyActivitySelection ( ) ,
87
100
activityName: activityName,
88
101
callbackName: callbackName,
89
102
eventName: eventName
@@ -118,6 +131,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
118
131
skipIfAlreadyTriggeredBefore: nil ,
119
132
skipIfAlreadyTriggeredBetweenFromDate: 500 ,
120
133
skipIfAlreadyTriggeredBetweenToDate: 1500 ,
134
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
135
+ originalWhitelist: FamilyActivitySelection ( ) ,
136
+ originalBlocklist: FamilyActivitySelection ( ) ,
121
137
activityName: activityName,
122
138
callbackName: callbackName,
123
139
eventName: eventName
@@ -133,6 +149,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
133
149
skipIfAlreadyTriggeredBefore: nil ,
134
150
skipIfAlreadyTriggeredBetweenFromDate: 1001 ,
135
151
skipIfAlreadyTriggeredBetweenToDate: 1500 ,
152
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
153
+ originalWhitelist: FamilyActivitySelection ( ) ,
154
+ originalBlocklist: FamilyActivitySelection ( ) ,
136
155
activityName: activityName,
137
156
callbackName: callbackName,
138
157
eventName: eventName
@@ -148,6 +167,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
148
167
skipIfAlreadyTriggeredBefore: nil ,
149
168
skipIfAlreadyTriggeredBetweenFromDate: 500 ,
150
169
skipIfAlreadyTriggeredBetweenToDate: 999 ,
170
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
171
+ originalWhitelist: FamilyActivitySelection ( ) ,
172
+ originalBlocklist: FamilyActivitySelection ( ) ,
151
173
activityName: activityName,
152
174
callbackName: callbackName,
153
175
eventName: eventName
@@ -180,6 +202,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
180
202
skipIfAlreadyTriggeredBefore: nil ,
181
203
skipIfAlreadyTriggeredBetweenFromDate: nil ,
182
204
skipIfAlreadyTriggeredBetweenToDate: nil ,
205
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
206
+ originalWhitelist: FamilyActivitySelection ( ) ,
207
+ originalBlocklist: FamilyActivitySelection ( ) ,
183
208
activityName: activityName,
184
209
callbackName: callbackName,
185
210
eventName: eventName
@@ -195,6 +220,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
195
220
skipIfAlreadyTriggeredBefore: nil ,
196
221
skipIfAlreadyTriggeredBetweenFromDate: nil ,
197
222
skipIfAlreadyTriggeredBetweenToDate: nil ,
223
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
224
+ originalWhitelist: FamilyActivitySelection ( ) ,
225
+ originalBlocklist: FamilyActivitySelection ( ) ,
198
226
activityName: activityName,
199
227
callbackName: callbackName,
200
228
eventName: eventName
@@ -228,6 +256,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
228
256
skipIfAlreadyTriggeredBefore: nil ,
229
257
skipIfAlreadyTriggeredBetweenFromDate: nil ,
230
258
skipIfAlreadyTriggeredBetweenToDate: nil ,
259
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
260
+ originalWhitelist: FamilyActivitySelection ( ) ,
261
+ originalBlocklist: FamilyActivitySelection ( ) ,
231
262
activityName: activityName,
232
263
callbackName: callbackName,
233
264
eventName: eventName
@@ -243,6 +274,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
243
274
skipIfAlreadyTriggeredBefore: nil ,
244
275
skipIfAlreadyTriggeredBetweenFromDate: nil ,
245
276
skipIfAlreadyTriggeredBetweenToDate: nil ,
277
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
278
+ originalWhitelist: FamilyActivitySelection ( ) ,
279
+ originalBlocklist: FamilyActivitySelection ( ) ,
246
280
activityName: activityName,
247
281
callbackName: callbackName,
248
282
eventName: eventName
@@ -277,6 +311,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
277
311
skipIfAlreadyTriggeredBefore: nil ,
278
312
skipIfAlreadyTriggeredBetweenFromDate: nil ,
279
313
skipIfAlreadyTriggeredBetweenToDate: nil ,
314
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
315
+ originalWhitelist: FamilyActivitySelection ( ) ,
316
+ originalBlocklist: FamilyActivitySelection ( ) ,
280
317
activityName: activityName,
281
318
callbackName: callbackName,
282
319
eventName: eventName
@@ -292,6 +329,9 @@ class SkipIfAlreadyTriggeredBetweenTests: XCTestCase {
292
329
skipIfAlreadyTriggeredBefore: nil ,
293
330
skipIfAlreadyTriggeredBetweenFromDate: nil ,
294
331
skipIfAlreadyTriggeredBetweenToDate: nil ,
332
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
333
+ originalWhitelist: FamilyActivitySelection ( ) ,
334
+ originalBlocklist: FamilyActivitySelection ( ) ,
295
335
activityName: activityName,
296
336
callbackName: callbackName,
297
337
eventName: eventName
@@ -332,6 +372,9 @@ class SkipIfLargerTests: XCTestCase {
332
372
skipIfAlreadyTriggeredBefore: nil ,
333
373
skipIfAlreadyTriggeredBetweenFromDate: nil ,
334
374
skipIfAlreadyTriggeredBetweenToDate: nil ,
375
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
376
+ originalWhitelist: FamilyActivitySelection ( ) ,
377
+ originalBlocklist: FamilyActivitySelection ( ) ,
335
378
activityName: activityName,
336
379
callbackName: callbackName,
337
380
eventName: eventName
@@ -347,6 +390,9 @@ class SkipIfLargerTests: XCTestCase {
347
390
skipIfAlreadyTriggeredBefore: nil ,
348
391
skipIfAlreadyTriggeredBetweenFromDate: nil ,
349
392
skipIfAlreadyTriggeredBetweenToDate: nil ,
393
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
394
+ originalWhitelist: FamilyActivitySelection ( ) ,
395
+ originalBlocklist: FamilyActivitySelection ( ) ,
350
396
activityName: activityName,
351
397
callbackName: callbackName,
352
398
eventName: eventName
@@ -390,6 +436,9 @@ class SkipIfLargerTests: XCTestCase {
390
436
skipIfAlreadyTriggeredBefore: nil ,
391
437
skipIfAlreadyTriggeredBetweenFromDate: nil ,
392
438
skipIfAlreadyTriggeredBetweenToDate: nil ,
439
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
440
+ originalWhitelist: FamilyActivitySelection ( ) ,
441
+ originalBlocklist: FamilyActivitySelection ( ) ,
393
442
activityName: activityName,
394
443
callbackName: callbackName,
395
444
eventName: " 15 "
@@ -405,6 +454,9 @@ class SkipIfLargerTests: XCTestCase {
405
454
skipIfAlreadyTriggeredBefore: nil ,
406
455
skipIfAlreadyTriggeredBetweenFromDate: nil ,
407
456
skipIfAlreadyTriggeredBetweenToDate: nil ,
457
+ skipIfWhitelistOrBlacklistIsUnchanged: false ,
458
+ originalWhitelist: FamilyActivitySelection ( ) ,
459
+ originalBlocklist: FamilyActivitySelection ( ) ,
408
460
activityName: activityName,
409
461
callbackName: callbackName,
410
462
eventName: " 5 "
0 commit comments