- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,618 for constructors (0.06 sec)
-
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import org.junit.jupiter.api.Test; class AvChannelBindingsTest { /** * Test that the constructor correctly initializes with a valid channel binding hash. */ @Test void testConstructorWithValidHash() { byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
// Assert assertSame(handle, got, "getHandle should expose the same instance passed to constructor"); } @Test @DisplayName("close does nothing and does not touch handle") void close_doesNothing() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); // constructor already calls handle.getPipe(); clear interactions to focus on close() clearInvocations(handle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* ServiceManager} constructor without having to close over the partially constructed {@link * ServiceManager} instance (i.e. avoid leaking a pointer to {@code this}). */ private final ServiceManagerState state; private final ImmutableList<Service> services; /** * Constructs a new instance for managing the given services. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test constructor DcerpcException(String msg). */ @Test void testConstructorWithMessage() { String message = "Test message for DcerpcException."; DcerpcException exception = new DcerpcException(message); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message-only constructor.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
@BeforeEach void setUp() { // Reset mocks before each test reset(mockHandle); } @Test void testConstructor_SuccessfulConnect4() throws IOException { // Test case: Constructor with successful MsrpcSamrConnect4 String server = "testServer"; int access = 123; // No exception thrown by sendrecv for MsrpcSamrConnect4
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
*/ public static class uuid_t extends NdrObject { /** * Default constructor for uuid_t. */ public uuid_t() { // Default constructor } /** The low field of the timestamp */ public int time_low; /** The middle field of the timestamp */ public short time_mid;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
} // Since SamrOpenAlias's constructor parameters are not directly exposed via getters in MsrpcSamrOpenAlias, // we cannot directly verify them here without reflection or extending SamrOpenAlias for testing. // However, the primary responsibility of MsrpcSamrOpenAlias's constructor is to call the super constructor // and set its own specific fields (ptype, flags).
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true); assertNotNull(digest); assertTrue(digest.toString().contains("MacSigningKey=")); } @Test @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.CoreMatchers.sameInstance; import static org.junit.Assert.assertThat; import java.lang.reflect.Constructor; import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.ConstructorDesc; import org.junit.Test; /** * @author koichik * */ public class ConstructorDescTest { /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
JAASAuthenticator a = new JAASAuthenticator(); // Provide a preset Subject so the getSubject() path uses the (serviceName, ps, this) constructor a.setSubject(new Subject()); return a; } case WITH_CONFIG: { // Use the constructor that sets a StaticJAASConfiguration to exercise that branch return new JAASAuthenticator(new HashMap<String, String>(), "DOM", "user", "pass");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)