- Sort Score
- Num 10 results
- Language All
Results 2031 - 2040 of 2,828 for exception (0.06 seconds)
-
src/test/java/jcifs/smb/MIENameTest.java
// Act + Assert Throwable t = assertThrows(expected, () -> new MIEName(buf)); // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence assertNotNull(t, "Exception should be thrown"); } @Nested @DisplayName("equals, hashCode, toString") class EqualityContract { @Test void equalsIgnoresCaseForName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
private final Callable<T> delegate; WrappedCallable(Callable<T> delegate) { this.delegate = delegate; } @Override public T call() throws Exception { return delegate.call(); } } private static final class WrappedRunnable implements Runnable { private final Runnable delegate; WrappedRunnable(Runnable delegate) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
import org.codelibs.fess.crawler.client.smb.SmbAuthentication; import org.codelibs.fess.crawler.client.smb.SmbClient; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.codelibs.fess.opensearch.config.bsentity.BsDataConfig; import org.codelibs.fess.util.ParameterUtil; /** * @author FreeGen */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 17.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
import org.junit.jupiter.api.TestInfo; public class DataStoreTest extends UnitFessTestCase { private DataStore dataStore; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Test public void test_store_basic() { // Create a simple DataStore implementation for testingCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
} // A task ran successfully. Update the execution state and take the next task. task = withLock { afterRun(task, delayNanos, true) awaitTaskToRun() } ?: return } } catch (thrown: Throwable) { // A task failed. Update execution state and re-throw the exception. withLock { afterRun(task, -1L, false) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:30:11 GMT 2025 - 10.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* Call the {@code setCount()} method under test, but do not check its return value. Callers * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect * {@code setCount()} to throw an exception, as checking the return value could produce an * incorrect error message like "setCount() should return the original count" instead of the * message passed to a later invocation of {@code fail()}, like "setCount should throwCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
} @Test @DisplayName("openConnection uses SingletonContext when no context provided") void testOpenConnection_UsesSingletonContext() throws Exception { // Arrange Handler handler = newHandler(); URL url = new URL(null, "smb://host/share/", handler); // Act URLConnection conn = handler.openConnection(url);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertEquals(0, response.readDataWireFormat(emptyBuffer, 0, 0)); // readParametersWireFormat would throw exception due to buffer underflow assertThrows(Exception.class, () -> { response.readParametersWireFormat(emptyBuffer, 0, 0); }); } @Test @DisplayName("Test inherited behavior from parent class")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
public class SsoAuthenticatorTest extends UnitFessTestCase { private TestSsoAuthenticator authenticator; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); authenticator = new TestSsoAuthenticator(); } // Mock LoginCredentialResolver for testingCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
import org.junit.jupiter.api.TestInfo; public class DataStoreParamsTest extends UnitFessTestCase { private DataStoreParams dataStoreParams; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); dataStoreParams = new DataStoreParams(); } // Test default constructor @Test public void test_defaultConstructor() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0)