private static async Task <ProjectModelBase> GetUnitTestProjectLocationAsync(ProjectModelBase locationForTest, UnitTestCreationDetails creationOptions, bool shouldCreateParentFolder) { if (shouldCreateParentFolder) { return(await locationForTest.AddFolderAsync(creationOptions.UnitTestFolderName)); } return(locationForTest); }
private static async Task <ProjectModelBase> AddAutomationTestFolderAsync(ProjectModelBase locationForTest, UIAutomationTestCreationOptions creationOptions) { return(await locationForTest.AddFolderAsync(creationOptions.TestFolderName)); }