build: Add default constructor and javadoc for metrics, nat, pki, plugins, services, testutil, util (#7071)

Signed-off-by: Usman Saleem <usman@usmans.info>
This commit is contained in:
Usman Saleem
2024-05-08 14:39:10 +10:00
committed by GitHub
parent 5b16cef571
commit 42e9139265
18 changed files with 54 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ import org.junit.jupiter.api.Test;
/** The Abstract key value storage test. */
@Disabled
public abstract class AbstractKeyValueStorageTest {
/** Default Constructor */
protected AbstractKeyValueStorageTest() {}
/**
* Create store key value storage.

View File

@@ -36,6 +36,14 @@ public class MockExecutorService implements ExecutorService {
private final List<ExecutorTask<?>> tasks = new ArrayList<>();
/** Default constructor */
public MockExecutorService() {}
/**
* Gets tasks.
*
* @return the tasks
*/
/**
* Gets futures.
*

View File

@@ -25,6 +25,8 @@ import java.util.concurrent.TimeoutException;
/** The mock scheduled executor */
public class MockScheduledExecutor extends MockExecutorService implements ScheduledExecutorService {
/** Default constructor */
public MockScheduledExecutor() {}
@Override
public ScheduledFuture<?> schedule(

View File

@@ -34,6 +34,9 @@ import org.slf4j.LoggerFactory;
public class EnclaveKeyUtils {
private static final Logger LOG = LoggerFactory.getLogger(EnclaveKeyUtils.class);
/** Default constructor */
private EnclaveKeyUtils() {}
/**
* Utility method to load the enclave public key. Possible input values are the names of the *.pub
* files in the resources folder.

View File

@@ -30,6 +30,9 @@ import org.testcontainers.containers.Network;
public class TesseraTestHarnessFactory {
private static final String storage = "memory";
/** Default constructor */
private TesseraTestHarnessFactory() {}
/**
* Create tessera test harness.
*