- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,751 for constructors (0.07 sec)
-
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
public void test_constructor_withNullMessage() { // Test constructor with null message PluginException exception = new PluginException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withNullMessageAndCause() { // 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.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* caching, pagination, and user interface functionality. * */ public class ViewHelper { /** * Default constructor for ViewHelper. */ public ViewHelper() { // Default constructor } private static final Logger logger = LogManager.getLogger(ViewHelper.class); /** Request attribute key for screen width */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."; String className = prefix + queueType + "BlockingQueue"; Constructor<?> constructor = Class.forName(className).getConstructor(int.class); queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) { strings[i] = String.valueOf(Math.random()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 2.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
// Test constructor with message only String message = "SSO authentication failed"; SsoProcessException exception = new SsoProcessException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withMessageAndCause() { // Test constructor with message and Exception causeRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
// Test constructor with message only String message = "SSO login failed"; SsoLoginException exception = new SsoLoginException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withMessageAndCause() { // Test constructor with message and causeRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
} /** * Test constructor with O_CREAT flag. */ @Test void testConstructor_CreateAndOpen() { int flags = SmbFile.O_CREAT; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x11, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_OPEN } /** * Test constructor with no special flags. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class InvalidAccessTokenExceptionTest extends UnitFessTestCase { public void test_constructor_withTypeAndMessage() { // Test constructor with type and message String type = "Bearer"; String message = "Invalid access token provided"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
/** Cluster timeout. */ protected String clusterTimeout = "1m"; /** Scroll timeout. */ protected String scrollTimeout = "1m"; } /** * Constructor for SuggestSettings. * @param client The OpenSearch client. * @param settingsId The settings ID. * @param initialSettings The initial settings. * @param settingsIndexName The settings index name.Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
// Test constructor with message only String message = "LDAP operation failed"; LdapOperationException exception = new LdapOperationException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withMessageAndCause() { // Test constructor with message and causeRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0)