GetTextFileContent() public method

public GetTextFileContent ( RevisionId changeset, string path ) : string
changeset Tp.SourceControl.VersionControlSystem.RevisionId
path string
return string
 public void GetTextFileContentUnknownRevision()
 {
     using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance <ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance <IActivityLogger>(), ObjectFactory.GetInstance <IDiffProcessor>()))
     {
         s.GetTextFileContent(99999.ToString(), "/TempSubversionTest/readme.txt");
     }
 }
 public void GetTextFileContentUnknownPath()
 {
     using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance <ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance <IActivityLogger>(), ObjectFactory.GetInstance <IDiffProcessor>()))
     {
         s.GetTextFileContent(6066.ToString(), "/thisfiledoesnotexist.txt");
     }
 }
        public void GetTextFileContent()
        {
            using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance <ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance <IActivityLogger>(), ObjectFactory.GetInstance <IDiffProcessor>()))
            {
                string content = s.GetTextFileContent(3.ToString(), "/readme.txt");

                Assert.AreEqual("Test repository to verify subversion integration.", content);
                // there is extra newline char at the end of file
            }
        }
		public void GetTextFileContentUnknownRevision()
		{
			using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance<ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance<IActivityLogger>(), ObjectFactory.GetInstance<IDiffProcessor>()))
			{
				s.GetTextFileContent(99999.ToString(), "/TempSubversionTest/readme.txt");
			}
		}
		public void GetTextFileContentUnknownPath()
		{
			using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance<ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance<IActivityLogger>(), ObjectFactory.GetInstance<IDiffProcessor>()))
			{
				s.GetTextFileContent(6066.ToString(), "/thisfiledoesnotexist.txt");
			}
		}
		public void GetTextFileContent()
		{
			using (var s = new Subversion(GetLocalRepositorySettings(), ObjectFactory.GetInstance<ICheckConnectionErrorResolver>(), ObjectFactory.GetInstance<IActivityLogger>(), ObjectFactory.GetInstance<IDiffProcessor>()))
			{
				string content = s.GetTextFileContent(3.ToString(), "/readme.txt");

				Assert.AreEqual("Test repository to verify subversion integration.", content);
				// there is extra newline char at the end of file
			}
		}