Skip to content

Commit

Permalink
Disable ShadowNativeAllocationRegistryTest$applyFreeFunction_matrix f…
Browse files Browse the repository at this point in the history
…or Android V and above.

The free function in Matrix was refactored and relocated for Android V. We
need to find a different one to test.

PiperOrigin-RevId: 636271659
  • Loading branch information
Googler authored and Copybara-Service committed May 22, 2024
1 parent 194ac08 commit 9565fd8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
import org.robolectric.util.reflector.Accessor;
import org.robolectric.util.reflector.ForType;
import org.robolectric.util.reflector.Static;
import org.robolectric.versioning.AndroidVersions.U;

@RunWith(RobolectricTestRunner.class)
@Config(minSdk = O)
public final class ShadowNativeAllocationRegistryTest {
// TODO(hoisie): choose a different free function to test in V and above.
@Config(maxSdk = U.SDK_INT)
@Test
public void applyFreeFunction_matrix() throws Exception {
WeakReference<Matrix> weakMatrix = new WeakReference<>(newMatrix());
Expand Down

0 comments on commit 9565fd8

Please sign in to comment.