Skip to content

Commit

Permalink
test: Renamed classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Jul 10, 2023
1 parent 1d3036c commit 1e78fd7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ void fileImportS3() throws Exception {

@SuppressWarnings("rawtypes")
@Test
void fileImportDump() throws Exception {
List<KeyValue> records = exportToList();
void fileDumpImport() throws Exception {
List<KeyValue> records = exportToJsonFile();
RedisServerCommands<String, String> sync = connection.sync();
sync.flushall();
execute("dump-import", this::configureDumpFileImportCommand);
Expand Down Expand Up @@ -460,7 +460,7 @@ void fileImportXML() throws Exception {
@SuppressWarnings("rawtypes")
@Test
void fileExportJSON() throws Exception {
List<KeyValue> records = exportToList();
List<KeyValue> records = exportToJsonFile();
RedisServerCommands<String, String> sync = connection.sync();
Assertions.assertEquals(sync.dbsize(), records.size());
}
Expand All @@ -486,7 +486,7 @@ void fileExportJSONGz() throws Exception {
}

@SuppressWarnings("rawtypes")
private List<KeyValue> exportToList() throws Exception {
private List<KeyValue> exportToJsonFile() throws Exception {
String filename = "file-export-json";
Path file = tempFile("redis.json");
generate(filename);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import picocli.CommandLine.ParseResult;

@EnabledOnOs(OS.LINUX)
class EnterpriseStackIntegrationTests extends AbstractIntegrationTests {
class EnterpriseStackTests extends AbstractIntegrationTests {

private static final RedisServer SOURCE = RedisContainerFactory.enterprise();
private static final RedisServer TARGET = RedisContainerFactory.stack();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.redis.testcontainers.RedisServer;

@EnabledOnOs(OS.LINUX)
class StackEnterpriseIntegrationTests extends AbstractIntegrationTests {
class StackEnterpriseTests extends AbstractIntegrationTests {

private static final RedisServer SOURCE = RedisContainerFactory.stack();
private static final RedisServer TARGET = RedisContainerFactory.enterprise();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.redis.testcontainers.RedisServer;
import com.redis.testcontainers.RedisStackContainer;

class StackIntegrationTests extends AbstractIntegrationTests {
class StackTests extends AbstractIntegrationTests {

public static final RedisStackContainer SOURCE = RedisContainerFactory.stack();
public static final RedisStackContainer TARGET = RedisContainerFactory.stack();
Expand Down

0 comments on commit 1e78fd7

Please sign in to comment.