Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,973 for test5 (0.78 sec)

  1. guava-testlib/src/com/google/common/testing/EqualsTester.java

            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
      /** Run tests on equals method, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EqualsTester testEquals() {
        RelationshipTester<Object> delegate =
            new RelationshipTester<>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. tests/callbacks_test.go

    		}
    
    		if len(data.err) > 0 && err == nil {
    			t.Errorf("callbacks tests #%v should got error %v, but not", idx+1, data.err)
    		} else if len(data.err) == 0 && err != nil {
    			t.Errorf("callbacks tests #%v should not got error, but got %v", idx+1, err)
    		}
    
    		if ok, msg := assertCallbacks(callbacks.Create(), data.results); !ok {
    			t.Errorf("callbacks tests #%v failed, got %v", idx+1, msg)
    		}
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

    /**
     * Superclass for all {@code ListMultimap} 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

    import com.google.common.testing.ForwardingWrapperTester;
    import java.util.Collection;
    import java.util.LinkedList;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingCollection}.
     *
     * @author Robert Konigsberg
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

    import java.util.Collection;
    import java.util.LinkedList;
    import java.util.Queue;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code ForwardingQueue}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThat(graph.inDegree(N1)).isEqualTo(3);
      }
    
      @Test
      public void outDegree_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(2);
        putEdge(N2, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(3);
      }
    
      // Stable order tests
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

    import jcifs.NetbiosAddress;
    import jcifs.NetbiosName;
    import jcifs.ResolverType;
    
    /**
     * Test class for NameServiceClientImpl focusing on public API methods.
     * Optimized for fast execution with minimal network calls.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    @DisplayName("NameServiceClientImpl Tests")
    class NameServiceClientImplTest {
    
        @Mock
        private CIFSContext mockContext;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 21:04:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for DirectoryLeaseState
     */
    public class DirectoryLeaseStateTest {
    
        @Test
        public void testDirectoryLeaseConstants() {
            // Test that directory lease states use correct base values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

    import java.net.InetAddress;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.DisplayName;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.config.BaseConfiguration;
    
    /**
     * Basic tests for MultiChannelManager to verify the createChannelTransport implementation.
     */
    public class MultiChannelManagerBasicTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top