StructNlAttrTest: fix lint error am: d7b866df70
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3135307 Change-Id: If77caaa97a1e7d557bd3714f5bbe88b52a6ccfd2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
5e4a284bd9
1 changed files with 2 additions and 2 deletions
|
|
@ -69,11 +69,11 @@ public class StructNlAttrTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testGetValueAsIntger() {
|
||||
public void testGetValueAsInteger() {
|
||||
final StructNlAttr attr1 = new StructNlAttr(IFA_FLAGS, TEST_ADDR_FLAGS);
|
||||
final Integer integer1 = attr1.getValueAsInteger();
|
||||
final int int1 = attr1.getValueAsInt(0x08 /* default value */);
|
||||
assertEquals(integer1, new Integer(TEST_ADDR_FLAGS));
|
||||
assertEquals(integer1, Integer.valueOf(TEST_ADDR_FLAGS));
|
||||
assertEquals(int1, TEST_ADDR_FLAGS);
|
||||
|
||||
// Malformed attribute.
|
||||
|
|
|
|||
Loading…
Reference in a new issue