~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit.Test/NGit.Patch/PatchCcErrorTest.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
                                FormatError e = p.GetErrors()[0];
63
63
                                NUnit.Framework.Assert.AreEqual(FormatError.Severity.ERROR, e.GetSeverity());
64
64
                                NUnit.Framework.Assert.AreEqual(MessageFormat.Format(JGitText.Get().truncatedHunkLinesMissingForAncestor
65
 
                                        , 1, 1), e.GetMessage());
 
65
                                        , Sharpen.Extensions.ValueOf(1), Sharpen.Extensions.ValueOf(1)), e.GetMessage());
66
66
                                NUnit.Framework.Assert.AreEqual(346, e.GetOffset());
67
67
                                NUnit.Framework.Assert.IsTrue(e.GetLineText().StartsWith("@@@ -55,12 -163,13 +163,15 @@@ public "
68
68
                                        ));
71
71
                                FormatError e = p.GetErrors()[1];
72
72
                                NUnit.Framework.Assert.AreEqual(FormatError.Severity.ERROR, e.GetSeverity());
73
73
                                NUnit.Framework.Assert.AreEqual(MessageFormat.Format(JGitText.Get().truncatedHunkLinesMissingForAncestor
74
 
                                        , 2, 2), e.GetMessage());
 
74
                                        , Sharpen.Extensions.ValueOf(2), Sharpen.Extensions.ValueOf(2)), e.GetMessage());
75
75
                                NUnit.Framework.Assert.AreEqual(346, e.GetOffset());
76
76
                                NUnit.Framework.Assert.IsTrue(e.GetLineText().StartsWith("@@@ -55,12 -163,13 +163,15 @@@ public "
77
77
                                        ));