- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 988 for Helpers (0.07 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
off += 2; assertEquals(0x12345678, SMBUtil.readInt4(buf, off)); off += 4; assertEquals(blob.length, SMBUtil.readInt2(buf, off)); } // --- reflection helpers -------------------------------------------- private static Object getField(Object target, String name) { try { var f = target.getClass().getDeclaredField(name); f.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.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) -
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/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/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/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) -
src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java
import java.util.Map; import java.util.concurrent.atomic.AtomicReference; import org.codelibs.core.timer.TimeoutTask; import org.codelibs.fess.Constants; import org.codelibs.fess.helper.JobHelper; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.job.JobExecutor; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.config.exentity.JobLog;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 13.7K bytes - Click Count (0)