Skip to content

Commit

Permalink
Adding AssertJ (issue awslabs#59) (awslabs#100)
Browse files Browse the repository at this point in the history
* adding Assertj

---------

Co-authored-by: Mark Schreiber <[email protected]>
  • Loading branch information
sterapido and markjschreiber committed Jul 10, 2023
1 parent 3d3902a commit dd72a52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
.idea
gradle
gradle.properties
build.gradle

# Ignore Gradle build output directory
build
bin

# Maven
# Ignore maven build output
target

# Ignore other IDEs files
.vscode

# MacOS
.DS_Store

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
import java.util.Map;
import java.util.Properties;

import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import software.amazon.awssdk.auth.credentials.AwsCredentials;
import static software.amazon.nio.spi.s3.config.S3NioSpiConfiguration.AWS_ACCESS_KEY_PROPERTY;
import static software.amazon.nio.spi.s3.config.S3NioSpiConfiguration.AWS_REGION_PROPERTY;
import static software.amazon.nio.spi.s3.config.S3NioSpiConfiguration.AWS_SECRET_ACCESS_KEY_PROPERTY;
import static software.amazon.nio.spi.s3.config.S3NioSpiConfiguration.S3_SPI_READ_MAX_FRAGMENT_SIZE_PROPERTY;
import static org.assertj.core.api.BDDAssertions.then;

import static software.amazon.nio.spi.s3.config.S3NioSpiConfiguration.*;
Expand All @@ -33,7 +25,6 @@ public class S3NioSpiConfigurationTest {
S3NioSpiConfiguration overriddenConfig;
S3NioSpiConfiguration badOverriddenConfig;


@BeforeEach
public void setup(){
overrides.setProperty(S3_SPI_READ_MAX_FRAGMENT_SIZE_PROPERTY, "1111");
Expand Down

0 comments on commit dd72a52

Please sign in to comment.