Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

01_test_regexes.md 6.94 KB
Newer Older
1
2


di68kap's avatar
di68kap committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Test of parser: "SCHLUESSELWORT"
================================


Match-test "m1"
---------------

### Test-code:
    
    AUTORIN 

### AST
    (SCHLUESSELWORT
        (:RegExp
            ""
            ""
        )
        (:RegExp
            "AUTORIN "
        )
    )


26
27
28
29
Test of parser: "RZS"
=====================


di68kap's avatar
di68kap committed
30
31
Match-test "m1"
---------------
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

### Test-code:
    
    

### CST
    (RZS
        ""
        ""
    )


Test of parser: "LEERZEILE"
===========================


di68kap's avatar
di68kap committed
48
49
Match-test "m1"
---------------
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

### Test-code:
    
    
    

### AST
    (LEERZEILE
        (:RegExp
            ""
            ""
            ""
        )
    )

di68kap's avatar
di68kap committed
65
66
Match-test "m2"
---------------
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

### Test-code:
    
    
    # Kommentar

### AST
    (LEERZEILE
        (:RegExp
            ""
            ""
            ""
        )
        (:RE
            "# Kommentar"
        )
    )

di68kap's avatar
di68kap committed
85
86
Match-test "m3"
---------------
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103

### Test-code:
    
    
    
    

### AST
    (LEERZEILE
        (:RegExp
            ""
            ""
            ""
            ""
        )
    )

di68kap's avatar
di68kap committed
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Fail-test "f1"
--------------

### Test-code:
    
    

Fail-test "f2"
--------------

### Test-code:
    
    
    # Kommentar
    
    # Kommentar
    

122
123
124
125
126

Test of parser: "LÜCKE"
=======================


di68kap's avatar
di68kap committed
127
128
Match-test "m1"
---------------
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145

### Test-code:
    
    
    

### AST
    (LÜCKE
        (LEERZEILE
            (:RegExp
                ""
                ""
                ""
            )
        )
    )

di68kap's avatar
di68kap committed
146
147
Match-test "m2"
---------------
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

### Test-code:
    
    
    # Kommentar
    

### AST
    (LÜCKE
        (LEERZEILE
            (:RegExp
                ""
                ""
                ""
            )
            (:RE
                (:Whitespace
                    "# Kommentar"
                )
                (:RegExp
                    ""
                    ""
                )
            )
        )
    )

di68kap's avatar
di68kap committed
175
176
Match-test "m3"
---------------
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195

### Test-code:
    
    
    
    

### AST
    (LÜCKE
        (LEERZEILE
            (:RegExp
                ""
                ""
                ""
                ""
            )
        )
    )

di68kap's avatar
di68kap committed
196
197
Match-test "m4"
---------------
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224

### Test-code:
    
    
    # Kommentar
    
    # Kommentar
    

### AST
    (LÜCKE
        (LEERZEILE
            (:RegExp
                ""
                ""
                ""
            )
            (:RE
                (:Whitespace
                    "# Kommentar"
                )
                (:RegExp
                    ""
                    ""
                )
            )
        )
di68kap's avatar
di68kap committed
225
        (LZ
226
227
228
229
230
231
232
233
234
235
236
237
238
239
            (:RegExp
                ""
                ""
            )
            (:RegExp
                "# Kommentar"
            )
            (:RegExp
                ""
                ""
            )
        )
    )

di68kap's avatar
di68kap committed
240
241
Match-test "m5"
---------------
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281

### Test-code:
     #Kommentar
    # Kommentar
    
    # Kommentar

### AST
    (LÜCKE
        (KOMMENTARZEILEN
            (:Series
                (:RegExp
                    " "
                )
                (:RegExp
                    "#Kommentar"
                )
            )
            (:Series
                (:RegExp
                    ""
                    ""
                )
                (:RegExp
                    "# Kommentar"
                )
            )
        )
        (LEERZEILE
            (:RegExp
                ""
                ""
                ""
            )
            (:RE
                "# Kommentar"
            )
        )
    )

di68kap's avatar
di68kap committed
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
Fail-test "f1"
--------------

### Test-code:
     

Fail-test "f2"
--------------

### Test-code:
    
    

Fail-test "f3"
--------------

### Test-code:
    
    # Kommentar

Fail-test "f4"
--------------

### Test-code:
     #Kommentar
    # Kommentar
    # Kommentar

310

di68kap's avatar
di68kap committed
311
312
Test of parser: "LZ"
====================
313
314


di68kap's avatar
di68kap committed
315
316
Match-test "m1"
---------------
317
318
319
320
321

### Test-code:
     

### AST
di68kap's avatar
di68kap committed
322
    (LZ
323
324
325
326
327
        (:RegExp
            " "
        )
    )

