Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 139 for suppressions (0.1 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    return emptySet();
                  }
                })
            .named("emptySet")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptySet())
            .createTestSuite();
      }
    
      public Test testsForSingletonSet() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 15K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                  }
                })
            .named("ArrayDeque")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
            .suppressing(suppressForArrayDeque())
            .createTestSuite();
      }
    
      public Test testsForLinkedList() {
        return QueueTestSuiteBuilder.using(
                new TestStringQueueGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
            // don't skip collection tests since checkedQueue() is not tested by TestsForListsInJavaUtil
            .suppressing(suppressForCheckedQueue())
            .createTestSuite();
      }
    
      public Test testsForArrayDeque() {
        return QueueTestSuiteBuilder.using(
                new TestStringQueueGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

                .withFeatures(parentBuilder.getFeatures())
                .named(parentBuilder.getName() + " [Map]")
                .suppressing(parentBuilder.getSuppressedTests())
                .suppressing(SetCreationTester.class.getMethods())
                // BiMap.entrySet() duplicate-handling behavior is too confusing for SetCreationTester
                .withSetUp(parentBuilder.getSetUp())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                CollectionFeature.SERIALIZABLE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
            .suppressing(suppressForCheckedNavigableSet())
            .createTestSuite();
      }
    
      public Test testsForEmptySet() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
Back to Top