Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 709 for itself (0.16 sec)

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

           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
          assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item));
          assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
        testEncodingWithSeparators(base64(), "f", "Zg==");
        testEncodingWithSeparators(base64(), "fo", "Zm8=");
        testEncodingWithSeparators(base64(), "foo", "Zm9v");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
          assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item));
          assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. src/archive/zip/register.go

    import (
    	"compress/flate"
    	"errors"
    	"io"
    	"sync"
    )
    
    // A Compressor returns a new compressing writer, writing to w.
    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      /** Test proper handling of case where an object is not equal to itself */
      public void testNonReflexiveEquals() {
        Object obj = new NonReflexiveObject();
        equalsTester.addEqualityGroup(obj);
        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, obj + " must be Object#equals to itself");
          return;
        }
        fail("Should get non-reflexive error");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      /** Test proper handling of case where an object is not equal to itself */
      public void testNonReflexiveEquals() {
        Object obj = new NonReflexiveObject();
        equalsTester.addEqualityGroup(obj);
        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, obj + " must be Object#equals to itself");
          return;
        }
        fail("Should get non-reflexive error");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. okhttp-testing-support/README.md

    OkHttp Testing Support
    ======================
    
    This module offers utilities and support for testing OkHttp itself. It's not intended for use by
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jun 16 02:08:18 GMT 2019
    - 195 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
        testEncodingWithSeparators(base64(), "f", "Zg==");
        testEncodingWithSeparators(base64(), "fo", "Zm8=");
        testEncodingWithSeparators(base64(), "foo", "Zm9v");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedMultiset.java

       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
       * optionally including {@code upperBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
Back to top