commit | a5cff2283b9bc60da9f4e74ba07a2119f5616653 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@chromium.org> | Wed Apr 08 14:10:30 2015 -0700 |
committer | Alex Deymo <deymo@google.com> | Wed Sep 23 10:06:36 2015 -0700 |
tree | ad884837d726ea223b081ac7270b304f9f09646a | |
parent | 68b49a819183f290b56fb9bb6c79c4ec86d7ad09 [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