- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,953 for constructors (0.07 seconds)
-
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()); } @Test public void test_constructor_withMessageAndCause() { // Test constructor with message and causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
// Test constructor with null message DictionaryException exception = new DictionaryException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message but valid causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
} @Test public void test_constructorSignature() { // Verify constructor parameter types try { final java.lang.reflect.Constructor<?> constructor = FessWebResourceRoot.class.getConstructor(Context.class); final Class<?>[] paramTypes = constructor.getParameterTypes(); assertEquals("Constructor should have one parameter", 1, paramTypes.length);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
// Test constructor with null message SearchEngineClientException exception = new SearchEngineClientException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and null causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
// Test constructor with null cause final JobProcessingException exception = new JobProcessingException((Throwable) null); assertNotNull(exception); assertNull(exception.getCause()); assertNull(exception.getMessage()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
}; } /** * Returns the {@link Invokable} for {@code constructor}, which must be a member of {@code T}. * * @since 14.0 */ public final Invokable<T, T> constructor(Constructor<?> constructor) { checkArgument( constructor.getDeclaringClass() == getRawType(), "%s not declared by %s", constructor, getRawType());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
/** Flag to track initialization status */ protected AtomicBoolean isInit = new AtomicBoolean(false); /** * Constructs a new FileSystemClient. */ public FileSystemClient() { // Default constructor } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.client.CrawlerClient#doGet(java.lang.String) */ @OverrideCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 }; AvPair avPair = new AvPair(type, raw); assertEquals(type, avPair.getType(), "Type should match the constructor argument."); assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument."); // Test with another type and empty raw data int type2 = AvPair.MsvAvEOL; byte[] raw2 = new byte[] {};
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (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 testCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
// Test the no-argument constructor ConnectionTimeoutException exception = new ConnectionTimeoutException(); assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testStringConstructor() { // Test the constructor with a messageCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0)