- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 377 for contract (0.31 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.DfsReferralData; /** * Test class for DfsReferralDataInternal interface * Tests the interface contract using mock implementations and concrete class */ @DisplayName("DfsReferralDataInternal Interface Tests") class DfsReferralDataInternalTest { @Mock private DfsReferralDataInternal mockReferralData;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
// assumes that each set is a singleton or less (as is done for the samples) for (Object elem : elements) { @SuppressWarnings("unchecked") // safe by generator contract Entry<String, Collection<Integer>> entry = (Entry<String, Collection<Integer>>) elem; Integer value = getOnlyElement(entry.getValue()); builder.put(entry.getKey(), value); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Comprehensive test suite for jcifs.SmbResource interface. * Tests SMB resource interface contract and functionality for CIFS/SMB protocol compliance. */ @ExtendWith(MockitoExtension.class) @DisplayName("SmbResource Interface Tests") class SmbResourceTest { @Mock private SmbResource mockResource;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
// They aren't equal... assertFalse(hashCodeA.equals(hashCodeB)); // But they still have the same Object#hashCode() value. // Technically not a violation of the equals/hashCode contract, but...? assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode()); } public void testRoundTripHashCodeUsingFromString() { HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// // --- // // If the CAS fails, the provided callable already started running (or it is about // to). Our contract promises: // // 1. not to execute a new callable until the old one has returned // // If we were to cancel taskFuture, that would let the next task start while the old
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
// Test commit (should not throw exception) callback.commit(); } public void test_multiple_implementations() { // Test with different implementations to ensure interface contract IndexUpdateCallback callback1 = createMockCallback(10, 500); IndexUpdateCallback callback2 = createMockCallback(20, 1000); assertEquals(10L, callback1.getDocumentSize());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
@GwtIncompatible @J2ObjCIncompatible abstract class TempFileCreator { static final TempFileCreator INSTANCE = pickSecureCreator(); /** * @throws IllegalStateException if the directory could not be created (to implement the contract * of {@link Files#createTempDir()}, such as if the system does not support creating temporary * directories securely */ abstract File createTempDir();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
* elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Set} * contract. * * <p>The {@code standard} methods and the collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Louis Wasserman
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
/** * Unit tests for {@link SmbComTransactionResponse}. * * <p>The class is abstract, so a concrete stub implementation is * provided purely to expose protected state and to satisfy the abstract * method contract. The tests focus on public API behaviour and the * parsing logic in {@code readParameterWordsWireFormat} and * {@code readBytesWireFormat}. */ public class SmbComTransactionResponseTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
import jcifs.internal.smb2.ioctl.Smb2IoctlRequest; import jcifs.internal.smb2.lock.Smb2Lock; import jcifs.internal.smb2.lock.Smb2LockRequest; /** * Test class for RequestWithFileId interface. * Tests the interface contract and various implementations. */ @ExtendWith(MockitoExtension.class) @DisplayName("RequestWithFileId Interface Tests") class RequestWithFileIdTest { @Mock private Configuration mockConfig;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)