Add missing test annotations
am: ce5d607370

Change-Id: Ia7d3ace2dc28dc607ed19a3bdbd0089517b309b6
diff --git a/src/test/java/com/android/apksig/internal/util/ArrayBackedByteBufferSinkTest.java b/src/test/java/com/android/apksig/internal/util/ArrayBackedByteBufferSinkTest.java
index 3256728..e554e19 100644
--- a/src/test/java/com/android/apksig/internal/util/ArrayBackedByteBufferSinkTest.java
+++ b/src/test/java/com/android/apksig/internal/util/ArrayBackedByteBufferSinkTest.java
@@ -17,7 +17,10 @@
 package com.android.apksig.internal.util;
 
 import java.nio.ByteBuffer;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
+@RunWith(JUnit4.class)
 public class ArrayBackedByteBufferSinkTest extends ByteBufferSinkTestBase {
     @Override
     protected ByteBuffer createBuffer(int size) {
diff --git a/src/test/java/com/android/apksig/internal/util/DirectByteBufferSinkTest.java b/src/test/java/com/android/apksig/internal/util/DirectByteBufferSinkTest.java
index d416508..0b8e975 100644
--- a/src/test/java/com/android/apksig/internal/util/DirectByteBufferSinkTest.java
+++ b/src/test/java/com/android/apksig/internal/util/DirectByteBufferSinkTest.java
@@ -17,7 +17,10 @@
 package com.android.apksig.internal.util;
 
 import java.nio.ByteBuffer;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
+@RunWith(JUnit4.class)
 public class DirectByteBufferSinkTest extends ByteBufferSinkTestBase {
     @Override
     protected ByteBuffer createBuffer(int size) {
diff --git a/src/test/java/com/android/apksig/util/InMemoryDataSinkDataSourceTest.java b/src/test/java/com/android/apksig/util/InMemoryDataSinkDataSourceTest.java
index bce9765..33243e9 100644
--- a/src/test/java/com/android/apksig/util/InMemoryDataSinkDataSourceTest.java
+++ b/src/test/java/com/android/apksig/util/InMemoryDataSinkDataSourceTest.java
@@ -17,10 +17,13 @@
 package com.android.apksig.util;
 
 import java.io.IOException;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Tests for the {@link DataSource} returned by {@link DataSinks#newInMemoryDataSink()}.
  */
+@RunWith(JUnit4.class)
 public class InMemoryDataSinkDataSourceTest extends DataSourceTestBase {
     @Override
     protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException {
diff --git a/src/test/java/com/android/apksig/util/InMemoryDataSinkTest.java b/src/test/java/com/android/apksig/util/InMemoryDataSinkTest.java
index b75926d..f48510a 100644
--- a/src/test/java/com/android/apksig/util/InMemoryDataSinkTest.java
+++ b/src/test/java/com/android/apksig/util/InMemoryDataSinkTest.java
@@ -18,10 +18,13 @@
 
 import java.io.IOException;
 import java.nio.ByteBuffer;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Tests for the {@link DataSink} returned by {@link DataSinks#newInMemoryDataSink()}.
  */
+@RunWith(JUnit4.class)
 public class InMemoryDataSinkTest extends DataSinkTestBase<ReadableDataSink> {
 
     @Override