diff options
author | Hugo Benichi <hugobenichi@google.com> | 2017-10-11 11:26:25 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-10-12 15:26:09 +0900 |
commit | 4a0c5d7ef7144280fe8a209a871bbd4ef90d6368 (patch) | |
tree | f6e8b2f8e53eddf4f71db1829a97390201c9b9f2 /tests/net/java/com/android/server/IpSecServiceTest.java | |
parent | 5f123e6ad6603c83e6f32ccdcdb0576c647bc2df (diff) |
Migrate most of core networking tests to junit4
This patch is a batch of mechanical changes to test classes to migrate
away from AndroidTestCase and TestCase.
Bug: 62918393
Test: runtest frameworks-net
Change-Id: I74134609e511f22c4d9ecd65780e981f9ba7ae3f
Diffstat (limited to 'tests/net/java/com/android/server/IpSecServiceTest.java')
-rw-r--r-- | tests/net/java/com/android/server/IpSecServiceTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/net/java/com/android/server/IpSecServiceTest.java b/tests/net/java/com/android/server/IpSecServiceTest.java index efc58ccf7346..83ee361aa2e3 100644 --- a/tests/net/java/com/android/server/IpSecServiceTest.java +++ b/tests/net/java/com/android/server/IpSecServiceTest.java @@ -36,6 +36,7 @@ import android.net.IpSecUdpEncapResponse; import android.os.Binder; import android.os.ParcelFileDescriptor; import android.support.test.filters.SmallTest; +import android.support.test.runner.AndroidJUnit4; import android.system.ErrnoException; import android.system.Os; @@ -48,11 +49,10 @@ import java.net.UnknownHostException; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; /** Unit tests for {@link IpSecService}. */ @SmallTest -@RunWith(JUnit4.class) +@RunWith(AndroidJUnit4.class) public class IpSecServiceTest { private static final int DROID_SPI = 0xD1201D; |