- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,007 for construction (1.63 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
} /** * Prepares the constructors. */ protected void setupConstructorDescs() { for (final Constructor<?> constructor : beanClass.getConstructors()) { constructorDescs.add(new ConstructorDescImpl(this, constructor)); } } /** * Prepares the methods. */ protected void setupMethodDescs() {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value int negativeValue = -54321; NdrLong ndrLongNegative = new NdrLong(negativeValue); assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value."); // Test case 3: Zero value
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
ByteBuffer buffer = ByteBuffer.allocate(4); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putInt(value); baos.write(buffer.array(), 0, 4); } /** * Test constructor with KERB_CHECKSUM_HMAC_MD5 type. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if the PAC is malformed */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K 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 MsrpcSamrConnect4Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Response.java
* Represents a response that can be received through the SMB1 transport layer. */ public abstract class Response { /** * Default constructor for Response. */ public Response() { // Default constructor } /** * The expiration time for this response in milliseconds. */ public long expiration; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 557 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0)