public void GetSearchFrame_FileItem() { ISearchFrame searchFrame = _actionRegistry.GetSearchFrame(new IIndexable[] { new FileItem(Assembly.GetExecutingAssembly().Location) }); var indexableSearchFrame = searchFrame.ShouldBeType <IndexableSearchFrame>(); indexableSearchFrame.Indexables.Length.ShouldEqual(2); indexableSearchFrame.Indexables.OfType <ContainingFolderConverter>().Count().ShouldEqual(1); }
public void GetSearchFrame_GoogleAction() { ISearchFrame searchFrame = _actionRegistry.GetSearchFrame(new IIndexable[] { new GoogleAction() }); searchFrame.ShouldBeType <StringSearchFrame>(); }