- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 431 for contracts (0.07 sec)
-
tests/serializer_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.SmbTransport; import jcifs.SmbTree; /** * Tests for SmbSessionInternal interface using Mockito to exercise * method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbSessionInternalTest { @Mock private SmbSessionInternal session; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
verify(mockNetbiosName).getName(); verify(mockNetbiosName).getScope(); verify(mockNetbiosName).getNameType(); } @Test @DisplayName("Should handle interface method contracts") void testMethodContracts() { // The interface should allow for various implementations // Test that methods can return any valid values // Names can be any string
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.SmbSession; /** * Tests for SmbTransportInternal interface using Mockito mocks to * exercise method contracts, checked exceptions, and interactions. */ @ExtendWith(MockitoExtension.class) public class SmbTransportInternalTest { @Mock private SmbTransportInternal transport; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
public class TransportException extends IOException { /** The root cause exception */ private Throwable rootCause; /** * Constructs a new TransportException with no detail message. */ public TransportException() { } /** * Constructs a new TransportException with the specified detail message. * * @param msg the detail message */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoException.java
/** * */ private static final long serialVersionUID = -4591854684249021395L; /** * Constructs a new SpnegoException with no detail message */ public SpnegoException() { } /** * Constructs a new SpnegoException with the specified detail message and cause * @param message the detail message * @param cause the cause of this exception
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/RequestTimeoutException.java
/** * */ private static final long serialVersionUID = -8825922797594232534L; /** * Constructs a new RequestTimeoutException with no detail message. */ public RequestTimeoutException() { } /** * Constructs a new RequestTimeoutException with the specified detail message and cause. * * @param msg the detail message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/ConnectionTimeoutException.java
/** * */ private static final long serialVersionUID = 7327198103204592731L; /** * Constructs a new ConnectionTimeoutException with no detail message. */ public ConnectionTimeoutException() { } /** * Constructs a new ConnectionTimeoutException with the specified detail message. * @param msg the detail message */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/RuntimeCIFSException.java
/** * */ private static final long serialVersionUID = -2611196678846438579L; /** * Constructs a runtime CIFS exception with no detail message. */ public RuntimeCIFSException() { } /** * Constructs a runtime CIFS exception with the specified detail message and cause. * * @param message the detail message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)