Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 878 for testes (0.03 sec)

  1. guava-tests/test/com/google/common/cache/NullCacheTest.java

    /**
     * {@link LoadingCache} tests for caches with a maximum size of zero.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class NullCacheTest extends TestCase {
      QueuingRemovalListener<Object, Object> listener;
    
      @Override
      protected void setUp() {
        listener = queuingRemovalListener();
      }
    
      public void testGet() {
        Object computed = new Object();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TestUtil.java

    import com.google.common.collect.Iterators;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Utility methods used in various common.graph tests. */
    @NullUnmarked
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSinkTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class SupplementalMonitorTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

    import jcifs.CIFSException;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryEnumIteratorBaseTest {
    
        // Simple FileEntry implementation used for tests
        private static FileEntry entry(String name) {
            return new FileEntry() {
                @Override
                public String getName() {
                    return name;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for NetworkInterfaceInfo
     */
    @ExtendWith(MockitoExtension.class)
    class NetworkInterfaceInfoTest {
    
        private InetAddress testAddress;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.net.InetAddress;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.witness.WitnessRegistration.WitnessRegistrationState;
    
    /**
     * Unit tests for WitnessRegistration class.
     */
    public class WitnessRegistrationTest {
    
        private WitnessRegistration registration;
        private InetAddress serverAddress;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        }
    
        @Test
        @DisplayName("Test compression context type")
        public void testContextType() {
            assertEquals(CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE, context.getContextType());
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top