コード例 #1
0
 public void LargeFilesWithSupportedExtension_ShouldNotBeInRepo()
 {
     foreach (var extension in _imageFileHandler.GetExtensionsOfKnownTextFileTypes())
     {
         LargeFileIntegrationTestService.TestThatALargeFileIsNotInRepository(extension);
     }
 }
コード例 #2
0
 public void LargeFilesWithSupportedExtension_ShouldNotBeInRepo()
 {
     foreach (var extension in _audioFileHandler.GetExtensionsOfKnownTextFileTypes())
     {
         if (extension == "wav")
         {
             continue;                     // Nasty hack, but "wav" is put into repo no matter its size. TODO: FIX THIS, if Hg ever works right for "wav" files.
         }
         LargeFileIntegrationTestService.TestThatALargeFileIsNotInRepository(extension);
     }
 }
コード例 #3
0
 public void LargeFileWithUnsupportedExtension_ShouldNotBeInRepo()
 {
     LargeFileIntegrationTestService.TestThatALargeFileIsNotInRepository("docx");
 }