Add tests from RSTest_Compat to RSUnitTests
There are tests in a new directory RSUnitTests/supportlibonlysrc/, they
will actually be used in a later CL, but for now they are just sitting
there.
The added tests are copied from RSTest_Compat and modified to
follow the conventions of RSUnitTests.
UT_alloc_supportlib is UT_alloc from RSTest_Compat. It is different from
the existing UT_alloc since the support library API is slightly more
lenient, so I can't merge them.
Test: make -j50 RSTestBackward RSTestBackward19 RSTestForward
Test: adb install -r RSTestBackward.apk RSTestBackward19.apk
RSTestForward*.apk
Test: adb shell am instrument -w \
com.android.rs.testbackward/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -w \
com.android.rs.testbackward19/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -w \
com.android.rs.testforward/android.support.test.runner.AndroidJUnitRunner
Change-Id: Iafd783de3b4d1a9b82079113aa34a5fb962169a1
20 files changed