Skip to content

Commit 60e8fa8

Browse files
committed
Rename SecureBootstrapTest method to use snake case
1 parent 85cfde9 commit 60e8fa8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

leshan-integration-tests/src/test/java/org/eclipse/leshan/integration/tests/SecureBootstrapTest.java

+7-5
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void stop() throws InterruptedException {
7676
}
7777

7878
@Test
79-
public void bootstrapSecureWithPSK() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
79+
public void bootstrap_using_psk() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
8080
// Create DM Server without security & start it
8181
server = givenServer.using(Protocol.COAP).build();
8282
server.start();
@@ -110,7 +110,7 @@ public void bootstrapSecureWithPSK() throws NonUniqueSecurityInfoException, Inva
110110
}
111111

112112
@Test
113-
public void bootstrapSecureWithBadPSKKey() throws InvalidConfigurationException, NonUniqueSecurityInfoException {
113+
public void bootstrap_failed_using_bad_psk() throws InvalidConfigurationException, NonUniqueSecurityInfoException {
114114
// Create DM Server without security & start it
115115
server = givenServer.using(Protocol.COAP).build();
116116
server.start();
@@ -141,7 +141,7 @@ public void bootstrapSecureWithBadPSKKey() throws InvalidConfigurationException,
141141
}
142142

143143
@Test
144-
public void bootstrapSecureWithRPK() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
144+
public void bootstrap_using_rpk() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
145145
// Create DM Server without security & start it
146146
server = givenServer.using(Protocol.COAP).build();
147147
server.start();
@@ -177,7 +177,8 @@ public void bootstrapSecureWithRPK() throws NonUniqueSecurityInfoException, Inva
177177
}
178178

179179
@Test
180-
public void bootstrapToPSKServer() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
180+
public void bootstrap_unsecure_then_register_to_server_using_psk()
181+
throws NonUniqueSecurityInfoException, InvalidConfigurationException {
181182
// Create DM Server without security & start it
182183
server = givenServer.using(Protocol.COAPS).build();
183184
server.start();
@@ -207,7 +208,8 @@ public void bootstrapToPSKServer() throws NonUniqueSecurityInfoException, Invali
207208
}
208209

209210
@Test
210-
public void bootstrapToRPKServer() throws NonUniqueSecurityInfoException, InvalidConfigurationException {
211+
public void bootstrap_unsecure_then_register_to_server_using_rpk()
212+
throws NonUniqueSecurityInfoException, InvalidConfigurationException {
211213
// Create DM Server without security & start it
212214
server = givenServer.using(Protocol.COAPS).using(serverPublicKey, serverPrivateKey).build();
213215
server.start();

0 commit comments

Comments
 (0)