Update unloaded test project for OemProfile removal
This commit is contained in:
parent
fe07d0b5c1
commit
5e23e55987
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ namespace MatterControl.Tests.MatterControl
|
|||
static ConfigIniTests()
|
||||
{
|
||||
allPrinters = (from configIni in new DirectoryInfo(printerSettingsDirectory).GetFiles("config.ini", System.IO.SearchOption.AllDirectories)
|
||||
let oemProfile = new OemProfile(PrinterSettingsLayer.LoadFromIni(configIni.FullName))
|
||||
let oemProfile = new PrinterSettings() { OemLayer = PrinterSettingsLayer.LoadFromIni(configIni.FullName) }
|
||||
select new PrinterConfig
|
||||
{
|
||||
PrinterName = configIni.Directory.Name,
|
||||
|
|
@ -43,7 +43,7 @@ namespace MatterControl.Tests.MatterControl
|
|||
}).ToList();
|
||||
}
|
||||
|
||||
private static List<LayerInfo> LoadLayers(string layersDirectory, OemProfile oemProfile)
|
||||
private static List<LayerInfo> LoadLayers(string layersDirectory, PrinterSettings oemProfile)
|
||||
{
|
||||
// The slice presets layer cascade contains the preset layer, with config.ini data as a parent
|
||||
return Directory.Exists(layersDirectory) ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue