Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,974 for test5 (0.33 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            if (isMainSourceSet) {
                val nullawayAttributeValue = errorproneExtension.nullawayEnabled.map { if (it) NullawayState.ENABLED else NullawayState.DISABLED }
    
                // We don't care about nullaway in test fixtures or tests, they're written in Groovy anyway.
                NullawayAttributes.addToConfiguration(configurations.named(compileClasspathConfigurationName), nullawayAttributeValue)
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(cache.getUnchecked("b")).isEqualTo("b");
      }
    
      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(cache.getUnchecked("b")).isEqualTo("b");
      }
    
      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          return super.toString();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/CharSourceTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code Multiset}
     * implementation.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class MultisetTestSuiteBuilder<E>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        int[][] arrays = new int[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        int[] sharedArray = new int[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Ints.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

    /**
     * Superclass for all {@code Multimap} testers.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractMultimapTester<
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link CountingInputStream}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class CountingInputStreamTest extends IoTestCase {
      private CountingInputStream counter;
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top