Skip to content

Commit aa05191

Browse files
committed
[#464] added license to missing files + increasing test coverage
Signed-off-by: David Monichi <[email protected]>
1 parent 0a0eed3 commit aa05191

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

app/src/test/resources/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2025 BearingPoint GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
version: '3.8'
26

37
services:

doc/development.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2025 BearingPoint GmbH
3+
4+
SPDX-License-Identifier: Apache-2.0
5+
-->
6+
17
# Development
28

39
Run application with local postgresql database in development mode:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// SPDX-FileCopyrightText: 2025 BearingPoint GmbH
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
5+
package org.lfenergy.compas.scl.data.repository.postgresql;
6+
7+
import org.junit.jupiter.api.BeforeEach;
8+
import org.junit.jupiter.api.extension.ExtendWith;
9+
import org.lfenergy.compas.scl.data.repository.AbstractCompasSclDataRepositoryTest;
10+
import org.lfenergy.compas.scl.data.repository.CompasSclDataRepository;
11+
import org.mockito.junit.jupiter.MockitoExtension;
12+
13+
14+
@ExtendWith({MockitoExtension.class, PostgreSQLServerJUnitExtension.class})
15+
class SoftDeleteCompasSclDataPostgreSQLRepositoryTest extends AbstractCompasSclDataRepositoryTest {
16+
private SoftDeleteCompasSclDataPostgreSQLRepository repository;
17+
18+
@Override
19+
protected CompasSclDataRepository getRepository() {
20+
return repository;
21+
}
22+
23+
@BeforeEach
24+
void beforeEach() {
25+
repository = new SoftDeleteCompasSclDataPostgreSQLRepository(PostgreSQLServerJUnitExtension.getDataSource());
26+
}
27+
}

0 commit comments

Comments
 (0)