Пример #1
0
 public bool ContainsError(SvnAprErrorCode code)
 {
     return(GetCause(code) != null);
 }
Пример #2
0
            protected override bool OnRetryLoopInvocation(int nr, SvnAprErrorCode error, SvnWindowsErrorCode osError, string expr)
            {
                Assert.That(osError, Is.Not.EqualTo(0));
                Assert.That(expr, Is.Not.Null);
                Assert.That(expr.Contains("apr_"), "'{0}' contains apr_");
                Assert.That(nr, Is.GreaterThan(1));

                return base.OnRetryLoopInvocation(nr, error, osError, expr);
            }
Пример #3
0
 public SvnException GetCause(SvnAprErrorCode code)
 {
     return(GetCause((SvnErrorCode)(int)code));
 }