コード例 #1
0
 public void EnumerateFiles_searchPattern_match()
 {
     string path = new DirectoryWrap().GetCurrentDirectory();
     IDirectoryInfo directoryInfoWrap = new DirectoryInfoWrap(path);
     var files = directoryInfoWrap.EnumerateFiles(System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name);
     Assert.AreEqual(1, files.Count());
 }