Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 694 for fails (0.31 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        expectMissing(e0());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithEntrySetIteration() {
        try {
          Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
          getMap().remove(k0());
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  }
                })
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.SUPPORTS_REMOVE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        expectMissing(e0());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithEntrySetIteration() {
        try {
          Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
          getMap().remove(k0());
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        expectAdded(e3());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
      @CollectionSize.Require(absent = ZERO)
      public void testPutAbsentConcurrentWithEntrySetIteration() {
        try {
          Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
          put(e3());
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      public void testAdd_nullUnsupported() {
        try {
          collection.add(null);
          fail("add(null) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)");
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    			execClientConfig: loggingConfig,
    			args:             strings.Split("bootstrap httpbin-794b576b6c-qx6pf", " "),
    			expectedString:   `config dump has no configuration type`,
    			wantException:    true,
    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        expectAdded(e3());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
      @CollectionSize.Require(absent = ZERO)
      public void testPutAbsentConcurrentWithEntrySetIteration() {
        try {
          Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
          put(e3());
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(SEVERAL)
      public void testRemoveAllSomePresentConcurrentWithIteration() {
        try {
          Iterator<E> iterator = collection.iterator();
          assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3())));
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionSize.ANY)
            .suppressing(suppressForHashSet())
            .createTestSuite();
      }
    
      public Test testsForLinkedHashSet() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
            .suppressing(suppressForCheckedNavigableSet())
            .createTestSuite();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top