public void GetBinaryFileContent() { using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance <ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance <IActivityLogger>(), ObjectFactory.GetInstance <IDiffProcessor>())) { byte[] content = s.GetBinaryFileContent(3.ToString(), "readme.txt"); Assert.AreEqual(Encoding.UTF8.GetBytes("Test repository to verify subversion integration."), content); } }
public void GetBinaryFileContent() { using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance<ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance<IActivityLogger>(), ObjectFactory.GetInstance<IDiffProcessor>())) { byte[] content = s.GetBinaryFileContent(3.ToString(), "readme.txt"); Assert.AreEqual(Encoding.UTF8.GetBytes("Test repository to verify subversion integration."), content); } }