Commit graph

21 commits

Author SHA1 Message Date
Kara
d393fa64b6
Add tests for GameVersionConverter and fix edge case (#1726)
- Adds tests for GameVersionConverter
- Refactors GameVersionConverter to reduce nesting
- Fixes an edge case in GameVersion deserialization in which the JsonConstructor will be invoked even if no properties match
- Adds a test for the GameVersion deserialization edge case
2024-03-18 20:12:34 -07:00
Kara
1e8fb2e363
Add tests for ReliableFileStorage (#1718) 2024-03-16 16:43:01 +01:00
karashiiro
66a04cb45d Fix edge case in GameVersion and refactor
- Test coverage has been added for the entire class, and verbose/redundant code has been refactored
- Fixes JSON serialization: JsonConstructor requires that the ctor parameters match fields/properties of the target class.
Previously, this meant that the JSON constructor would always throw an ArgumentNullException, as `Input` was not a class property.
2024-03-13 21:40:25 -07:00
goat
8a2ba70cc3
chore: upgrade projects to net8 2023-11-14 20:23:02 +01:00
goat
f44c6794e7
chore: tidy-up, move files shared between dalamud and injector into separate assembly 2023-09-30 16:11:52 +02:00
goat
05e3330789
chore: upgrade all projects to .NET 7 2022-12-07 22:59:44 +01:00
karashiiro
387a820392
Fix SeString serialization/deserialization (#840)
* chore: add SeString JSON conversion test

* fix: SeString JSON serialization

* chore: add SeString JSON deserialization test

* chore: rename tests to abstract format away

* chore: fix typos

* fix: deserializable SeStrings

* chore: add comment to test

* chore: use DeserializeConfig in Load
2022-05-13 22:07:51 +02:00
goaaats
a43b5f8438
chore: upgrade projects to net6.0 2022-03-28 17:28:32 +02:00
goat
ca201e1a14
refactor: obsolete SeStringManager, move into SeString 2021-08-28 19:02:18 +02:00
goat
b1a596a598
fix: event naming style in DalamudPluginInterface.cs (closes #458) 2021-08-23 08:30:23 +02:00
Raymond
ff1d7f2829 Implement service locator 2021-08-21 14:03:06 -04:00
goat
4c159d606a
feat: add test for NewLinePayload 2021-07-15 23:30:25 +02:00
Raymond Lynch
658eedca37 Magic the magic happen 2021-07-11 16:32:32 -04:00
kalilistic
13eaa4450d feat: update loc to allow use by plugins 2021-04-10 13:45:28 -04:00
goat
3decb57b2c refactor: Dalamud.Game.Chat => Dalamud.Game.Text, move Sanitizer 2021-04-04 21:54:24 +02:00
kalilistic
20dfe5cbc9 refactor: improve sanitizer 2021-04-04 13:09:54 -04:00
kalilistic
e5524539a3 refactor: convert tests to xunit 2021-04-04 10:59:25 -04:00
kalilistic
c0490ea181 Merge branch 'master' into sanitizer 2021-04-04 10:57:39 -04:00
kalilistic
6770dce503 refactor: switch to xunit 2021-04-04 10:47:30 -04:00
kalilistic
4504bb049f feat: add sanitizer 2021-04-04 09:20:07 -04:00
kalilistic
4a354ad17e add unit test project 2021-04-03 09:15:15 -04:00