- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,372 for Constructor (0.04 sec)
-
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation") void testPrivateConstructor() throws Exception { // Verify constructor is private Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor(); assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionException.java
public MetadataResolutionException() { // TODO Auto-generated constructor stub } public MetadataResolutionException(String message) { super(message); // TODO Auto-generated constructor stub } public MetadataResolutionException(Throwable cause) { super(cause); // TODO Auto-generated constructor stub }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K 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/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) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* {@link NullPointerException}. * <li>If there is any visible constructor or visible static factory method declared by the * class, all visible instance methods will be checked too using the instance created by * invoking the constructor or static factory method. * <li>If the constructor or factory method used to construct instance takes a parameter thatRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.9K 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) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; import jcifs.Configuration; class AvSingleHostTest { /** * Test constructor AvSingleHost(byte[] raw). * Should correctly parse the raw bytes. */ @Test void testAvSingleHostRawConstructor() { byte[] rawData = new byte[48]; // 8 (size/zero) + 8 (customData) + 32 (machineId)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)