Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for isNotEqualTo (0.21 sec)

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

        Files.setLastModifiedTime(temp, FileTime.fromMillis(0));
        assertEquals(0, Files.getLastModifiedTime(temp).toMillis());
        MoreFiles.touch(temp);
        assertThat(Files.getLastModifiedTime(temp).toMillis()).isNotEqualTo(0);
      }
    
      public void testCreateParentDirectories_root() throws IOException {
        // We use a fake filesystem to sidestep flaky problems with Windows (b/136041958).
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
        }
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(dim1 * dim2).isAtLeast(0);
        testConcat_overflow(dim1, dim2);
      }
    
      private static void testConcat_overflow(int arraysDim1, int arraysDim2) {
        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        long[][] arrays = new long[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        long[] sharedArray = new long[arraysDim2];
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(dim1 * dim2).isAtLeast(0);
        testConcat_overflow(dim1, dim2);
      }
    
      private static void testConcat_overflow(int arraysDim1, int arraysDim2) {
        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        long[][] arrays = new long[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        long[] sharedArray = new long[arraysDim2];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      // valid result thrown by java.util.TreeSet#equals.
      private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) {
        try {
          assertThat(actual).isNotEqualTo(unexpected);
        } catch (ClassCastException accepted) {
        }
      }
    
      public void testHeadSetInclusive() {
        String[] strings = NUMBER_NAMES.toArray(new String[0]);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
        }
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      // valid result thrown by java.util.TreeSet#equals.
      private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) {
        try {
          assertThat(actual).isNotEqualTo(unexpected);
        } catch (ClassCastException accepted) {
        }
      }
    
      public void testHeadSetInclusive() {
        String[] strings = NUMBER_NAMES.toArray(new String[0]);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<?> matrixType =
            type.resolveType(Holder.class.getDeclaredField("matrix").getGenericType());
        assertEquals(List[].class, matrixType.getRawType());
        assertThat(matrixType.getType()).isNotEqualTo(new TypeToken<List<?>[]>() {}.getType());
      }
    
      public void testWildcardCaptured_wildcardWithImplicitBound() throws Exception {
        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<?> matrixType =
            type.resolveType(Holder.class.getDeclaredField("matrix").getGenericType());
        assertEquals(List[].class, matrixType.getRawType());
        assertThat(matrixType.getType()).isNotEqualTo(new TypeToken<List<?>[]>() {}.getType());
      }
    
      public void testWildcardCaptured_wildcardWithImplicitBound() throws Exception {
        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top