Skip to content

Commit acc8eaf

Browse files
author
Sabrina Lawrey
committed
added javadoc to function
1 parent 5374b6b commit acc8eaf

5 files changed

Lines changed: 72 additions & 2 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/**
2+
* Provides classes and interfaces for tracking and asserting exceptions during testing.
3+
* This package includes utility interfaces and implementations that enable users to define
4+
* expected and ignored exceptions within testing scenarios, thereby facilitating the systematic
5+
* verification of correct exception handling behavior.
6+
*
7+
* @see net.openhft.chronicle.testframework.exception.ExceptionTracker
8+
*/
9+
package net.openhft.chronicle.testframework.exception;
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* This package provides a set of functional interfaces and related utility classes to enhance
3+
* and extend the standard Java functional programming model.
4+
*
5+
* <p>The main components include:
6+
* <ul>
7+
* <li>{@link net.openhft.chronicle.testframework.function.TriConsumer} - A three-arity specialization of {@link java.util.function.Consumer}.</li>
8+
* <li>{@link net.openhft.chronicle.testframework.function.ThrowingConsumer} - A version of {@link java.util.function.Consumer} that allows checked exceptions.</li>
9+
* <li>{@link net.openhft.chronicle.testframework.function.ThrowingConsumerException} - An exception used to wrap checked exceptions in {@code ThrowingConsumer}.</li>
10+
* <li>{@link net.openhft.chronicle.testframework.function.NamedConsumer} - An interface extending {@link java.util.function.Consumer} that has a name.</li>
11+
* </ul>
12+
*
13+
* <p>This package aims to provide more flexible and expressive ways to perform operations
14+
* on data, especially in scenarios where more complex error handling or multi-argument
15+
* processing is needed.
16+
*/
17+
package net.openhft.chronicle.testframework.function;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* Provides utility classes for working with mapped files, specifically targeting
3+
* Linux systems where the "/proc/self/maps" file provides information about
4+
* virtual memory mappings.
5+
* <p>
6+
* This package contains utilities to parse the "/proc/self/maps" file, allowing
7+
* interaction with mapped files at a low level.
8+
* <p>
9+
* NOTE: The functionality provided in this package is likely to work only on
10+
* Linux or Linux-like environments where the "/proc/self/maps" file is available.
11+
*/
12+
package net.openhft.chronicle.testframework.mappedfiles;
Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
/**
2-
* This package contains the public API for the chronicle-test-framework library.
2+
* The {@code net.openhft.chronicle.testframework} package provides a collection of utility classes and enums
3+
* for various common programming tasks, such as handling closeable resources, generating combinations and permutations,
4+
* building delegator instances, managing executor services, handling flaky tests, interacting with garbage collection,
5+
* providing network-related functionalities, generating series of numbers, and thread-related functionalities.
6+
* <p>
7+
* This package includes:
8+
* <ul>
9+
* <li>{@link net.openhft.chronicle.testframework.CloseableUtil} for handling closeable resources.</li>
10+
* <li>{@link net.openhft.chronicle.testframework.Combination} for generating all possible combinations of elements.</li>
11+
* <li>{@link net.openhft.chronicle.testframework.Delegation} for building delegator instances.</li>
12+
* <li>{@link net.openhft.chronicle.testframework.ExecutorServiceUtil} for managing executor services.</li>
13+
* <li>{@link net.openhft.chronicle.testframework.FlakyTestRunner} for handling flaky tests.</li>
14+
* <li>{@link net.openhft.chronicle.testframework.GcControls} for interacting with garbage collection.</li>
15+
* <li>{@link net.openhft.chronicle.testframework.NetworkUtil} for providing network-related functionalities.</li>
16+
* <li>{@link net.openhft.chronicle.testframework.Permutation} for general permutation support.</li>
17+
* <li>{@link net.openhft.chronicle.testframework.Product} for representing a product of elements.</li>
18+
* <li>{@link net.openhft.chronicle.testframework.Series} for generating series of numbers.</li>
19+
* <li>{@link net.openhft.chronicle.testframework.ThreadUtil} for thread-related functionalities.</li>
20+
* <li>{@link net.openhft.chronicle.testframework.Waiters} for waiting for specific conditions to be met.</li>
21+
* </ul>
322
*/
4-
package net.openhft.chronicle.testframework;
23+
package net.openhft.chronicle.testframework;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* The {@code net.openhft.chronicle.testframework.internal.process} package provides internal implementations
3+
* for configuring and launching Java processes within the Chronicle testing framework.
4+
* <p>
5+
* This package includes classes that allow customization of JVM arguments, program arguments, classpath
6+
* entries, and IO behavior for spawned Java processes. It includes implementations of the
7+
* {@link net.openhft.chronicle.testframework.process.JavaProcessBuilder} interface, providing control
8+
* over process creation.
9+
* <p>
10+
* Usage of classes in this package may be primarily intended for internal use within the framework,
11+
* rather than direct usage by client code.
12+
*/
13+
package net.openhft.chronicle.testframework.internal.process;

0 commit comments

Comments
 (0)