Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for isNotSameInstanceAs (0.1 sec)

  1. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt

     * limitations under the License.
     */
    package mockwebserver3.junit5.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotSameInstanceAs
    import assertk.assertions.isSameInstanceAs
    import assertk.assertions.isTrue
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. guava-tests/test/com/google/common/graph/MapCacheTest.java

      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
        String fooReference1 = new String("foo");
        String fooReference2 = new String("foo");
        assertThat(fooReference1).isNotSameInstanceAs(fooReference2);
    
        assertThat(mapCache.put(fooReference1, "bar")).isNull();
        assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
        String fooReference1 = new String("foo");
        String fooReference2 = new String("foo");
        assertThat(fooReference1).isNotSameInstanceAs(fooReference2);
    
        assertThat(mapCache.put(fooReference1, "bar")).isNull();
        assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top