public void SetUp() { var system = new FileSystem(); system.DeleteDirectory("geonosis"); system.CreateDirectory("geonosis"); var data1 = newData(); var data2 = newData(); var data3 = newData(); var data4 = newData(); var data5 = newData(); var data6 = newData(); var data7 = newData(); saveData(data1, "a", "a1"); saveData(data2, "a", "a2"); saveData(data3, "b", "b3"); saveData(data4, "b", "b4"); saveData(data5, "c", "c5"); saveData(data6, "c", "c6"); saveData(data7, "c", "c7"); var data8 = newData(); data8["pak1"] = "pak1-value"; PackageSettingsSource.WriteToDirectory(data8, "geonosis".AppendPath("a")); theCache = new PackageFilesCache(); theCache.AddDirectory(FileSystem.Combine("geonosis", "a")); theCache.AddDirectory(FileSystem.Combine("geonosis", "b")); theCache.AddDirectory(FileSystem.Combine("geonosis", "c")); }
public void SetUp() { var system = new FileSystem(); system.DeleteDirectory("geonosis"); system.CreateDirectory("geonosis"); var data1 = newData(); var data2 = newData(); var data3 = newData(); var data4 = newData(); var data5 = newData(); var data6 = newData(); var data7 = newData(); saveData(data1, "a", "a1"); saveData(data2, "a", "a2"); saveData(data3, "b", "b3"); saveData(data4, "b", "b4"); saveData(data5, "c", "c5"); saveData(data6, "c", "c6"); saveData(data7, "c", "c7"); theCache = new PackageFilesCache(); theCache.AddDirectory(FileSystem.Combine("geonosis", "a")); theCache.AddDirectory(FileSystem.Combine("geonosis", "b")); theCache.AddDirectory(FileSystem.Combine("geonosis", "c")); }