- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for contract (0.49 sec)
-
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.create; import jcifs.Encodable; /** * SMB2 Create Context request interface. This interface defines the contract for * context data included in SMB2 Create requests. * * @author mbechler * */ public interface CreateContextRequest extends Encodable { /** * Get the name of this create context.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchLogEvent.java
*/ package org.codelibs.fess.entity; import java.util.Map; /** * Interface for search log events in the Fess search system. * * This interface defines the contract for search log event objects that can be * written to log files or stored in the search index. Implementations include * search logs, click logs, favorite logs, and user information logs. */ public interface SearchLogEvent {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbFilenameFilter interface behaviors via simple implementations. * Each test creates a concrete filter to validate expected contract semantics * including normal operation, null handling, edge cases, and exception flow. */ @ExtendWith(MockitoExtension.class) class SmbFilenameFilterTest { @Mock SmbFile mockDir; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
*/ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest { // Simple base class to satisfy the extended CredentialsInternal contract static abstract class BaseCreds implements SmbRenewableCredentials { @Override public CredentialsInternal clone() { // For testing purposes, return this instance (allowed by return type)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.create; import jcifs.Decodable; /** * SMB2 Create Context response interface. This interface defines the contract for * context data returned in SMB2 Create responses. * * @author mbechler * */ public interface CreateContextResponse extends Decodable { /** * Get the name of this create context.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
* It encapsulates the delay logic and exception handling, allowing subclasses to focus on * defining the specific delay behavior for each stage. * * <p> * This class defines the contract for delaying the crawling process at various points, such as: * </p> * <ul> * <li>Before processing a URL ({@link #delayBeforeProcessing()})</li> * <li>After processing a URL ({@link #delayAfterProcessing()})</li>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
import jcifs.internal.CommonServerMessageBlockResponse; import jcifs.internal.Request; /** * Tests for SmbTreeInternal interface behavior via mocks. * Since this is an interface, we validate its public API contract * through interaction testing and generic type usage. */ @ExtendWith(MockitoExtension.class) class SmbTreeInternalTest { @Mock private SmbTreeInternal tree; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for the NdrObject abstract class. * This test uses a concrete implementation to verify the abstract contract. */ @ExtendWith(MockitoExtension.class) class NdrObjectTest { @Mock private NdrBuffer mockBuffer; private ConcreteNdrObject ndrObject;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbFileFilter}. The filter interface is small; the * tests focus on the contract that implementations should honour and the * interaction with {@link SmbFile} instances. The tests make heavy use of * Mockito to guarantee that implementation classes do not inadvertently * bypass the filter logic. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)