- Sort Score
- Num 10 results
- Language All
Results 1241 - 1250 of 3,107 for execution (0.05 seconds)
-
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
import org.codelibs.core.exception.ClIllegalArgumentException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author wyukawa * */ public class BinaryConversionUtilTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
} @Test public void test_serialVersionUID() { // Test that the exception is serializable ParseException parseException = new ParseException("Serialization test"); QueryParseException queryParseException = new QueryParseException(parseException); // Verify that the exception can be created and has serialVersionUID assertNotNull(queryParseException);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
} // Test register with null factory throws exception @Test public void test_register_nullFactory() { ComponentUtil.register(null, "scriptEngineFactory"); try { testScriptEngine.register(); fail("Should throw exception when factory is null"); } catch (NullPointerException e) { // Expected exception } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
throw e; } }; } /** Returns a {@link CacheLoader} that throws the given exception for every request. */ static <K, V> CacheLoader<K, V> exceptionLoader(Exception e) { checkNotNull(e); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { throw e; } }; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
response: Response, hostname: String, results: MutableList<InetAddress>, failures: MutableList<Exception>, ) { try { val addresses = readResponse(hostname, response) synchronized(results) { results.addAll(addresses) } } catch (e: Exception) { synchronized(failures) { failures.add(e) } } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
*/ public <T> T executeWithRetry(RdmaOperation<T> operation, RdmaConnection connection) throws IOException { Exception lastError = null; int retryCount = 0; while (retryCount <= maxRetries) { try { return operation.execute(); } catch (Exception error) { lastError = error; statistics.recordError();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/log/Logger.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Map; import org.codelibs.core.exception.ClIllegalArgumentException; import org.codelibs.core.message.MessageFormatter; import org.codelibs.core.misc.DisposableUtil; /** * Logger interface. * * @author higa */ public class Logger {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
@Mock private FilterChain filterChain; @Mock private HttpSession httpSession; @Mock private ServletOutputStream servletOutputStream; @BeforeEach void setUp() throws Exception { filter = new NtlmHttpFilter(); // Setup lenient stubs for common mock interactions lenient().when(request.getSession()).thenReturn(httpSession);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EvictingQueueTest.java
*/ @GwtCompatible @NullMarked public class EvictingQueueTest extends TestCase { public void testCreateWithNegativeSize() throws Exception { assertThrows(IllegalArgumentException.class, () -> EvictingQueue.create(-1)); } public void testCreateWithZeroSize() throws Exception { EvictingQueue<String> queue = EvictingQueue.create(0); assertEquals(0, queue.size()); assertTrue(queue.add("hi"));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * @author ricebin */ @NullUnmarked public class MultiReaderTest extends TestCase { public void testOnlyOneOpen() throws Exception { String testString = "abcdefgh"; CharSource source = newCharSource(testString); int[] counter = new int[1]; CharSource reader = new CharSource() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.8K bytes - Click Count (0)