Wolfgang Witt
bc42f3072f
fix(test): fixed compiler errors (oops)
2021-03-15 10:45:37 +00:00
Wolfgang Witt
daceac95fc
chore(test): relax requirements for justified nullResult
...
Instances with bigger user buckets than the smallest room might correctly fail
Thus, don't report an error for them.
2021-03-15 10:45:37 +00:00
Wolfgang Witt
7e1b75c2e1
fix: shown ranges "include" special mappings
...
previously, they stopped just before leading to clashes with the next range
e.g. Äm would cause Am as mapping end with the next starting at An
Now, the mapping end is AZ with the next starting at BA
2021-03-15 10:45:37 +00:00
Wolfgang Witt
4e76fe7e50
fix: increase size of test instances again (oops)
2021-03-15 10:45:37 +00:00
Wolfgang Witt
525e24b56d
chore(test): check for non-overlapping rangeDescription
2021-03-15 10:45:37 +00:00
Wolfgang Witt
6ccc192426
chore: remove -Wwarn
2021-03-15 10:45:37 +00:00
Wolfgang Witt
795598ea06
chore(test): re-enable justifiedNullResult-test
2021-03-15 10:45:37 +00:00
Wolfgang Witt
5480e2d7b7
chore: names with non-ascii prefix get a ExamOccurrenceMappingSpecial
2021-03-15 10:45:37 +00:00
Wolfgang Witt
d60f93561f
fix: make sure it compiles again + add 2-letter name
2021-03-15 10:45:37 +00:00
Wolfgang Witt
a66c61cecc
chore(test): add surnames with unicode characters
2021-03-15 10:45:37 +00:00
Wolfgang Witt
dbd7726bbb
chore(test): add test for ExamRoomRandom
2021-03-15 10:45:37 +00:00
Wolfgang Witt
b6df520fab
chore(test): disable justifiedNullResult-tests
2021-03-15 10:45:37 +00:00
Wolfgang Witt
a692899ae6
chore(test): make UserProperties a newtype
2021-03-15 10:45:37 +00:00
Wolfgang Witt
385af53372
chore(test): use annotate to easier see which test failed
2021-03-15 10:45:37 +00:00
Wolfgang Witt
48ee67f6d6
chore(test): allow valid nullResults
...
ExamRoomMatriculation sometimes shows incorrect ranges
2021-03-15 10:45:37 +00:00
Wolfgang Witt
9d8a94717a
chore(test): respect users without matriculation number
2021-03-15 10:45:37 +00:00
Wolfgang Witt
4dccd2830b
chore(test): prepare for ExamRoomMatriculation-Tests
2021-03-15 10:45:37 +00:00
Wolfgang Witt
eadbbce661
chore(test): increase test size + prepare for matriculation tests
2021-03-15 10:45:37 +00:00
Wolfgang Witt
abb2342ab5
chore(test): abuse Show+Enum+Bounded for more concise test specification
2021-03-15 10:45:37 +00:00
Wolfgang Witt
46e6ca9217
chore(test): add tests with nudges
2021-03-15 10:45:37 +00:00
Wolfgang Witt
27f30dcd17
chore(test): rearrange to allow easier parameter adjustments
2021-03-15 10:45:37 +00:00
Wolfgang Witt
4d9ef2a64d
chore(test): property test with preselected users
2021-03-15 10:45:37 +00:00
Wolfgang Witt
5de8f0ae23
chore(test): move generators to their own functions
2021-03-15 10:45:37 +00:00
Wolfgang Witt
c0fd3bc1e4
chore(test): finalize property description
2021-03-15 10:45:37 +00:00
Wolfgang Witt
aba5c53a0b
chore(test): refine ExamOccurence-creation
2021-03-15 10:45:37 +00:00
Wolfgang Witt
52678cddf4
chore(test): provide very "arbitrary" instance for ExamOccurrence
2021-03-15 10:45:37 +00:00
Wolfgang Witt
a9f432d6b0
chore(test): finally manged to create a users map
2021-03-15 10:45:37 +00:00
Wolfgang Witt
f68ae3b356
chore(test): first try at property test (incomplete)
2021-03-15 10:45:37 +00:00
Wolfgang Witt
9f83cc2e5b
chore(test): create file ExamSpec.hs with basic information for the error case
2021-03-15 10:45:37 +00:00
Gregor Kleen
4803026a2c
fix: tests
2021-03-12 20:38:17 +01:00
Gregor Kleen
50fdcb4540
feat(db): provide our own implementation of connection pooling
...
Also allows monitoring pool status (available/in use connections,
total number of takes from pool)
This reverts commit 35ac503bf9 .
2021-02-23 16:30:24 +01:00
Gregor Kleen
35ac503bf9
feat(db): optionally disable some db connection pooling
2021-02-21 20:44:45 +01:00
Gregor Kleen
c76794f7c8
chore: fix tests
2021-02-15 15:31:23 +01:00
Gregor Kleen
ef7a743c60
test: enusre arc roundtrips
2021-02-11 08:53:09 +01:00
Gregor Kleen
964a5c3929
chore: fix tests
2021-02-08 20:35:21 +01:00
Gregor Kleen
b814bc094a
refactor(workflows): shared workflow graphs
2021-02-01 17:37:55 +01:00
Gregor Kleen
500000ba0f
feat(exams): exam sheets
2021-01-18 14:19:02 +01:00
Gregor Kleen
c38ef39938
chore: move workflow definitions to submodule
2020-12-18 13:39:55 +01:00
Gregor Kleen
316097a07e
feat(workflows): improve linter
2020-12-06 16:03:36 +01:00
Gregor Kleen
7a7cd4d07c
feat(workflows): make admin or token sufficient for all roles
2020-12-03 19:48:49 +01:00
Gregor Kleen
b36ddce3e3
chore(tests): ensure only valid CryptoIDs are generated
2020-12-01 11:50:56 +01:00
Gregor Kleen
ee6fecb79e
feat(workflows): prepare for admin-workflow-instance-edit
2020-12-01 11:11:48 +01:00
Gregor Kleen
9ea689881a
chore(recognitions): add semester
2020-11-29 17:56:57 +01:00
Gregor Kleen
8a888d3945
fix(tests): generate sensible WorkflowPayloadLabels
2020-11-29 17:56:09 +01:00
Gregor Kleen
d2f0361e49
fix(tests): remove invalid claim of commutativity
2020-11-28 13:58:03 +01:00
Gregor Kleen
0a3eaa2994
fix(workflows): cleanup
2020-11-25 15:00:16 +01:00
Gregor Kleen
82b3a6364c
feat(workflows): wire up ws-school
2020-11-24 22:35:59 +01:00
Gregor Kleen
43caeefbf1
Merge branch 'master' into workflows
2020-11-24 10:56:41 +01:00
Gregor Kleen
319c75a85a
feat(rooms): different room types & hidden rooms
2020-11-19 14:25:38 +01:00
Gregor Kleen
3c322af49e
fix: tests
2020-11-17 13:00:55 +01:00