Skip to content

Commit

Permalink
Rename SecureBootstrapTest method to use snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Oct 19, 2023
1 parent 85cfde9 commit 60e8fa8
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void stop() throws InterruptedException {
}

@Test
public void bootstrapSecureWithPSK() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
public void bootstrap_using_psk() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
// Create DM Server without security & start it
server = givenServer.using(Protocol.COAP).build();
server.start();
Expand Down Expand Up @@ -110,7 +110,7 @@ public void bootstrapSecureWithPSK() throws NonUniqueSecurityInfoException, Inva
}

@Test
public void bootstrapSecureWithBadPSKKey() throws InvalidConfigurationException, NonUniqueSecurityInfoException {
public void bootstrap_failed_using_bad_psk() throws InvalidConfigurationException, NonUniqueSecurityInfoException {
// Create DM Server without security & start it
server = givenServer.using(Protocol.COAP).build();
server.start();
Expand Down Expand Up @@ -141,7 +141,7 @@ public void bootstrapSecureWithBadPSKKey() throws InvalidConfigurationException,
}

@Test
public void bootstrapSecureWithRPK() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
public void bootstrap_using_rpk() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
// Create DM Server without security & start it
server = givenServer.using(Protocol.COAP).build();
server.start();
Expand Down Expand Up @@ -177,7 +177,8 @@ public void bootstrapSecureWithRPK() throws NonUniqueSecurityInfoException, Inva
}

@Test
public void bootstrapToPSKServer() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
public void bootstrap_unsecure_then_register_to_server_using_psk()
throws NonUniqueSecurityInfoException, InvalidConfigurationException {
// Create DM Server without security & start it
server = givenServer.using(Protocol.COAPS).build();
server.start();
Expand Down Expand Up @@ -207,7 +208,8 @@ public void bootstrapToPSKServer() throws NonUniqueSecurityInfoException, Invali
}

@Test
public void bootstrapToRPKServer() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
public void bootstrap_unsecure_then_register_to_server_using_rpk()
throws NonUniqueSecurityInfoException, InvalidConfigurationException {
// Create DM Server without security & start it
server = givenServer.using(Protocol.COAPS).using(serverPublicKey, serverPrivateKey).build();
server.start();
Expand Down

0 comments on commit 60e8fa8

Please sign in to comment.