Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for rstrip (0.18 sec)

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

     *       that we could probably work around. Or we could manually strip the test from open-source
     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
     *       a more precisely named annotation?
    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)
  2. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * 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
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
       * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
    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)
  3. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * 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
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
       * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
    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)
  4. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import junit.framework.Test;
    
    /**
     * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6ListTests extends TestsForListsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6ListTests().allTests();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
        int chunk1 = Math.min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertNull(file);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/PairedStatsTest.java

      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (PairedStats pairedStats : ALL_PAIRED_STATS) {
          byte[] pairedStatsByteArray = pairedStats.toByteArray();
    
          // Round trip to byte array and back
          assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (PairedStats pairedStats : ALL_PAIRED_STATS) {
          byte[] pairedStatsByteArray = pairedStats.toByteArray();
    
          // Round trip to byte array and back
          assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/StatsTest.java

            .of(LONG_MANY_VALUES_MEAN);
      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (Stats stats : ALL_STATS) {
          byte[] statsByteArray = stats.toByteArray();
    
          // Round trip to byte array and back
          assertThat(Stats.fromByteArray(statsByteArray)).isEqualTo(stats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6SetTests extends TestsForSetsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6SetTests().allTests();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2K bytes
    - Viewed (0)
Back to top