Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 48dcdcf

Browse files
make unit tests public, therefore no longer needing reflection, so the module doesn't need to be "open"
1 parent 23d4f43 commit 48dcdcf

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
open module org.cryptomator.cloudaccess {
1+
module org.cryptomator.cloudaccess {
22
exports org.cryptomator.cloudaccess;
33
exports org.cryptomator.cloudaccess.api;
44
exports org.cryptomator.cloudaccess.api.exceptions;

src/test/java/org/cryptomator/cloudaccess/webdav/HttpLoggingInterceptorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import java.io.IOException;
1414
import java.nio.file.Path;
1515

16-
class HttpLoggingInterceptorTest {
16+
public class HttpLoggingInterceptorTest {
1717

1818
private final HttpLoggingInterceptor.Logger logger = Mockito.mock(HttpLoggingInterceptor.Logger.class);
1919
private final HttpLoggingInterceptor.Logger spyLogger = Mockito.spy(logger);

src/test/java/org/cryptomator/cloudaccess/webdav/ProgressRequestWrapperTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import java.nio.charset.StandardCharsets;
1515
import java.util.stream.Collectors;
1616

17-
class ProgressRequestWrapperTest {
17+
public class ProgressRequestWrapperTest {
1818

1919
@Test
2020
public void updateProgressWhenWriteToProgressRequestWrapper() throws IOException {

src/test/java/org/cryptomator/cloudaccess/webdav/ProgressResponseWrapperTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import java.nio.charset.StandardCharsets;
1414
import java.util.stream.Collectors;
1515

16-
class ProgressResponseWrapperTest {
16+
public class ProgressResponseWrapperTest {
1717

1818
@Test
1919
public void updateProgressWhenReadFromProgressResponseWrapper() {

src/test/java/org/cryptomator/cloudaccess/webdav/TestUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.time.Instant;
66
import java.util.Locale;
77

8-
public class TestUtil {
8+
class TestUtil {
99

1010
public static Instant toInstant(String date) {
1111
try {

src/test/java/org/cryptomator/cloudaccess/webdav/WebDavClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import java.util.Optional;
2828
import java.util.stream.Collectors;
2929

30-
class WebDavClientTest {
30+
public class WebDavClientTest {
3131

3232
private final WebDavCompatibleHttpClient webDavCompatibleHttpClient = Mockito.mock(WebDavCompatibleHttpClient.class);
3333
private WebDavClient webDavClient;

src/test/java/org/cryptomator/cloudaccess/webdav/WebDavCloudProviderTestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import java.util.concurrent.CompletionException;
2626
import java.util.stream.Collectors;
2727

28-
class WebDavCloudProviderTestIT {
28+
public class WebDavCloudProviderTestIT {
2929

3030
private final MockWebServer server;
3131
private final CloudProvider provider;

src/test/java/org/cryptomator/cloudaccess/webdav/WebDavRedirectHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.net.ProtocolException;
1919
import java.nio.file.Path;
2020

21-
class WebDavRedirectHandlerTest {
21+
public class WebDavRedirectHandlerTest {
2222

2323
private final OkHttpClient mockedOkHttpClient = Mockito.mock(OkHttpClient.class);
2424
private final Call remoteCall = Mockito.mock(Call.class);

0 commit comments

Comments
 (0)