Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 3,220 for test5 (0.03 seconds)

  1. 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)
  2. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableMap
     * implementation.
     */
    @GwtIncompatible
    public class NavigableMapTestSuiteBuilder<K, V> extends SortedMapTestSuiteBuilder<K, V> {
      public static <K, V> NavigableMapTestSuiteBuilder<K, V> using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

        }
    
        @Test
        void testSameUpperAndLowerBoundRoundtrip() throws InvalidVersionSpecificationException {
            VersionRange range = VersionRange.createFromVersionSpec("[1.0]");
            VersionRange range2 = VersionRange.createFromVersionSpec(range.toString());
            assertEquals(range, range2);
        }
    
        @Test
        void testInvalidRanges() {
            checkInvalidRange("(1.0)");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  4. internal/grid/benchmark_test.go

    			})
    		}
    	})
    }
    
    func BenchmarkStream(b *testing.B) {
    	tests := []struct {
    		name string
    		fn   func(b *testing.B, n int)
    	}{
    		{name: "request", fn: benchmarkGridStreamReqOnly},
    		{name: "responses", fn: benchmarkGridStreamRespOnly},
    		{name: "twoway", fn: benchmarkGridStreamTwoway},
    	}
    	for _, test := range tests {
    		b.Run(test.name, func(b *testing.B) {
    			for n := 2; n <= 32; n *= 2 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java

    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.containsAll} not already addressed by {@code CollectionContainsTester}.
     *
     * @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")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java

    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.containsAll} not already addressed by {@code CollectionContainsTester}.
     *
     * @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")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Unit tests for {@link ImmutableSortedSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableSortedSetTest extends AbstractImmutableSetTest {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

                        );
                    }).sorted().collect(Collectors.joining("\n"))),
                    // TODO: check that the testing tasks are included in the right task based on the name ( from the rule )
                    checkNoneExists("Classes matching the test naming convention should be in test not main", getMainClassNamedLikeTests())
                );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  9. docs/smb3-features/03-multi-channel-design.md

        return LoadBalancingStrategy.valueOf(strategy.toUpperCase());
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testChannelSelection() {
        ChannelManager manager = new ChannelManager(context, session);
        
        // Add test channels
        ChannelInfo channel1 = createTestChannel("channel1", 1000);  // 1Gbps
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableSortedMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
Back to Top