public void OneDriveCase() { var fq = new FileQuery(); var results = fq.ExecuteAsync(@"C:\Users\adamo\OneDrive", "*.pptx").Result; Assert.IsTrue(results.Any()); }
public void VisualStudioCase() { var fq = new FileQuery(); var results = fq.ExecuteAsync(@"C:\Users\adamo\Source\Repos", "*.sln", FileQuery.VisualStudioResult).Result; var array = results.ToArray(); // just to avoid weird debugger complaining Assert.IsTrue(array.Any()); }