di68kap's avatar
di68kap committed
328
329
Match-test "m2"
---------------
330
331
332
333
334

### Test-code:
     # Kommentar

### AST
di68kap's avatar
di68kap committed
335
    (LZ
336
337
338
339
340
341
342
343
        (:RegExp
            " "
        )
        (:RegExp
            "# Kommentar"
        )
    )

di68kap's avatar
di68kap committed
344
345
Match-test "m3"
---------------
346
347
348
349
350

### Test-code:
      

### AST
di68kap's avatar
di68kap committed
351
    (LZ
352
353
354
355
356
        (:RegExp
            "  "
        )
    )

di68kap's avatar
di68kap committed
357
358
Match-test "m4"
---------------
359
360
361
362
363

### Test-code:
    # Kommentar

### AST
di68kap's avatar
di68kap committed
364
    (LZ
365
366
367
368
369
        (:RegExp
            "# Kommentar"
        )
    )

di68kap's avatar
di68kap committed
370
371
Match-test "m5"
---------------
372
373
374
375
376
377

### Test-code:
    # Kommentar
    

### AST
di68kap's avatar
di68kap committed
378
    (LZ
379
380
381
382
383
384
385
386
387
        (:RegExp
            "# Kommentar"
        )
        (:RegExp
            ""
            ""
        )
    )

di68kap's avatar
di68kap committed
388
389
Match-test "m6"
---------------
390
391
392
393
394
395
396
397
398
399

### Test-code:
    
    # Kommentar
    
    # Kommentar
    
    

### AST
di68kap's avatar
di68kap committed
400
    (LZ
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
        (:RegExp
            ""
            ""
        )
        (:RegExp
            "# Kommentar"
        )
        (:RegExp
            ""
            ""
            ""
        )
        (:RegExp
            "# Kommentar"
        )
        (:RegExp
            ""
            ""
            ""
        )
    )

di68kap's avatar
di68kap committed
423
424
Match-test "m7"
---------------
425
426
427
428
429
430
431
432

### Test-code:
    
    
    
    

### AST
di68kap's avatar
di68kap committed
433
    (LZ
434
435
436
437
438
439
440
441
        (:RegExp
            ""
            ""
            ""
            ""
        )
    )

di68kap's avatar
di68kap committed
442
443
444
445
446
447
Fail-test "f1"
--------------

### Test-code:
    X

448
449
450
451
452

Test of parser: "ZWW"
=====================


di68kap's avatar
di68kap committed
453
454
Match-test "m1"
---------------
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469

### Test-code:
    
    

### AST
    (ZWW
        (ZEILENSPRUNG
            (:RegExp
                ""
                ""
            )
        )
    )

di68kap's avatar
di68kap committed
470
471
Match-test "m2"
---------------
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489

### Test-code:
    
    # Kommentar

### AST
    (ZWW
        (ZEILENSPRUNG
            (:RegExp
                ""
                ""
            )
            (:Whitespace
                "# Kommentar"
            )
        )
    )

di68kap's avatar
di68kap committed
490
491
Match-test "m3"
---------------
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508

### Test-code:
    
    # Kommentar
    

### AST
    (ZWW
        (ZEILENSPRUNG
            (:RegExp
                ""
                ""
            )
            (:Whitespace
                "# Kommentar"
            )
        )
di68kap's avatar
di68kap committed
509
        (LZ
510
511
512
513
514
515
516
            (:RegExp
                ""
                ""
            )
        )
    )

di68kap's avatar
di68kap committed
517
518
Match-test "m4"
---------------
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533

### Test-code:
    
    
    
    

### AST
    (ZWW
        (ZEILENSPRUNG
            (:RegExp
                ""
                ""
            )
        )
di68kap's avatar
di68kap committed
534
        (LZ
535
536
537
538
539
540
541
542
            (:RegExp
                ""
                ""
                ""
            )
        )
    )

di68kap's avatar
di68kap committed
543
544
545
546
547
548
Fail-test "f1"
--------------

### Test-code:
     

549
550
551
552
553

Test of parser: "ZW"
====================


di68kap's avatar
di68kap committed
554
555
Match-test "m1"
---------------
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570

### Test-code:
    
    

### AST
    (ZW
        (ZEILENSPRUNG
            (:RegExp
                ""
                ""
            )
        )
    )

di68kap's avatar
di68kap committed
571
572
Match-test "m2"
---------------
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588

### Test-code:
    
    # Kommentar

### AST
    (ZW
        (ZEILENSPRUNG
            (:RegExp
                ""
                ""
            )
            (:Whitespace
                "# Kommentar"
            )
        )
di68kap's avatar
di68kap committed
589
590
591
592
593
594
595
596
597
    )

Fail-test "f1"
--------------

### Test-code: