Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 102 for suppressions (0.09 seconds)

  1. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

    <?xml version="1.0"?>
    
    <!DOCTYPE suppressions PUBLIC
        "-//Puppy Crawl//DTD Suppressions 1.1//EN"
        "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
    
    <suppressions>
        <!-- These packages are duplicated in core-api, don't require a package-info.java in each place -->
        <suppress checks="JavadocPackage"
                  files=".*[/\\]stdlib-java-extensions[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]api[/\\][^/\\]+"/>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 16:48:15 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
    <module name="Checker">
        <module name="SuppressionFilter">
            <property name="file" value="${config_loc}/suppressions.xml"/>
        </module>
        <!-- allows suppressing using the @SuppressWarnings("checkstyle:...") -->
        <module name="SuppressWarningsFilter"/>
        <module name="TreeWalker">
            <!-- Blocks -->
            <module name="EmptyBlock">
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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 enabled
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top