internal static Inventory GenerateLayouts()
{
string partDirectory = Path.Combine(FwDirectoryFinder.SourceDirectory,
@"Common/Controls/DetailControls/DetailControlsTests");
Dictionary<string, string[]> keyAttrs = new Dictionary<string, string[]>();
keyAttrs["layout"] = new string[] {"class", "type", "name" };
keyAttrs["group"] = new string[] {"label"};
keyAttrs["part"] = new string[] {"ref"};
var layouts = new Inventory(new string[] {partDirectory},
"*.fwlayout", "/LayoutInventory/*", keyAttrs, "DetailTreeTests", "ProjectPath");
return layouts;
}