Bonobo.Git.Server.Test.Integration.ClAndWeb.MsysgitIntegrationTests.InitAndPushRepository C# (CSharp) Метод

InitAndPushRepository() приватный Метод

private InitAndPushRepository ( GitInstance git ) : void
git GitInstance
Результат void
        private void InitAndPushRepository(GitInstance git)
        {
            RunGitOnRepo(git, "init").ExpectSuccess();
            RunGitOnRepo(git, String.Format("remote add origin {0}", RepositoryUrlWithCredentials)).ExpectSuccess();
            var result = RunGitOnRepo(git, "push origin master");

            Assert.AreEqual(String.Format(git.Resources[MsysgitResources.Definition.PullRepositoryError], RepositoryUrlWithoutCredentials), result.StdErr);
        }