- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for suppression (0.06 seconds)
-
guava-tests/test/com/google/common/io/CloserTest.java
*/ private void assertSuppressed(Suppression... expected) { assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions); } // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it. /** Suppressor that records suppressions. */ private static class TestSuppressor implements Closer.Suppressor { private final List<Suppression> suppressions = new ArrayList<>(); @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
*/ private void assertSuppressed(Suppression... expected) { assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions); } // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it. /** Suppressor that records suppressions. */ private static class TestSuppressor implements Closer.Suppressor { private final List<Suppression> suppressions = new ArrayList<>(); @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test protected constructor with suppression enabled String message = "Test with suppression"; TestFessSystemException exception = new TestFessSystemException(message, true, true); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); // Test that suppression is enabledCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
@Test public void test_suppressionAndStackTrace() { // Test that suppression and stack trace are disabled (as per constructor) String parentUrl = "http://example.com/parent"; String url = "http://example.com/child"; ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url); // Verify that suppression is disabled try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
// Comprehensive test to verify all methods return expected values FessJsonResourceProvider testProvider = new FessJsonResourceProvider(); // Verify nulls suppression is enabled assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed()); // Verify pretty print is enabledCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
"InjectOnConstructorOfAbstractClass", // We use abstract injection as a pattern "InlineMeSuggester", // Only suppression seems to actually "fix" this, so make it global "JavaUtilDate", // We are fine with using Date "JavaxInjectOnAbstractMethod", // We use abstract injection as a pattern
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:47:14 GMT 2026 - 8.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
* test, or to keep dependent builds clean in spite of an erroneous test. */ @CanIgnoreReturnValue public B suppressing(Method... methods) { return suppressing(asList(methods)); } @CanIgnoreReturnValue public B suppressing(Collection<Method> methods) { suppressedTests.addAll(methods); return self(); } public Set<Method> getSuppressedTests() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 10.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
* test, or to keep dependent builds clean in spite of an erroneous test. */ @CanIgnoreReturnValue public B suppressing(Method... methods) { return suppressing(asList(methods)); } @CanIgnoreReturnValue public B suppressing(Collection<Method> methods) { suppressedTests.addAll(methods); return self(); } public Set<Method> getSuppressedTests() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 10.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0)