Skip to content

Commit

Permalink
stop using "test" prefix in test method names
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Nov 23, 2023
1 parent 53dd735 commit 533d86f
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class AwsS3IT {
.createRuntime();

@Test
public void testBucketOperations() throws IOException {
public void bucketOperations() throws IOException {
AmazonS3 s3 = app.getInstance(AmazonS3.class);

// create bucket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class AwsS3ModuleProviderTest {

@Test
public void testAutoLoading() {
public void autoLoading() {
BQModuleProviderChecker.testAutoLoadable(AwsS3ModuleProvider.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static void loadSecrets() {
.createRuntime();

@Test
public void testConfigMerged() {
public void configMerged() {

UserProfile a = app.getInstance(ConfigurationFactory.class).config(UserProfile.class, "a");
assertEquals("a_uname", a.user);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class AwsSecretsManagerIT {
.createRuntime();

@Test
public void testSecrets() {
public void secrets() {

String s1 = "{\"a\":\"top secret\"}";
String s2 = "{\"a\":\"top secret updated\"}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
public class AwsSecretsModuleProviderTest {

@Test
public void testAutoLoading() {
public void autoLoading() {
BQModuleProviderChecker.testAutoLoadable(AwsSecretsModuleProvider.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static void loadSecrets() {
.createRuntime();

@Test
public void testRdsConfigTranslatedAndMerged() {
public void rdsConfigTranslatedAndMerged() {

HikariConfig config = app.getInstance(ConfigurationFactory.class)
.config(TestHikariFactory.class, "a")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class AwsModuleProviderTest {

@Test
public void testAutoLoading() {
public void autoLoading() {
BQModuleProviderChecker.testAutoLoadable(AwsModuleProvider.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public class AwsServiceTest {

@Test
public void testMatchesTestcontainersServiceList() {
public void matchesTestcontainersServiceList() {
assertEquals(AwsService.values().length, LocalStackContainer.Service.values().length);
for(AwsService s : AwsService.values()) {
assertDoesNotThrow(() -> s.toLocalstackService());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class AwsTesterIT {
.createRuntime();

@Test
public void testS3() throws IOException {
public void s3() throws IOException {
S3Client s3 = S3Client
.builder()
.endpointOverride(tester.getEndpointOverride())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class S3Tester_NoTestHierarchyIT {
.createRuntime();

@Test
public void testS3() throws IOException {
public void s3() throws IOException {
S3Client s3 = app.getInstance(S3ClientFactory.class).client();

s3.putObject(b -> b.bucket("bt1").key("b1k1"), RequestBody.fromBytes("b1v1".getBytes()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class AwsS3IT {
.createRuntime();

@Test
public void testBucketOperations() throws IOException {
public void bucketOperations() throws IOException {
S3Client s3 = app.getInstance(S3ClientFactory.class).client();

// create bucket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class AwsS3ModuleProviderTest {

@Test
public void testAutoLoading() {
public void autoLoading() {
BQModuleProviderChecker.testAutoLoadable(AwsS3ModuleProvider.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static void loadSecrets() {
.createRuntime();

@Test
public void testConfigMerged() {
public void configMerged() {

UserProfile a = app.getInstance(ConfigurationFactory.class).config(UserProfile.class, "a");
assertEquals("a_uname", a.user);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class AwsSecretsManagerIT {
.createRuntime();

@Test
public void testSecrets() {
public void secrets() {

String s1 = "{\"a\":\"top secret\"}";
String s2 = "{\"a\":\"top secret updated\"}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
public class AwsSecretsModuleProviderTest {

@Test
public void testAutoLoading() {
public void autoLoading() {
BQModuleProviderChecker.testAutoLoadable(AwsSecretsModuleProvider.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static void loadSecrets() {
.createRuntime();

@Test
public void testRdsConfigTranslatedAndMerged() {
public void rdsConfigTranslatedAndMerged() {

HikariConfig config = app.getInstance(ConfigurationFactory.class)
.config(TestHikariFactory.class, "a")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
public class AwsModuleProviderTest {

@Test
public void testAutoLoading() {
public void autoLoading() {
BQModuleProviderChecker.testAutoLoadable(AwsModuleProvider.class);
}

@Test
public void testConfigLoad() {
public void configLoad() {
BQModuleProviderChecker.testMetadata(AwsModuleProvider.class);
}
}

0 comments on commit 533d86f

Please sign in to comment.