Exemplo n.º 1
0
            /// <summary>
            /// Asserts whether if the given file exists in the given folder, and reports the difference
            /// </summary>
            protected void AssertFolderNotEmpty(string relFolderPath, string fileTypes = "*.*")
            {
                var anomalies = new Anomalies();

                Assert.IsTrue(FolderNotEmpty(relFolderPath, fileTypes, anomalies), anomalies.Format());
            }
Exemplo n.º 2
0
 /// <summary>
 /// Asserts whether if the given file exists in the given folder, and reports the difference
 /// </summary>
 protected void AssertFolderNotEmpty(string relFolderPath, string fileTypes = "*.*")
 {
     var anomalies = new Anomalies();
     Assert.IsTrue(FolderNotEmpty(relFolderPath, fileTypes, anomalies), anomalies.Format());
 }
Exemplo n.º 3
0
            /// <summary>
            /// Asserts whether the given folder contains only the given files, and no others, and reports the difference
            /// </summary>
            protected void AssertFolderContainsExclusive(string relFolderPath, IEnumerable <string> filenames)
            {
                var anomalies = new Anomalies();

                Assert.IsTrue(FolderContainsExclusive(relFolderPath, filenames, anomalies), anomalies.Format());
            }
Exemplo n.º 4
0
 /// <summary>
 /// Asserts whether the given folder contains only the given files, and no others, and reports the difference
 /// </summary>
 protected void AssertFolderContainsExclusive(string relFolderPath, IEnumerable<string> filenames)
 {
     var anomalies = new Anomalies();
     Assert.IsTrue(FolderContainsExclusive(relFolderPath, filenames, anomalies), anomalies.Format());
 }