Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 6,592 for require (0.22 sec)

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

      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedAllPresent() {
        assertTrue(
            "addAll(allPresent) should return true", getList().addAll(MinimalCollection.of(e0())));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

          // success
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
        assertNull("remove(notPresent) should return null", getMap().remove(k3()));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_nullPresent() {
        initMapWithNullKey();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

            collection.containsAll(MinimalCollection.of(e3())));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES)
      public void testContainsAll_nullNotAllowed() {
        try {
          assertFalse(collection.containsAll(MinimalCollection.of((E) null)));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContainsAll_nullAllowed() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

          // success
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
        assertFalse("remove(notPresent) should return false", collection.remove(e3()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_nullPresent() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

      // Tests for non-duplicate values are in MultimapPutTester
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValuePreservesSize() {
        assertFalse(multimap().put(k0(), v0()));
        assertEquals(getNumElements(), multimap().size());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutDuplicateValue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

    public class QueuePeekTester<E> extends AbstractQueueTester<E> {
      @CollectionSize.Require(ZERO)
      public void testPeek_empty() {
        assertNull("emptyQueue.peek() should return null", getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testToStringWithNullKey() {
        initMultimapWithNullKey();
        testToStringMatchesAsMap();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  8. misc/wasm/wasm_exec_node.js

    	process.exit(1);
    }
    
    globalThis.require = require;
    globalThis.fs = require("fs");
    globalThis.TextEncoder = require("util").TextEncoder;
    globalThis.TextDecoder = require("util").TextDecoder;
    
    globalThis.performance ??= require("performance");
    
    globalThis.crypto ??= require("crypto");
    
    require("./wasm_exec");
    
    const go = new Go();
    go.argv = process.argv.slice(2);
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testReplaceValuesWithNullValue() {
        List<V> values = Arrays.asList(v0(), null, v3());
        multimap().replaceValues(k0(), values);
        assertGet(k0(), values);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testReplaceValuesWithNullKey() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        }
        assertEquals(expectedSize, size2);
      }
    
      @CollectionSize.Require(ZERO)
      public void testIsEmptyYes() {
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmptyNo() {
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testSizeNullKey() {
        initMultimapWithNullKey();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top