OSDN Git Service

Add tests for <endian.h>.
authorElliott Hughes <enh@google.com>
Sat, 25 Feb 2017 00:19:53 +0000 (16:19 -0800)
committerElliott Hughes <enh@google.com>
Sat, 25 Feb 2017 00:19:53 +0000 (16:19 -0800)
commitba267f45d62f5b33a6bbb96147d88fbab017b4ef
tree60de02ea20e7b3aec2047c9891a711dde41c4fb6
parent5927b04ce7d9d4727a4a644f8af4040b8dab5d0a
Add tests for <endian.h>.

Also, for the stuff that's also in <netinet/in.h> as real functions,
check that they're there too (and as functions rather than macros,
since that was historically not true).

Bug: http://b/28432448
Test: ran tests
Change-Id: I7e4ae926f7e02de3b6dd38d1953e5b3b43d44f74
tests/Android.bp
tests/endian_test.cpp [new file with mode: 0644]
tests/netinet_in_test.cpp