Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 383 for testDI (0.08 seconds)

  1. src/test/java/jcifs/SmbPipeHandleTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import jcifs.smb.SmbPipeHandleInternal;
    
    /**
     * Unit tests for a class that implements the {@link SmbPipeHandle} interface.
     * This test class uses a mock implementation to ensure any class adhering to the
     * SmbPipeHandle contract is tested for correctness.
     */
    public class SmbPipeHandleTest {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

            .createTestSuite();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Collections2.class);
      }
    
      public void testOrderedPermutationSetEmpty() {
        List<Integer> list = new ArrayList<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  3. docs/pt/docs/index.md

    ## Performance { #performance }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is
     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testFromFluentFuture() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMultiset.class);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_empty() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

    import java.util.List;
    import java.util.Objects;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
     * CollectorTester.of(Collectors.summingInt(Integer::parseInt))
     *     .expectCollects(3, "1", "2")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Queue} implementations in the {@link java.util}
     * package. Can be subclassed to specify tests that should be suppressed.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public class TestsForQueuesInJavaUtil {
      public static Test suite() {
        return new TestsForQueuesInJavaUtil().allTests();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/endtoend_test.go

    	}
    }
    
    func testRISCV64AllProfiles(t *testing.T, testFn func(t *testing.T)) {
    	t.Helper()
    
    	defer func(orig int) { buildcfg.GORISCV64 = orig }(buildcfg.GORISCV64)
    
    	for _, goriscv64 := range []int{20, 22, 23} {
    		t.Run(fmt.Sprintf("rva%vu64", goriscv64), func(t *testing.T) {
    			buildcfg.GORISCV64 = goriscv64
    			testFn(t)
    		})
    	}
    }
    
    func TestRISCV64EndToEnd(t *testing.T) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 18:45:48 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
        return new AssertionError(message, e);
      }
    
      /**
       * Finds the classes not ending with a test suffix and not covered by an explicit test whose name
       * is {@code explicitTestNames}.
       */
      @VisibleForTesting
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  10. internal/bucket/replication/replication.go

    			// incoming prefix must be in rule prefix
    			if !recursive && !strings.HasPrefix(prefix, rule.Filter.Prefix) {
    				continue
    			}
    			// If recursive, we can skip this rule if it doesn't match the tested prefix or level below prefix
    			// does not match
    			if recursive && !strings.HasPrefix(rule.Prefix(), prefix) && !strings.HasPrefix(prefix, rule.Prefix()) {
    				continue
    			}
    		}
    		return true
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top