Add test cases for NB.encode and NB.decode family of routines
commit6169f61a53d3ea3776e3af29c8c8197d4ecd6f09
authorShawn O. Pearce <spearce@spearce.org>
Mon, 18 Aug 2008 16:35:32 +0000 (18 09:35 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 19 Aug 2008 20:33:56 +0000 (19 22:33 +0200)
tree7714ff22063f02e25fec0291afbb4c6ca16d0c08
parent6edc860666af932c6d755de5c76b1484b6321bf0
Add test cases for NB.encode and NB.decode family of routines

We really need to ensure these methods work correctly, and since
we just suffered from a bug in NB.decodeUInt16 we now have a set
of test cases for the corner conditions of each encode and decode
method pair we support.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst/org/spearce/jgit/util/NBTest.java [new file with mode: 0644]