- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,878 for constructor (0.16 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 557 bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
// Since SamrOpenDomain's constructor is called, we implicitly test that the arguments // are passed up. Mockito cannot directly verify super() calls without PowerMock, // which is not ideal for simple constructor tests. // The primary responsibility of this constructor is setting ptype and flags, // which are directly verifiable. }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
*/ class KerberosTokenTest { /** * Test constructor with an empty token. */ @Test void testConstructorWithEmptyToken() { byte[] emptyToken = new byte[0]; assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken)); } /** * Test constructor with a malformed token (not ASN.1). */ @TestRegistered: 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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcLsarCloseTest.java
// Assert that the object is not null assertNotNull(msrpcLsarClose, "MsrpcLsarClose object should not be null"); // Verify that the constructor correctly sets ptype and flags // These values are inherited from LsarClose, but MsrpcLsarClose sets them in its constructor assertEquals(0, msrpcLsarClose.getPtype(), "ptype should be 0");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
} @Override public void tearDown() throws Exception { crawlerEngineClient = null; super.tearDown(); } // Test constructor public void test_constructor() { // Test that constructor creates a non-null instance assertNotNull(crawlerEngineClient); } // Test inheritance public void test_inheritance() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
} /** * Validate that the constructor masks the supplied value to its * lowest 8 bits (NdrShort incorrectly masks to 8 bits even though it's a short). */ @ParameterizedTest @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 }) void constructorMasksValue(int input) { NdrShort ns = new NdrShort(input); // NdrShort masks to 0xFF (8 bits) in its constructor int expected = input & 0xFF;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
public void test_constructorWithNullMessage() { // Test constructor with null message GsaConfigException exception = new GsaConfigException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructorWithNullMessageAndCause() { // Test constructor with null message and null cause
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
// We need to manually inject the mock as we are not using @InjectMocks on the constructor response = new TransTransactNamedPipeResponse(mockPipe); } /** * Tests the constructor of {@link TransTransactNamedPipeResponse}. */ @Test void testConstructor() { // The constructor is called in setUp(), so we just verify the result.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java
private String componentName; /** * Constructor with component name. * @param componentName The name of the component that is not available. */ public ContainerNotAvailableException(final String componentName) { super(componentName + " is not available."); } /** * Constructor with component name and cause.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.1K bytes - Viewed (0)