示例#1
0
		[TestFixtureSetUp] public void FixtureSetUp()
		{
			MockRepository mockRepository = new MockRepository();
			//mockRepository.AddFile(NO_CONTENTS_PATH, null, null, null);
			mockRepository.AddFile(BINARY_WITH_CONTENTS_PATH, null, MimeType("application/octet-stream"), "Contents");
			mockRepository.AddFile(CONTENTS_PATH, null, null, "This is the first line\nSecond Line...\nAnd the third\n\nFinal line!");

			repository = mockRepository;
		}
示例#2
0
		[TestFixtureSetUp] public void FixtureSetUp()
		{
			MockRepository mockRepository = new MockRepository();
			mockRepository.AddFile(NO_PROPS_PATH, null, null, null);
			mockRepository.AddFile(MIME_PROP_PATH, null, Props("svn:mime-type", "text/source"), null);
			mockRepository.AddFile(EOL_STYLE_PROP_PATH, null, Props("svn:eol-style", "native"), null);
			mockRepository.AddFile(LOGREGEGX_PROP_PATH, null, Props("bugtraq:logregex", @"^.*$", @"\d+"), null);

			repository = mockRepository;
		}
        [TestFixtureSetUp] public void FixtureSetUp()
        {
            MockRepository mockRepository = new MockRepository();

            //mockRepository.AddFile(NO_CONTENTS_PATH, null, null, null);
            mockRepository.AddFile(BINARY_WITH_CONTENTS_PATH, null, MimeType("application/octet-stream"), "Contents");
            mockRepository.AddFile(CONTENTS_PATH, null, null, "This is the first line\nSecond Line...\nAnd the third\n\nFinal line!");

            repository = mockRepository;
        }
示例#4
0
        [TestFixtureSetUp] public void FixtureSetUp()
        {
            MockRepository mockRepository = new MockRepository();

            mockRepository.AddFile(NO_PROPS_PATH, null, null, null);
            mockRepository.AddFile(MIME_PROP_PATH, null, Props("svn:mime-type", "text/source"), null);
            mockRepository.AddFile(EOL_STYLE_PROP_PATH, null, Props("svn:eol-style", "native"), null);
            mockRepository.AddFile(LOGREGEGX_PROP_PATH, null, Props("bugtraq:logregex", @"^.*$", @"\d+"), null);

            repository = mockRepository;
        }
示例#5
0
		[TestFixtureSetUp] public void FixtureSetUp()
		{
			MockRepository mockRepository = new MockRepository();
			mockRepository.AddFile(NO_MIME_PATH, null, null, null);
			mockRepository.AddFile(CSHARP_PATH, null, MimeType("text/cs"), null);
			mockRepository.AddFile(BINARY_PATH, null, MimeType("application/octet-stream"), null);
			mockRepository.AddFile(TEXT_PATH, null, MimeType("text"), null);
			mockRepository.AddFile(TEXTING_PATH, null, MimeType("texting"), null);
			mockRepository.AddFile(TEXT_SLASH_PATH, null, MimeType("text/"), null);

			repository = mockRepository;
		}
        [TestFixtureSetUp] public void FixtureSetUp()
        {
            MockRepository mockRepository = new MockRepository();

            mockRepository.AddFile(NO_MIME_PATH, null, null, null);
            mockRepository.AddFile(CSHARP_PATH, null, MimeType("text/cs"), null);
            mockRepository.AddFile(BINARY_PATH, null, MimeType("application/octet-stream"), null);
            mockRepository.AddFile(TEXT_PATH, null, MimeType("text"), null);
            mockRepository.AddFile(TEXTING_PATH, null, MimeType("texting"), null);
            mockRepository.AddFile(TEXT_SLASH_PATH, null, MimeType("text/"), null);

            repository = mockRepository;
        }