Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for isNotSameInstanceAs (0.16 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(lowerCase).isNotSameInstanceAs(base16());
        assertThat(lowerCase).isSameInstanceAs(base16().lowerCase());
        testEncodingWithCasing(lowerCase, "foobar", "666f6f626172");
      }
    
      public void testBase16IgnoreCase() {
        BaseEncoding ignoreCase = base16().ignoreCase();
        assertThat(ignoreCase).isNotSameInstanceAs(base16());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(lowerCase).isNotSameInstanceAs(base16());
        assertThat(lowerCase).isSameInstanceAs(base16().lowerCase());
        testEncodingWithCasing(lowerCase, "foobar", "666f6f626172");
      }
    
      public void testBase16IgnoreCase() {
        BaseEncoding ignoreCase = base16().ignoreCase();
        assertThat(ignoreCase).isNotSameInstanceAs(base16());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

      }
    
      public void testImpliedFeatures_returnsNewSetInstance() {
        Set<Feature<?>> features = newHashSet(IMPLIES_FOO);
        assertThat(impliedFeatures(features)).isNotSameInstanceAs(features);
      }
    
      public void testImpliedFeatures_returnsImpliedFeatures() {
        assertThat(impliedFeatures(newHashSet(FOO))).isEmpty();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Bytes.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new byte[] {(byte) 1, (byte) 1, (byte) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

      }
    
      public void testImpliedFeatures_returnsNewSetInstance() {
        Set<Feature<?>> features = newHashSet(IMPLIES_FOO);
        assertThat(impliedFeatures(features)).isNotSameInstanceAs(features);
      }
    
      public void testImpliedFeatures_returnsImpliedFeatures() {
        assertThat(impliedFeatures(newHashSet(FOO))).isEmpty();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Bytes.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new byte[] {(byte) 1, (byte) 1, (byte) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertDoesntActuallyTrim(iia2);
      }
    
      private static void assertActuallyTrims(ImmutableDoubleArray iia) {
        ImmutableDoubleArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Chars.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Chars.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Chars.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Chars.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Chars.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new char[] {(char) 1, (char) 1, (char) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Doubles.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new double[] {(double) 1, (double) 1, (double) 1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertDoesntActuallyTrim(iia2);
      }
    
      private static void assertActuallyTrims(ImmutableIntArray iia) {
        ImmutableIntArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top