Aurora-Modders / AuroraLoader

A tool for discovering and safely managing Aurora mods
MIT License
10 stars 5 forks source link

Unit test Mirror and ModListing #35

Closed thashepherd closed 4 years ago

thashepherd commented 4 years ago

https://github.com/Aurora-Modders/AuroraLoader/blob/master/AuroraLoader/Registry/Mirror.cs represents a 'mirror' as defined in mirrors.ini:

https://raw.githubusercontent.com/Aurora-Modders/AuroraRegistry/master/

ModListing represents a single instance of a mod tracked by the mirror.

These classes are responsible for updating the list of Aurora versions, mods, and (not yet implemented) Aurora installation files tracked by a given mirror. Unit testing this class will allow us to lock down the ways we're acquiring all remote mod data and allow us to safely make changes to the mod.json format.