commit | 04ed891a9199374151a73f77353da2564cc762a7 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@chromium.org> | Wed Apr 08 21:10:30 2015 |
committer | Alex Deymo <deymo@chromium.org> | Thu Apr 09 23:09:33 2015 |
tree | 2f34b564476ef7ffde7f2fa5e1db854dcd871cd6 | |
parent | be22c479293df0c89ff71bb53dfd01ad0fe73b0c [diff] |
Add gtest unittest framework. bsdiff and bspatch are in C and had no unittest. This patch keeps those programs as C code, but adds the C++ gtest unittest framework to allow testing them. Two simple unittests added to validate that the unittests work. BUG=None TEST=make test; ./unittests Change-Id: I8bca6b0c6bc5d5880464183d50a602c9886d20d0