Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 297 for name (0.12 sec)

  1. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          WrappedHashMapGenerator generator, String name, Feature<?>... features) {
        List<Feature<?>> featuresList = Lists.newArrayList(features);
        Collections.addAll(
            featuresList,
            MapFeature.GENERAL_PURPOSE,
            CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
            CollectionSize.ANY);
        return MapTestSuiteBuilder.using(generator)
            .named(name)
            .withFeatures(featuresList)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      private static class ThrowsIae {
        public static void christenPoodle(String name) {
          checkArgument(name != null);
        }
      }
    
      private static class ThrowsNpe {
        public static void christenPoodle(String name) {
          checkNotNull(name);
        }
      }
    
      private static class ThrowsUoe {
        public static void christenPoodle(String name) {
          throw new UnsupportedOperationException();
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       *
       * @throws TimeoutException if this thread does not offer a response within a reasonable amount of
       *     time
       * @throws AssertionFailedError if the given method name does not match the name of the method
       *     this thread has called most recently
       */
      private Response getResponse(String methodName) throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class, Foo_Bar.class);
        sanityTests.ignoreClasses(AbstractPackageSanityTests.UNDERSCORE_IN_NAME);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class, Foo_Bar.class);
        sanityTests.ignoreClasses(AbstractPackageSanityTests.UNDERSCORE_IN_NAME);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_withCorrespondingTestClassButNotExplicitlyTested() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns an immutable sorted set containing the elements of a sorted set, sorted by the same
       * {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always uses the
       * natural ordering of the elements.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *
       * <p>Note, however, that although multiple locks can be created for a given Enum value, whether
       * it be through separate factory instances or through multiple calls to the same factory,
       * attempting to acquire multiple locks with the same Enum value (within the same thread) will
       * result in an IllegalStateException regardless of the factory's policy. For example:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_moreThanNineAnonymousClasses() {
        // The nth anonymous class has a name ending like "Outer.$n"
        Object unused1 = new Object() {};
        Object unused2 = new Object() {};
        Object unused3 = new Object() {};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
          assertThat(result).isPresent();
          shadowConstants.add(result.get());
        }
        assertEquals(ImmutableSet.<Object>copyOf(shadowTestEnum.getEnumConstants()), shadowConstants);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ascii.java

       * agreement between sender and recipient of data.
       *
       * @since 8.0
       */
      public static final byte LF = 10;
    
      /**
       * Alternate name for {@link #LF}. ({@code LF} is preferred.)
       *
       * @since 8.0
       */
      public static final byte NL = 10;
    
      /**
       * Vertical Tabulation ('\v'): A format effector which controls the movement of the printing
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top