- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,707 for helpers (0.11 seconds)
-
guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.Ordering; import com.google.common.collect.testing.Helpers.NullsBeforeTwo; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
/** * Unit tests for {@link UniAddress}. The focus of these tests is on * the public API of {@code UniAddress} and its behaviour when provided * with different kinds of inputs. Many static helpers in {@code * UniAddress} are network dependent and therefore not exercised here – they * would require complex stubbing of static methods. Instead the tests * concentrate on the instance methods and simple static predicatesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
* informative {@link NtTransQuerySecurityDesc#toString()}. The tests * exercise normal behaviour, boundary values, and the interaction with * the underlying wire‑format helpers. */ @ExtendWith(MockitoExtension.class) class NtTransQuerySecurityDescTest { /** * Helper that mimics the write logic used by * {@link NtTransQuerySecurityDesc#writeParametersWireFormat(byte[], int)}. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
import org.apache.commons.io.FileUtils; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.timer.TimeoutTask; import org.codelibs.fess.Constants; import org.codelibs.fess.helper.JobHelper; import org.codelibs.fess.helper.ProcessHelper; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
CLAUDE.md
mvn test # Run tests mvn formatter:format # Format code mvn license:format # Update license headers ``` ### Code Style - 4 spaces (no tabs), opening brace on same line, max line length 120 - JavaDoc required for public APIs - License headers required (Apache 2.0) ### Testing - **Structure**: `src/test/java/org/codelibs/fess/crawler/`
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Mar 12 03:39:20 GMT 2026 - 8.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
* }</pre> * * <h2>When to Use DomUtils</h2> * <p>Use DomUtils methods when you need: * <ul> * <li>Maven-specific element ordering (insertNewElement, insertContentElement)</li> * <li>High-level helpers (addGAVElements, createDependency, createPlugin)</li> * <li>Null-safe operations (updateElementContent, removeElement)</li> * <li>Update-or-create patterns (updateOrCreateChildElement)</li> * </ul> *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
FessIntervalController controller = new FessIntervalController(); controller.setDelayMillisForWaitingNewUrl(0L); // Set to 0 to avoid actual delay // This should not throw any exceptions even if helpers are not available try { // Note: In unit test environment, ComponentUtil may not be fully initialized // The improved error handling should catch and log any exceptions
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
public long length() { return length; } @Override public int getFileIndex() { return fileIndex; } } // Functional helpers for concise parameterized tests private interface IntGetter { int apply(FileEntry e); } private interface LongGetter { long apply(FileEntry e); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
* Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we * create a lightweight concrete subclass only to exercise the inherited * behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negative * values are verified to ensure proper exception handling and byte * conversion. */ @ExtendWith(MockitoExtension.class) class NtlmMessageTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
/** * Tests for {@link SmbComLockingAndX}. The source class exposes * its wire-format helpers as protected methods and its internal state * is stored in private fields; tests make use of the same package to * access those members directly. */ @ExtendWith(MockitoExtension.class) class SmbComLockingAndXTest { /** * Helper for setting a field via reflection. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0)