diff options
author | Brett Chabot <brettchabot@google.com> | 2019-02-26 14:52:33 -0800 |
---|---|---|
committer | Brett Chabot <brettchabot@google.com> | 2019-03-01 17:23:42 +0000 |
commit | 189c598dc705aadfd751f6978efb12077ae131b9 (patch) | |
tree | 0a49e97e017c1c28db33253ab8509a09e51d8863 /tests/src/android/net/dhcp/DhcpPacketTest.java | |
parent | 07a97e9e3a920c5621f504d893033ef8fc02a4cb (diff) |
Migrate frameworks/base/tests/testables and its users to androidx.test
See go/jetpack-test-android-migration
Test: atest TestablesTests NetworkStackTests FrameworksServicesTests SystemUITests FrameworksUiServicesTests ExtServicesUnitTests
Exempt-From-Owner-Approval: already reviewed
Change-Id: I083fcdaa71b503535aa2b3c257740f3ecf055373
Merged-In: Ib04d80954bd8536914d88c66b28e6632e60a6245
Diffstat (limited to 'tests/src/android/net/dhcp/DhcpPacketTest.java')
-rw-r--r-- | tests/src/android/net/dhcp/DhcpPacketTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/src/android/net/dhcp/DhcpPacketTest.java b/tests/src/android/net/dhcp/DhcpPacketTest.java index 7544e72..4d98403 100644 --- a/tests/src/android/net/dhcp/DhcpPacketTest.java +++ b/tests/src/android/net/dhcp/DhcpPacketTest.java @@ -48,8 +48,9 @@ import android.net.DhcpResults; import android.net.LinkAddress; import android.net.NetworkUtils; import android.net.metrics.DhcpErrorEvent; -import android.support.test.filters.SmallTest; -import android.support.test.runner.AndroidJUnit4; + +import androidx.test.filters.SmallTest; +import androidx.test.runner.AndroidJUnit4; import com.android.internal.util.HexDump; @@ -324,7 +325,7 @@ public class DhcpPacketTest { @Test public void testOffer1() throws Exception { // TODO: Turn all of these into golden files. This will probably require using - // android.support.test.InstrumentationRegistry for obtaining a Context object + // androidx.test.InstrumentationRegistry for obtaining a Context object // to read such golden files, along with an appropriate Android.mk. final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( // IP header. |