- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 2,828 for exception (0.12 seconds)
-
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
* Multiple threads call getDataStoreNames() simultaneously. */ @Test public void test_getDataStoreNames_concurrentAccess() throws Exception { final int threadCount = 10; final Thread[] threads = new Thread[threadCount]; final Exception[] exceptions = new Exception[threadCount]; final String[][] results = new String[threadCount][]; DataStoreFactory testFactory = new DataStoreFactory() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush. setupFlushable(true); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithThrownException() throws IOException { // make sure that the exception is thrown if 'swallowException' is false
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
} protected void preCommands(C context) throws Exception { boolean verbose = context.invokerRequest.effectiveVerbose(); boolean version = context.options().showVersion().orElse(false); if (verbose || version) { showVersion(context); } } protected void container(C context) throws Exception { if (context.lookup == null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
@BeforeEach public void setUp() throws Exception { masterPassword = "MasterPassword123!@#".toCharArray(); storage = new SecureCredentialStorage(masterPassword.clone()); } @AfterEach public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) { try { storage.close(); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
final CountDownLatch futureCancelled = new CountDownLatch(1); final Exception exception = new Exception(); final Closeable mockCloseable = mock(Closeable.class); @Override protected void tearDown() throws Exception { assertNoExpectedFailures(); super.tearDown(); } public void testFrom() throws Exception { ClosingFuture<String> closingFuture =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
import org.apache.maven.api.xml.XmlService; import org.apache.maven.execution.BuildFailure; import org.apache.maven.execution.BuildSuccess; import org.apache.maven.execution.ExecutionEvent; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenSession; import org.apache.maven.execution.ProjectDependencyGraph; import org.apache.maven.execution.ProjectExecutionEvent;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
} @Test public void test_expired_method_exists() throws Exception { assertNotNull(HotThreadMonitorTarget.class.getMethod("expired"), "expired method should exist"); } @Test public void test_expired_method_can_be_called() { try { target.expired(); } catch (Exception e) { // Expected that it may fail due to missing dependencies in test environmentCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
@BeforeEach void setUp() throws Exception { domainSid = new SID("S-1-5-21-1-2-3"); userSid = new SID("S-1-5-21-1-2-3-1000"); } private void writeLittleEndianShort(DataOutputStream dos, short value) throws IOException { dos.writeShort(Short.reverseBytes(value)); } private void writeLittleEndianInt(DataOutputStream dos, int value) throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
public long process() { return returnValue; } } // Test class that throws exception private static class ExceptionScoreBooster extends ScoreBooster { @Override public long process() { throw new RuntimeException("Test exception"); } } // Test class with priority tracking
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0)