Replace assertParcelSane with assertParcelingIsLossless
Per review comment on aosp/2012897. Test: atest EthernetNetworkUpdateRequestTest Change-Id: Ie2f21d821709cc82af9294d70826f153506fda4f
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
package android.net;
|
||||
|
||||
import static com.android.testutils.DevSdkIgnoreRuleKt.SC_V2;
|
||||
import static com.android.testutils.ParcelUtils.assertParcelSane;
|
||||
import static com.android.testutils.ParcelUtils.assertParcelingIsLossless;
|
||||
|
||||
import com.android.testutils.DevSdkIgnoreRule;
|
||||
import com.android.testutils.DevSdkIgnoreRunner;
|
||||
@@ -48,7 +48,7 @@ public class EthernetNetworkUpdateRequestTest {
|
||||
new EthernetNetworkUpdateRequest.Builder().setIpConfiguration(
|
||||
buildIpConfiguration()).build();
|
||||
|
||||
assertParcelSane(reqWithNonNull, 2);
|
||||
assertParcelSane(reqWithNullCaps, 2);
|
||||
assertParcelingIsLossless(reqWithNonNull);
|
||||
assertParcelingIsLossless(reqWithNullCaps);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user