public async Task LiveLoadOrder() { using var tmpFolder = Utility.GetTempFolder(nameof(ModListings_Tests)); var path = Path.Combine(tmpFolder.Dir.Path, "Plugins.txt"); File.WriteAllLines(path, new string[] { Skyrim.Constants.Skyrim.ToString(), Skyrim.Constants.Update.ToString(), Skyrim.Constants.Dawnguard.ToString(), }); var live = PluginListings.GetLiveLoadOrder(GameRelease.SkyrimLE, path, default, out var state);
public void Integration( [Frozen] FilePath pluginsTxt, [Frozen] MockFileSystemWatcher watcher, [Frozen] MockFileSystem fs) { fs.File.WriteAllLines(pluginsTxt, new string[] { TestConstants.PluginModKey.ToString(), TestConstants.PluginModKey2.ToString(), TestConstants.PluginModKey3.ToString(), }); var live = PluginListings.GetLiveLoadOrder( GameRelease.SkyrimLE, pluginsTxt,