Skip to content

Commit

Permalink
Restyled by google-java-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jul 20, 2022
1 parent 94b0339 commit 2334b3e
Showing 1 changed file with 14 additions and 14 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 2334b3e

Please sign in to comment.