Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for gotest (0.14 sec)

  1. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("{}", toTest);
      }
    
      public void testConstructorLenient_anonymousClass() {
        String toTest = MoreObjects.toStringHelper(new Object() {}).toString();
        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_classObject() {
    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)
  2. guava-tests/test/com/google/common/collect/ListsImplTest.java

        }
        int[] expected = {3, 1, 5, 3, 4, 5};
        checkLastIndexOf(toTest, expected);
      }
    
      private void checkIndexOf(List<?> toTest, int[] expected) {
        int index = 0;
        for (Object obj : toTest) {
          String name = "toTest[" + index + "] (" + obj + ")";
          assertWithMessage(name).that(Lists.indexOfImpl(toTest, obj)).isEqualTo(expected[index]);
          index++;
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      /*
       * This is a public type so that the Android test runner can create an instance directly as it
       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
    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)
  4. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      /*
       * This is a public type so that the Android test runner can create an instance directly as it
       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
    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)
  5. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       under all environments. We could fight this by fully qualifying the annotation, but the
     *       result will be verbose and attention-grabbing.
     *   <li>We need to be careful about how we suppress {@code suite()} methods in {@code common.io}.
     *       The generated suite for {@code FooTest} ends up containing {@code FooTest} itself plus some
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("{}", toTest);
      }
    
      public void testConstructorLenient_anonymousClass() {
        String toTest = MoreObjects.toStringHelper(new Object() {}).toString();
        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_classObject() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

        }
        int[] expected = {3, 1, 5, 3, 4, 5};
        checkLastIndexOf(toTest, expected);
      }
    
      private void checkIndexOf(List<?> toTest, int[] expected) {
        int index = 0;
        for (Object obj : toTest) {
          String name = "toTest[" + index + "] (" + obj + ")";
          assertWithMessage(name).that(Lists.indexOfImpl(toTest, obj)).isEqualTo(expected[index]);
          index++;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        assertFalse(
            "Sets of different sizes should not be equal.",
            getSet().equals(MinimalSet.from(moreElements)));
      }
    
      public void testEquals_list() {
        assertFalse("A List should never equal a Set.", getSet().equals(Helpers.copyToList(getSet())));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        getSet().remove(e0());
        assertFalse(
            "After remove(present) a set should not contain the removed element.",
            getSet().contains(e0()));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/test.txt

    Chris Povirk <******@****.***> 1357920668 -0500
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Jan 11 16:55:37 GMT 2013
    - 45 bytes
    - Viewed (0)
Back to top