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

« back to all changes in this revision

Viewing changes to external/ngit/NGit.Test/NGit.Transport/PacketLineInTest.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:
252
252
                        Init("0008NAK\n");
253
253
                        NUnit.Framework.Assert.AreEqual(PacketLineIn.AckNackResult.NAK, @in.ReadACK(actid
254
254
                                ));
255
 
                        NUnit.Framework.Assert.IsTrue(actid.Equals(expid));
 
255
                        NUnit.Framework.Assert.AreEqual(expid, actid);
256
256
                        AssertEOF();
257
257
                }
258
258
 
265
265
                        Init("0031ACK fcfcfb1fd94829c1a1704f894fc111d14770d34e\n");
266
266
                        NUnit.Framework.Assert.AreEqual(PacketLineIn.AckNackResult.ACK, @in.ReadACK(actid
267
267
                                ));
268
 
                        NUnit.Framework.Assert.IsTrue(actid.Equals(expid));
 
268
                        NUnit.Framework.Assert.AreEqual(expid, actid);
269
269
                        AssertEOF();
270
270
                }
271
271
 
278
278
                        Init("003aACK fcfcfb1fd94829c1a1704f894fc111d14770d34e continue\n");
279
279
                        NUnit.Framework.Assert.AreEqual(PacketLineIn.AckNackResult.ACK_CONTINUE, @in.ReadACK
280
280
                                (actid));
281
 
                        NUnit.Framework.Assert.IsTrue(actid.Equals(expid));
 
281
                        NUnit.Framework.Assert.AreEqual(expid, actid);
282
282
                        AssertEOF();
283
283
                }
284
284
 
291
291
                        Init("0038ACK fcfcfb1fd94829c1a1704f894fc111d14770d34e common\n");
292
292
                        NUnit.Framework.Assert.AreEqual(PacketLineIn.AckNackResult.ACK_COMMON, @in.ReadACK
293
293
                                (actid));
294
 
                        NUnit.Framework.Assert.IsTrue(actid.Equals(expid));
 
294
                        NUnit.Framework.Assert.AreEqual(expid, actid);
295
295
                        AssertEOF();
296
296
                }
297
297
 
304
304
                        Init("0037ACK fcfcfb1fd94829c1a1704f894fc111d14770d34e ready\n");
305
305
                        NUnit.Framework.Assert.AreEqual(PacketLineIn.AckNackResult.ACK_READY, @in.ReadACK
306
306
                                (actid));
307
 
                        NUnit.Framework.Assert.IsTrue(actid.Equals(expid));
 
307
                        NUnit.Framework.Assert.AreEqual(expid, actid);
308
308
                        AssertEOF();
309
309
                }
310
310