為什麼
2a83404dbe
Use array.empty instead of null value.
2022-07-19 20:39:41 +08:00
為什麼
d9addebc93
Remove the nullable disable annotation in the test project and fix the api broken.
2022-07-19 20:39:41 +08:00
Dan Balasescu
f8830c6850
Automated #nullable processing
2022-06-17 16:37:17 +09:00
Salman Ahmed
8501a41619
Bring back separate bool properties as non-cascading
2022-05-05 14:37:38 +03:00
Salman Ahmed
86aa2125fe
Add test coverage for multiplayer mod validity methods
2022-05-05 08:13:29 +03:00
Salman Ahmed
8f04db5df5
Bring back behaviour of checking incompatibility on gameplay validity
2022-05-04 17:21:19 +03:00
Salman Ahmed
145fca2704
Fix failing test scenes
2022-03-20 16:17:19 +03:00
Dean Herbert
6e0801b852
Fix incorrect existing test case
2021-06-22 17:41:27 +09:00
Dean Herbert
c4fde635c6
Ensure duplicate mods cannot be defined
2021-06-22 17:41:20 +09:00
Dean Herbert
5933e0d2d9
Change CheckCompatibleSet
to never deselect the current candidat when checking incompatibility
2021-06-18 13:17:32 +09:00
Bartłomiej Dach
c9facf70f9
Use conditional nullability attribute
...
As it turns out, C# 8 provides an attribute that allows annotating that
an `out` parameter's nullability depends on the method's return value,
which is exactly what is desired here.
2021-05-15 00:09:34 +02:00
Dean Herbert
8e70a50af0
Remove unused using statement
2021-02-02 19:22:13 +09:00
smoogipoo
0a9861d0ab
Use TestCaseSource and add multi-mod test
2021-02-02 18:51:13 +09:00
smoogipoo
5881b8be96
Merge branch 'add-mod-utils' into mod-consistency-function
2021-02-02 18:41:35 +09:00
smoogipoo
9955e02898
Make more tests use the custom mod classes
...
For safety purposes... In implementing the previous tests, I found that
using mod.Object.GetType() can lead to bad assertions since the same
ModProxy class is used for all mocked classes.
2021-02-02 18:33:14 +09:00
smoogipoo
1df412a03c
Fix incorrect handling of multi-mod incompatibilities
2021-02-02 18:31:08 +09:00
smoogipoo
7c29386717
Add failing tests
2021-02-02 18:01:33 +09:00
Dean Herbert
80d88024d6
Add basic test coverage of CheckValidForGameplay function
2021-02-02 14:13:50 +09:00
smoogipoo
b9832c1b2d
Add ModUtils class for validating mod usages
2021-02-01 19:37:24 +09:00