- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 181 for suppressed (0.05 sec)
-
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
Throwable[] suppressed = mainException.getSuppressed(); assertEquals(1, suppressed.length); assertEquals(suppressedException, suppressed[0]); } @Test @DisplayName("Should provide correct cause for constructor with cause only") void testCauseOnlyConstructorMessage() { // Given RuntimeException cause = new RuntimeException("Specific cause message"); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
} @JvmStatic val windows: Boolean get() = System.getProperty("os.name", "?").startsWith("Windows") /** * Make assertions about the suppressed exceptions on this. Prefer this over making direct calls * so tests pass on GraalVM, where suppressed exceptions are silently discarded. * * https://github.com/oracle/graal/issues/3008 */ @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AndroidIncompatible.java
* <li>An annotation named just "Suppress" might suggest to users that the test is suppressed * under all environments. We could fight this by fully qualifying the annotation, but the * result will be verbose and attention-grabbing. * <li>We need to be careful about how we suppress {@code suite()} methods in {@code common.io}.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 07 15:40:13 UTC 2023 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
Throwable[] suppressed = e.getSuppressed(); assertThat(suppressed).hasLength(2); assertThat(suppressed[0]).hasCauseThat().isInstanceOf(IllegalStateException.class); assertThat(suppressed[0]).hasCauseThat().hasMessageThat().isEqualTo("run failure"); assertThat(suppressed[1]).hasCauseThat().isInstanceOf(IllegalStateException.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
try { exception.addSuppressed(new Exception("Test suppressed")); // If suppression is disabled, getSuppressed should return empty array assertEquals(0, exception.getSuppressed().length); } catch (Exception e) { // If an exception is thrown when trying to add suppressed, that's also valid // since suppression is disabled }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
return getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable"); } /** * Returns the {@link Method} instance for {@link #testListIterator_unmodifiable()} so that it can * be suppressed in GWT tests. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getListIteratorUnmodifiableMethod() { return getMethod(ListListIteratorTester.class, "testListIterator_unmodifiable");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
throw exception } } internal fun <E> MutableList<E>.addIfAbsent(element: E) { if (!contains(element)) add(element) } internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable = apply { for (e in suppressed) addSuppressed(e) } internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> { var result: List<T> = emptyList() for (i in this) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
return getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable"); } /** * Returns the {@link Method} instance for {@link #testListIterator_unmodifiable()} so that it can * be suppressed in GWT tests. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getListIteratorUnmodifiableMethod() { return getMethod(ListListIteratorTester.class, "testListIterator_unmodifiable");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Queue} implementations in the {@link java.util} * package. Can be subclassed to specify tests that should be suppressed. * * @author Jared Levy */ @GwtIncompatible public class TestsForQueuesInJavaUtil { public static Test suite() { return new TestsForQueuesInJavaUtil().allTests(); } public Test allTests() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 7.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
*/ @Nonnull Optional<List<String>> activatedProfiles(); /** * Indicates whether Maven should suppress SNAPSHOT updates. * * @return an {@link Optional} containing true if SNAPSHOT updates should be suppressed, false if not, or empty if not specified */ @Nonnull Optional<Boolean> suppressSnapshotUpdates(); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 8K bytes - Viewed (0)