GetBinaryFileContent() public method

public GetBinaryFileContent ( RevisionId changeset, string path ) : byte[]
changeset Tp.SourceControl.VersionControlSystem.RevisionId
path string
return byte[]
        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);
			}
		}