- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,611 for expects (0.04 sec)
-
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
ComponentUtil.setFessConfig(fessConfig); // Execute and expect exception to be handled try { String result = pingSearchEngineJob.execute(); // Job should handle exception gracefully assertNotNull(result); } catch (Exception e) { // Exception is expected to be caught within the job assertTrue(e.getMessage().contains("Connection failed"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java
abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess implements ListenableFuture<V> { final boolean casListeners(@Nullable Listener expect, Listener update) { if (listeners == expect) { listeners = update; return true; } return false; } final @Nullable Listener gasListeners(Listener update) { Listener old = listeners;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Feb 21 02:38:37 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static final long SMALL_TIMEOUT_MILLIS = 10; /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */ private static final long EXPECTED_HANG_DELAY_MILLIS = 75; /** * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked. */ private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* * @author Anthony Zana */ @NullUnmarked public class UninterruptiblesTest extends TestCase { private static final String EXPECTED_TAKE = "expectedTake"; /** Timeout to use when we don't expect the timeout to expire. */ private static final long LONG_DELAY_MS = 2500; private static final long SLEEP_SLACK = 2; private final TearDownStack tearDownStack = new TearDownStack();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
} catch (AssertionError expected) { return; } fail(); } private static final class ThrowingIterator<E> implements Iterator<E> { private final RuntimeException ex; private ThrowingIterator(RuntimeException ex) { this.ex = ex; } @Override public boolean hasNext() { // IteratorTester doesn't expect exceptions for hasNext().
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
/** * Constructs an empty {@code LinkedHashMultimap} with enough capacity to hold the specified * numbers of keys and values without rehashing. * * @param expectedKeys the expected number of distinct keys * @param expectedValuesPerKey the expected average number of values per key * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is * negative */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.1K bytes - Viewed (0) -
cmd/signature-v4-utils.go
} switch header { case "expect": // Golang http server strips off 'Expect' header, if the // client sent this as part of signed headers we need to // handle otherwise we would see a signature mismatch. // `aws-cli` sets this as part of signed headers. // // According to // http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20 // Expect header is always of form: //Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 25 17:10:22 UTC 2024 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
public void testAssertState() { exception.expect(ClIllegalStateException.class); exception.expectMessage(is("hogeだからです。")); assertState(false, "hogeだからです。"); } /** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertIndex(boolean, String)} . */ @Test public void testAssertIndex() { exception.expect(ClIndexOutOfBoundsException.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.publicsuffix import org.junit.runner.Runner expect class PublicSuffixTestRunner : Runner
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 23 16:58:05 UTC 2025 - 753 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
public void testMap() { SpliteratorTester.of( () -> CollectSpliterators.map( Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase)) .expect("A", "B", "C", "D", "E"); } public void testFlatMap() { SpliteratorTester.of( () -> CollectSpliterators.flatMap(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.1K bytes - Viewed (0)