Exemple #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private void fileContentEquals(java.io.File fileA, java.io.File fileB) throws java.io.IOException
        private void FileContentEquals(File fileA, File fileB)
        {
            assertNotEquals(fileA.Path, fileB.Path);
            string message = string.Format("Expected file: {0}\ndoes not match actual file: {1}", fileA, fileB);

            assertEquals(message, StoreCopyClientIT.FileContent(fileA, _fsa), StoreCopyClientIT.FileContent(fileB, _fsa));
        }
Exemple #2
0
 public TestCatchupServerHandlerAnonymousInnerClass(StoreCopyClientIT outerInstance, LogProvider logProvider, TestDirectory testDirectory, FileSystemAbstraction fsa, string fileName, string copyFileName, IEnumerator <string> contents) : base(logProvider, testDirectory, fsa)
 {
     this.outerInstance = outerInstance;
     this._fileName     = fileName;
     this._copyFileName = copyFileName;
     this._contents     = contents;
 }
Exemple #3
0
 public CatchupAddressProviderAnonymousInnerClass2(StoreCopyClientIT outerInstance, CatchupAddressResolutionException catchupAddressResolutionException)
 {
     this.outerInstance = outerInstance;
     this._catchupAddressResolutionException = catchupAddressResolutionException;
 }
Exemple #4
0
 public CatchupAddressProviderAnonymousInnerClass(StoreCopyClientIT outerInstance, int port)
 {
     this.outerInstance = outerInstance;
     this._port         = port;
 }