- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,915 for constructor (0.55 sec)
-
src/test/java/jcifs/internal/SmbNegotiationTest.java
testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 }; negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer); } @Test @DisplayName("Constructor should properly initialize all fields") void testConstructor() { // Verify all fields are properly initialized assertNotNull(negotiation); assertSame(mockRequest, negotiation.getRequest());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// When & Then: Constructor should throw SmbException SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null)); assertTrue(exception.getMessage().contains("invalid")); verify(treeHandle, never()).acquire(); } @Test @DisplayName("Constructor should handle null parent")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
}); } /** * Test TTL with different constructor types */ @Test @DisplayName("Test TTL functionality works with all constructor types") public void testTTLWithDifferentConstructors() { // Test with String password constructor NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("user", "StringPass123!");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
import jcifs.smb1.dcerpc.ndr.NdrObject; /** * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor. * <p> * The class under test is a simple wrapper around the base class that * sets internal fields in its constructor. * These tests verify that the constructor accepts various parameters * without throwing exceptions. */ @ExtendWith(MockitoExtension.class) class MsrpcSamrConnect2Test {Registered: 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/smb1/http/NtlmHttpServletRequestTest.java
assertEquals(name, request.getRemoteUser()); verify(mockPrincipal, times(1)).getName(); } @Test @DisplayName("constructor accepts null principal") void testConstructorWithNullPrincipal(@Mock HttpServletRequest mockRequest) { // Constructor accepts null principal without throwing exception NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/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. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
@Test public void test_ProtectedConstructor() throws Exception { // ## Test that protected constructor can be accessed via reflection ## // ## Act ## final Constructor<Curl> constructor = Curl.class.getDeclaredConstructor(); constructor.setAccessible(true); final Curl instance = constructor.newInstance(); // ## Assert ## assertNotNull(instance); } @TestRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
} /** * LSA Quality of Service information. */ public static class LsarQosInfo extends NdrObject { /** * Default constructor for LsarQosInfo. */ public LsarQosInfo() { // Default constructor } /** Length of the QoS information. */ public int length; /** Security impersonation level. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* #initCause} later, so it is not quite equivalent to using a constructor that omits the * cause. */ @Deprecated protected ExecutionError() {} /** * Creates a new instance with the given detail message and no cause. * * @deprecated Prefer {@linkplain ExecutionError(String, Error)} a constructor that accepts a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertEquals(blob.get().hashCode(), blob.hashCode(), "hashCode should delegate to internal array"); } // Confirms constructor handles null by producing an empty buffer @Test @DisplayName("Constructor with null sets empty buffer") void constructor_withNull_setsEmpty() { // Arrange & Act SecurityBlob blob = new SecurityBlob(null); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0)