Skip to content

Commit

Permalink
correct indentations and newline
Browse files Browse the repository at this point in the history
  • Loading branch information
ajwak committed Jul 20, 2022
1 parent 360c6a0 commit 4b0cbfd
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
*/
@RunWith(AndroidJUnit4.class)
public class CHIPDeviceControllerTest {
@Test
public void PaseVerifierTest() {
long deviceId = 123L;
long setupPincode = 808080L;
long iterations = 1000L;
byte[] randomSalt = "hEvzbU:%h)?aB,h7+9fn[Lf[BhYB!=TA".getBytes();
@Test
public void PaseVerifierTest() {
long deviceId = 123L;
long setupPincode = 808080L;
long iterations = 1000L;
byte[] randomSalt = "hEvzbU:%h)?aB,h7+9fn[Lf[BhYB!=TA".getBytes();

Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
ChipDeviceController chipDeviceController = ChipClient.INSTANCE.getDeviceController(appContext);
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
ChipDeviceController chipDeviceController = ChipClient.INSTANCE.getDeviceController(appContext);

PaseVerifierParams params =
chipDeviceController.computePaseVerifier(deviceId, setupPincode, iterations, randomSalt);
PaseVerifierParams params =
chipDeviceController.computePaseVerifier(deviceId, setupPincode, iterations, randomSalt);

assertNotNull(params);
assertEquals(params.getSetupPincode(), setupPincode);
assertNotNull(params.getPakeVerifier());
}
}
assertNotNull(params);
assertEquals(params.getSetupPincode(), setupPincode);
assertNotNull(params.getPakeVerifier());
}
}

0 comments on commit 4b0cbfd

Please sign in to comment.