Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 779 for test_0 (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.remove}.
     *
     * @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")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.2K bytes
    - Viewed (1)
  2. guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.rpc.policy_handle;
    
    class MsrpcSamrCloseHandleTest {
    
        @Mock
        private policy_handle mockPolicyHandle;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructorShouldInitializeCorrectly() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestQueueGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Queue;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates queues, containing sample elements, to be tested.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public interface TestQueueGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Queue<E> create(Object... elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Set<E> create(Object... elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Set<E> create(Object... elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                    }
                }
            };
    
            // When
            byte[] testId = new byte[] { 42 };
            anonymousImpl.setFileId(testId);
    
            // Then
            assertEquals(42, capturedFileId[0], "Anonymous implementation should work correctly");
        }
    
        @Test
        @DisplayName("Should verify all known implementations")
        void testAllKnownImplementations() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/TestMultisetGenerator.java

    import com.google.common.collect.testing.TestCollectionGenerator;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates multisets, containing sample elements, to be tested.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public interface TestMultisetGenerator<E extends @Nullable Object>
        extends TestCollectionGenerator<E> {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/Feature.java

     */
    
    package com.google.common.collect.testing.features;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    
    /**
     * Base class for enumerating the features of an interface to be tested.
     *
     * @param <T> The interface whose features are to be enumerated.
     * @author George van den Driessche
     */
    @GwtCompatible
    public interface Feature<T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.UniAddress;
    
    /**
     * Unit tests for {@link NtlmChallenge}.
     */
    class NtlmChallengeTest {
    
        @Nested
        @DisplayName("Constructor and Field Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor sets fields correctly")
            void testConstructorSetsFields() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top