Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for actualContents (0.26 sec)

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

        extends AbstractContainerTester<Collection<E>, E> {
    
      // TODO: replace this with an accessor.
      protected Collection<E> collection;
    
      @Override
      protected Collection<E> actualContents() {
        return collection;
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected Collection<E> resetContainer(Collection<E> newContents) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
       *     expectContents(E...)} and its friends.
       */
      protected abstract Collection<E> actualContents();
    
      /**
       * Replaces the existing container under test with a new container created by the subject
       * generator.
       *
       * @see #resetContainer(Object) resetContainer(C)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        extends AbstractContainerTester<Collection<E>, E> {
    
      // TODO: replace this with an accessor.
      protected Collection<E> collection;
    
      @Override
      protected Collection<E> actualContents() {
        return collection;
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected Collection<E> resetContainer(Collection<E> newContents) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
       *     expectContents(E...)} and its friends.
       */
      protected abstract Collection<E> actualContents();
    
      /**
       * Replaces the existing container under test with a new container created by the subject
       * generator.
       *
       * @see #resetContainer(Object) resetContainer(C)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        return ((TestMultimapGenerator<K, V, ? extends Multimap<K, V>>)
                getSubjectGenerator().getInnerGenerator())
            .sampleValues();
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return multimap.entries();
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected M resetContainer(M newContents) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        return ((TestMultimapGenerator<K, V, ? extends Multimap<K, V>>)
                getSubjectGenerator().getInnerGenerator())
            .sampleValues();
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return multimap.entries();
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected M resetContainer(M newContents) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    		}
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed reading response body: <ERROR> %v", i+1, instanceType, err)
    		}
    
    		if rec.Code == http.StatusOK || rec.Code == http.StatusPartialContent {
    			if !bytes.Equal(testCase.expectedContent, actualContent) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	if anonReq.Method != http.MethodHead {
    		// read the response body.
    		var actualContent []byte
    		actualContent, err = io.ReadAll(rec.Body)
    		if err != nil {
    			t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Failed parsing response body: <ERROR> %v", err)))
    		}
    
    		actualError := &APIErrorResponse{}
    		if err = xml.Unmarshal(actualContent, actualError); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top