ModernUO/Projects/UOContent.Tests/Tests/Engines/AdvancedSearch
Kamron Batman 8997aaf498 feat(types): support legacy RunUO Parse(string) types; AdvancedSearch reuses it
Server.Types.Parse now discovers either the modern IParsable Parse(string,
IFormatProvider) or a legacy RunUO Parse(string) (cached in the ConcurrentDictionary),
and TryParse gates on the discovered method instead of the IParsable interface. This
restores parsing for pre-IParsable types like Faction and Town, which have only a
static Parse(string) and were previously unreachable (they fell through to
Convert.ChangeType and failed) — fixing them for [set, spawners, and the conditional
compiler as well.

AdvancedSearch's CompareValues now delegates all non-hot-path types to Types
unconditionally, so reference types, IParsable value types, and legacy Parse(string)
types are all searchable and compared by value. Adds a legacy-Parse test. Full suite 535/535.
2026-07-20 09:19:20 -07:00
..
AdvancedSearchPagingTests.cs fix(advanced-search): E — descending sort last page renders its items 2026-07-19 22:03:17 -07:00
AdvancedSearchTypesTests.cs refactor(advanced-search): reuse thread-safe Server.Types for general property parsing 2026-07-20 09:03:54 -07:00
AdvancedSearchUtilitiesTests.cs feat(types): support legacy RunUO Parse(string) types; AdvancedSearch reuses it 2026-07-20 09:19:20 -07:00
AdvancedSearchWorkerTests.cs fix(advanced-search): C/G follow-up - cover synchronous setup + test isolation in try/finally 2026-07-19 21:53:29 -07:00