6cac172ca1fedbed3a1b2b3ddd82856aa6345393 |
|
12-May-2017 |
Arthur Eubanks <aeubanks@google.com> |
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
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/UT_single_source_alloc.java
|
4cad330154b7df7c3adf126b9f4b2665191a23a4 |
|
21-Apr-2017 |
Arthur Eubanks <aeubanks@google.com> |
Fix unit test race condition Message saying whether test passed or failed is asynchronous, so sometimes reported results were inconsistent. Added flag to see if UnitTest received message or not. Test: m -j50 RSTestBackward Test: adb install RSTestBackward.apk Test: adb shell am instrument -w \ com.android.rs.testbackward/android.support.test.runner.AndroidJUnitRunner Change-Id: Ibbc6ffb0f0b9296e4c441239d3841546329b7ee5
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/UT_single_source_alloc.java
|
1a3e97c3ab51f602927a67d4abc50ffa6ce5ccba |
|
06-Apr-2017 |
Arthur Eubanks <aeubanks@google.com> |
Add RenderScript backward compatibility testing RSTestBackward contains the logic for running backward compatibility testing RSUnitTests contains the unit tests (copied from RSTest but with UI logic removed), separated out for use in other future projects (e.g. forward compatibility) Test: m -j50 RSTestBackward Test: adb install -r RSTestBackward.apk Test: adb shell am instrument -w \ com.android.rs.test_backward/android.support.test.runner.AndroidJUnitRunner Change-Id: If0c15cf25b9f24c7bdc32a2c2a1ac0602f63d6dd
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/UT_single_source_alloc.java
|