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

« back to all changes in this revision

Viewing changes to external/ngit/NGit.Test/NGit.Storage.File/PackFileTest.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:
51
51
using NGit.Storage.Pack;
52
52
using NGit.Transport;
53
53
using NGit.Util;
 
54
using NUnit.Framework;
54
55
using Sharpen;
55
56
 
56
57
namespace NGit.Storage.File
208
209
                        NUnit.Framework.Assert.AreEqual(data3.Length, ol.GetSize());
209
210
                        NUnit.Framework.Assert.IsFalse(ol.IsLarge(), "is large");
210
211
                        NUnit.Framework.Assert.IsNotNull(ol.GetCachedBytes());
211
 
                        NUnit.Framework.Assert.IsTrue(Arrays.Equals(data3, ol.GetCachedBytes()));
 
212
                        CollectionAssert.AreEquivalent(data3, ol.GetCachedBytes());
212
213
                        ObjectStream @in = ol.OpenStream();
213
214
                        NUnit.Framework.Assert.IsNotNull(@in, "have stream");
214
215
                        NUnit.Framework.Assert.AreEqual(Constants.OBJ_BLOB, @in.GetType());