History log of /system/tools/aidl/tests/test_helpers.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd7dc03fdd1e0cd558df43a155ab1644cbe2b553 03-Feb-2016 Christopher Wiley <wiley@google.com> Declare interface constants as enum in C++

While constexpr hints to the compiler that it can optimize
away the address of these integer expressions, it does not
mandate this behavior. This can cause linkage errors when
the same generated header is included from multiple compilation
units and everyone expects the integer constant to defined
elsewhere.

Bug: 26942276
Test: unittests pass

Change-Id: I7dfda08b5226344d5169b3f298413cd8a1ceb692
/system/tools/aidl/tests/test_helpers.h
c79583392abd844923ca07988754d2b9b9aefaf3 01-Feb-2016 Christopher Wiley <wiley@google.com> Pull out helpers for testing primitives

These will prove helpful when implementing utf8 string testing.

Bug: 26729450
Test: unittests, integration tests still pass

Change-Id: If2964a2bddf4b2516cc62bb7a96cacce558e8df0
/system/tools/aidl/tests/test_helpers.h