commit | d2dd241f892b34f63a5012d6b773677d6eea0350 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Mon Jun 19 16:21:00 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Jun 19 16:21:00 2017 +0000 |
tree | 57454d9be021544163309da0285dcb0e21a34a1c | |
parent | 5cda553be3d08113605831a7415a89cb5b362ab2 [diff] | |
parent | ce5d6073700d0cb3ae989b6ef84150308c5769c0 [diff] |
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