- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,878 for constructor (0.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
assertNull(exception.getCause()); } /** * Test protected constructor with suppression and stack trace control */ public void test_protectedConstructor_withSuppressionAndStackTrace() throws Exception { // Access protected constructor via reflection Constructor<CrawlerSystemException> constructor =
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) { X instance = newFromConstructor(constructor, cause); if (instance != null) { if (instance.getCause() == null) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
// Test constructor with null message SearchQueryException exception = new SearchQueryException((String) null); assertNull(exception.getMessage()); assertNull(exception.getCause()); assertTrue(exception instanceof FessSystemException); } public void test_constructorWithNullCause() { // Test constructor with null 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/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
// Constructor // =========== /** * Default constructor. */ public ApiAdminStatsAction() { super(); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test constructor with message only String message = "Test exception message"; FessSystemException exception = new FessSystemException(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 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// 1. Class should have protected constructor Constructor<?>[] constructors = ThreadDumpUtil.class.getDeclaredConstructors(); assertEquals("Should have exactly one constructor", 1, constructors.length); assertTrue("Constructor should be protected", java.lang.reflect.Modifier.isProtected(constructors[0].getModifiers())); // 2. All public methods should be staticRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
class PACDecodingExceptionTest { /** * Test the default constructor. */ @Test void testDefaultConstructor() { PACDecodingException e = new PACDecodingException(); // Expect null message and null cause assertNull(e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a message. */ @Test void testMessageConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
@Mock private NdrObject mockNdrObject; /** * Test the constructor of MsrpcQueryInformationPolicy. * It should correctly call the super constructor and set ptype and flags. */ @Test @DisplayName("Constructor should initialize fields and call super constructor") void constructorTest() { short level = 1; // Create an instance of the class under testRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ConstructorDesc.java
/** * Returns the constructor. * * @param <T> * The type of the Bean * @return The constructor */ <T> Constructor<T> getConstructor(); /** * Returns an array of the parameter types of the constructor. * * @return An array of the parameter types of the constructor */ Class<?>[] getParameterTypes(); /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(); // Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)