@@ -42,13 +42,13 @@ class ConfiguratorTest extends AbstractClassWorldsTestCase {
4242 private Configurator configurator ;
4343
4444 @ BeforeEach
45- public void setUp () {
45+ void setUp () {
4646 this .launcher = new Launcher ();
4747 this .configurator = new Configurator (this .launcher );
4848 }
4949
5050 @ AfterEach
51- public void tearDown () {
51+ void tearDown () {
5252 this .launcher = null ;
5353 this .configurator = null ;
5454 System .getProperties ().remove ("set.using.existent" );
@@ -60,7 +60,7 @@ public void tearDown() {
6060 }
6161
6262 @ Test
63- void testConfigure_Nonexistent () throws Exception {
63+ void configureNonexistent () throws Exception {
6464 try {
6565 this .configurator .configure (getConfigPath ("notfound.conf" ));
6666 fail ("throw FileNotFoundException" );
@@ -70,7 +70,7 @@ void testConfigure_Nonexistent() throws Exception {
7070 }
7171
7272 @ Test
73- void testConfigure_DuplicateMain () throws Exception {
73+ void configureDuplicateMain () throws Exception {
7474 try {
7575 this .configurator .configure (getConfigPath ("dupe-main.conf" ));
7676 fail ("throw ConfigurationException" );
@@ -81,7 +81,7 @@ void testConfigure_DuplicateMain() throws Exception {
8181 }
8282
8383 @ Test
84- void testConfigure_DuplicateRealm () throws Exception {
84+ void configureDuplicateRealm () throws Exception {
8585 try {
8686 this .configurator .configure (getConfigPath ("dupe-realm.conf" ));
8787 fail ("throw DuplicateRealmException" );
@@ -92,7 +92,7 @@ void testConfigure_DuplicateRealm() throws Exception {
9292 }
9393
9494 @ Test
95- void testConfigure_EarlyImport () throws Exception {
95+ void configureEarlyImport () throws Exception {
9696 try {
9797 this .configurator .configure (getConfigPath ("early-import.conf" ));
9898 fail ("throw ConfigurationException" );
@@ -103,7 +103,7 @@ void testConfigure_EarlyImport() throws Exception {
103103 }
104104
105105 @ Test
106- void testConfigure_RealmSyntax () throws Exception {
106+ void configureRealmSyntax () throws Exception {
107107 try {
108108 this .configurator .configure (getConfigPath ("realm-syntax.conf" ));
109109 fail ("throw ConfigurationException" );
@@ -114,7 +114,7 @@ void testConfigure_RealmSyntax() throws Exception {
114114 }
115115
116116 @ Test
117- void testConfigure_Valid () throws Exception {
117+ void configureValid () throws Exception {
118118 this .configurator .configure (getConfigPath ("valid.conf" ));
119119
120120 assertEquals ("org.apache.maven.app.App" , this .launcher .getMainClassName ());
@@ -161,7 +161,7 @@ void testConfigure_Valid() throws Exception {
161161 }
162162
163163 @ Test
164- void testConfigure_Optionally_NonExistent () throws Exception {
164+ void configureOptionallyNonExistent () throws Exception {
165165 this .configurator .configure (getConfigPath ("optionally-nonexistent.conf" ));
166166
167167 assertEquals ("org.apache.maven.app.App" , this .launcher .getMainClassName ());
@@ -184,7 +184,7 @@ void testConfigure_Optionally_NonExistent() throws Exception {
184184 }
185185
186186 @ Test
187- void testConfigure_Optionally_Existent () throws Exception {
187+ void configureOptionallyExistent () throws Exception {
188188 this .configurator .configure (getConfigPath ("optionally-existent.conf" ));
189189
190190 assertEquals ("org.apache.maven.app.App" , this .launcher .getMainClassName ());
@@ -209,7 +209,7 @@ void testConfigure_Optionally_Existent() throws Exception {
209209 }
210210
211211 @ Test
212- void testConfigure_Unhandled () throws Exception {
212+ void configureUnhandled () throws Exception {
213213 try {
214214 this .configurator .configure (getConfigPath ("unhandled.conf" ));
215215 fail ("throw ConfigurationException" );
@@ -220,7 +220,7 @@ void testConfigure_Unhandled() throws Exception {
220220 }
221221
222222 @ Test
223- void testSet_Using_Existent () throws Exception {
223+ void setUsingExistent () throws Exception {
224224 assertNull (System .getProperty ("set.using.existent" ));
225225
226226 this .configurator .configure (getConfigPath ("set-using-existent.conf" ));
@@ -229,7 +229,7 @@ void testSet_Using_Existent() throws Exception {
229229 }
230230
231231 @ Test
232- void testSet_Using_NonExistent () throws Exception {
232+ void setUsingNonExistent () throws Exception {
233233 assertNull (System .getProperty ("set.using.nonexistent" ));
234234
235235 this .configurator .configure (getConfigPath ("set-using-nonexistent.conf" ));
@@ -238,7 +238,7 @@ void testSet_Using_NonExistent() throws Exception {
238238 }
239239
240240 @ Test
241- void testSet_Using_NonExistent_Default () throws Exception {
241+ void setUsingNonExistentDefault () throws Exception {
242242 assertNull (System .getProperty ("set.using.nonexistent.default" ));
243243
244244 this .configurator .configure (getConfigPath ("set-using-nonexistent.conf" ));
@@ -247,7 +247,7 @@ void testSet_Using_NonExistent_Default() throws Exception {
247247 }
248248
249249 @ Test
250- void testSet_Using_NonExistent_Override () throws Exception {
250+ void setUsingNonExistentOverride () throws Exception {
251251 assertNull (System .getProperty ("set.using.default" ));
252252 System .setProperty ("set.using.default" , "testSet_Using_NonExistent_Override" );
253253
@@ -257,7 +257,7 @@ void testSet_Using_NonExistent_Override() throws Exception {
257257 }
258258
259259 @ Test
260- void testSet_Using_Existent_Override () throws Exception {
260+ void setUsingExistentOverride () throws Exception {
261261 assertNull (System .getProperty ("set.using.existent" ));
262262 System .setProperty ("set.using.existent" , "testSet_Using_Existent_Override" );
263263
@@ -267,7 +267,7 @@ void testSet_Using_Existent_Override() throws Exception {
267267 }
268268
269269 @ Test
270- void testSet_Using_Existent_Default () throws Exception {
270+ void setUsingExistentDefault () throws Exception {
271271 assertNull (System .getProperty ("set.using.default" ));
272272
273273 this .configurator .configure (getConfigPath ("set-using-existent.conf" ));
@@ -276,7 +276,7 @@ void testSet_Using_Existent_Default() throws Exception {
276276 }
277277
278278 @ Test
279- void testSet_Using_Missing_Default () throws Exception {
279+ void setUsingMissingDefault () throws Exception {
280280 assertNull (System .getProperty ("set.using.missing" ));
281281
282282 this .configurator .configure (getConfigPath ("set-using-missing.conf" ));
@@ -285,7 +285,7 @@ void testSet_Using_Missing_Default() throws Exception {
285285 }
286286
287287 @ Test
288- void testSet_Using_Missing_Override () throws Exception {
288+ void setUsingMissingOverride () throws Exception {
289289 assertNull (System .getProperty ("set.using.missing" ));
290290 System .setProperty ("set.using.missing" , "testSet_Using_Missing_Override" );
291291
@@ -295,7 +295,7 @@ void testSet_Using_Missing_Override() throws Exception {
295295 }
296296
297297 @ Test
298- void testSet_Using_Filtered_Default () throws Exception {
298+ void setUsingFilteredDefault () throws Exception {
299299 assertNull (System .getProperty ("set.using.filtered.default" ));
300300
301301 this .configurator .configure (getConfigPath ("set-using-missing.conf" ));
@@ -305,7 +305,7 @@ void testSet_Using_Filtered_Default() throws Exception {
305305
306306 @ SuppressWarnings ("OptionalGetWithoutIsPresent" )
307307 @ Test
308- void testFromFromFrom () throws Exception {
308+ void fromFromFrom () throws Exception {
309309 this .configurator .configure (getConfigPath ("valid-from-from-from.conf" ));
310310
311311 assertEquals ("com.from.from.from.Main" , this .launcher .getMainClassName ());
0 commit comments