Skip to content

Commit

Permalink
Merge pull request #302
Browse files Browse the repository at this point in the history
293-rename-datasafe-business-integration-test-files-for-clear-separation
  • Loading branch information
francis-pouatcha committed Apr 17, 2024
2 parents a4ba338 + e27253e commit fbcfa91
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

@Slf4j
@RequiredArgsConstructor
public abstract class BaseE2ETest extends WithStorageProvider {
public abstract class BaseE2EIT extends WithStorageProvider {

protected static final String PRIVATE_COMPONENT = "private";
protected static final String PRIVATE_FILES_COMPONENT = PRIVATE_COMPONENT + "/files";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* Tests that validates basic functionality - storing data to inbox, privatespace, listing files, etc.
*/
@Slf4j
class BasicFunctionalityTest extends BaseE2ETest {
class BasicFunctionalityIT extends BaseE2EIT {

private static final int LARGE_SIZE = 10 * 1024 * 1024 + 100;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Tests that validates basic functionality - storing data to inbox, privatespace, listing files, etc. using UTF-8 paths.
*/
@Slf4j
class BasicFunctionalityUtf8Test extends BaseE2ETest {
class BasicFunctionalityUtf8IT extends BaseE2EIT {

private static final String MESSAGE_ONE = "Hello here 1";
private static final String FOLDER = "folder1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
* Multithreaded test of basic operations.
*/
@Slf4j
class BasicFunctionalityWithConcurrencyTest extends BaseE2ETest {
class BasicFunctionalityWithConcurrencyIT extends BaseE2EIT {

private static final int TIMEOUT_S = 30;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;

class BasicFunctionalityWithPasswordChangeTest extends BaseE2ETest {
class BasicFunctionalityWithPasswordChangeIT extends BaseE2EIT {

@SneakyThrows
@ParameterizedTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* attacker is unable to modify encrypted text without being detected.
*/
@Slf4j
class DataTamperingResistanceTest extends BaseE2ETest {
class DataTamperingResistanceIT extends BaseE2EIT {

private static final Set<Character> NOT_TO_REPLACE_IN_PATH = ImmutableSet.of('=', '/');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import static org.assertj.core.api.Assertions.assertThat;

@Slf4j
public class KeyStoreTypeCompareTest extends BaseE2ETest {
public class KeyStoreTypeCompareIT extends BaseE2EIT {
private final static int NUMBER_WRITES = 100;
private final static int NUMBER_READS = 100;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
* access `credentialsBucket` that has user profile and his storage access keystore.
*/
@Slf4j
class MultiDFSFunctionalityTest extends BaseMockitoTest {
class MultiDFSFunctionalityIT extends BaseMockitoTest {

private static final String REGION = "eu-central-1";
private static final String LOCALHOST = getDockerUri("http://127.0.0.1");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import static org.assertj.core.api.Assertions.assertThat;

class ProfileContainsDatasafeVersionTest extends BaseE2ETest {
class ProfileContainsDatasafeVersion2EIT extends BaseE2EIT {

@Test
@SneakyThrows
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package de.adorsys.datasafe.business.impl.e2e;

import de.adorsys.datasafe.business.impl.service.DaggerDefaultDatasafeServices;
import de.adorsys.datasafe.business.impl.service.DefaultDatasafeServices;
import de.adorsys.datasafe.directory.impl.profile.config.DefaultDFSConfig;
Expand Down Expand Up @@ -32,7 +31,7 @@

import static org.assertj.core.api.Assertions.assertThat;

class SchemeDelegationTest extends WithStorageProvider {
class SchemeDelegationIT extends WithStorageProvider {

private Path fsPath;
private Uri minioPath;
Expand Down Expand Up @@ -125,4 +124,4 @@ public AbsoluteLocation privateProfile(UserID forUser) {
);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import static de.adorsys.datasafe.types.api.global.PathEncryptionId.AES_SIV;
import static org.assertj.core.api.Assertions.assertThat;

class SchemeDelegationWithDbTest extends WithStorageProvider {
class SchemeDelegationWithDbIT extends WithStorageProvider {

private static final Set<String> ALLOWED_TABLES = ImmutableSet.of("users", "private_profiles", "public_profiles");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import static org.junit.jupiter.api.Assertions.assertThrows;

@DisabledIfSystemProperty(named = WithStorageProvider.SKIP_CEPH, matches = "true")
class StorageBasedVersioningTest extends BaseE2ETest {
class StorageBasedVersioningIT extends BaseE2EIT {

private static final String FILE = "file.txt";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import static de.adorsys.datasafe.types.api.shared.Dirs.computeRelativePreventingDoubleUrlEncode;
import static org.assertj.core.api.Assertions.assertThat;

class UserProfileWithUtf8Test extends WithStorageProvider {
class UserProfileWithUtf8IT extends WithStorageProvider {

private Path fsPath;
private Uri minioPath;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* Validates software versioned operations.
*/
@Slf4j
public class VersionedDataTest extends BaseE2ETest {
public class VersionedDataIT extends BaseE2EIT {

private static final String MESSAGE_ONE = "Hello here 1";
private static final String MESSAGE_TWO = "Hello here 2";
Expand Down
1 change: 1 addition & 0 deletions last-module-codecoverage-check/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>de.adorsys</groupId>
<version>2.0.2-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>last-module-codecoverage-check</artifactId>
Expand Down

0 comments on commit fbcfa91

Please sign in to comment.