- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,373 for Constructor (0.08 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; class NdrExceptionTest { /** * Test the constructor with a message. * Ensures that the exception is created with the correct message. */ @Test void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException.";
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/main/java/org/codelibs/fess/util/DocList.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
private long allocationSize; private long endOfFile; private int numberOfLinks; private boolean deletePending; private boolean directory; /** * Default constructor for decoding file standard information. */ public FileStandardInfo() { } @Override public byte getFileInformationLevel() { return FILE_STANDARD_INFO; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
import jcifs.smb.FileEntry; /** * Tests for the MsrpcDfsRootEnum class. * This class uses JUnit 5 for testing. */ class MsrpcDfsRootEnumTest { /** * Test the constructor of MsrpcDfsRootEnum. * Verifies that the object is initialized with the correct default values. */ @Test void testConstructor() { // Given String serverName = "test-server";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
// Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() { assertDoesNotThrow(() -> new SmbComSetInformationResponse(mockConfig)); } @Nested @DisplayName("writeParameterWordsWireFormat tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/AdminDictAction.java
import jakarta.annotation.Resource; /** * Admin action for Dictionary management. * */ public class AdminDictAction extends FessAdminAction { /** * Default constructor. */ public AdminDictAction() { super(); } /** The role for this action. */ public static final String ROLE = "admin-dict";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
// Assert assertFalse(SessionSetupHandler.class.isInstance(null)); } @Test @DisplayName("Invalid: looking up constructor on interface fails") void testNoConstructorLookup() { // Act & Assert: interfaces have no constructors assertThrows(NoSuchMethodException.class, () -> SessionSetupHandler.class.getDeclaredConstructor()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/RootAction.java
import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; /** * The action for the root of the application. */ public class RootAction extends FessSearchAction { /** * Constructor. */ public RootAction() { super(); } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java
import org.apache.logging.log4j.Logger; import org.codelibs.fess.exception.ScriptEngineException; /** * This class is a factory for script engines. */ public class ScriptEngineFactory { /** * Constructor. */ public ScriptEngineFactory() { super(); } private static final Logger logger = LogManager.getLogger(ScriptEngineFactory.class); /** * A map of script engines.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
// Act: Call the method under test Principal actualPrincipal = ntlmRequest.getUserPrincipal(); // Assert: Verify that the returned principal is the same as the one provided in the constructor assertSame(mockPrincipal, actualPrincipal, "getUserPrincipal should return the principal object."); } /** * Test method for {@link NtlmHttpServletRequest#getAuthType()}.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0)