Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,252 for best (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameQueryRequestTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    
    class NameQueryRequestTest {
    
        @Mock
        private Configuration mockConfig;
        @Mock
        private Name mockName;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/BaseContextTest.java

            assertTrue(resource.getLocator().getURL().toString().contains("server/share/file.txt"), "Resource should contain URL path");
        }
    
        @Test
        @DisplayName("get method should handle various URL formats successfully")
        void testGetSmbResourceWithValidURLs() throws CIFSException {
            // Test that these URLs can be created successfully
            String[] validUrls = { "smb://server/", "smb://server/share/", "smb://server/share/file.txt" };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComNegotiate class.
     */
    class SmbComNegotiateTest {
    
        private SmbComNegotiate smbComNegotiate;
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        @BeforeEach
        void setUp() {
            // Create a new instance before each test
            smbComNegotiate = new SmbComNegotiate();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

    import java.io.InputStream;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for IgnoreCloseInputStream.
     *
     * @author shinsuke
     */
    public class IgnoreCloseInputStreamTest extends PlainTestCase {
    
        public void test_close_isIgnored() throws IOException {
            // Test that close() is ignored
            byte[] data = "Test data".getBytes();
            ByteArrayInputStream underlyingStream = new ByteArrayInputStream(data);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/ValueGraphTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link StandardMutableValueGraph} and related functionality. */
    // TODO(user): Expand coverage and move to proper test suite.
    @RunWith(JUnit4.class)
    @NullUnmarked
    public final class ValueGraphTest {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertEquals(ChannelState.FAILED, channel.getState());
        }
    
        @Test
        void testLoadBalancingStrategies() throws Exception {
            // Test different load balancing strategies
            ChannelLoadBalancer loadBalancer = new ChannelLoadBalancer(channelManager);
    
            // Test setting different strategies
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            @Test
            @DisplayName("getLastWriteTime should return initial value of 0")
            void testGetLastWriteTime() {
                assertEquals(0, response.getLastWriteTime());
            }
    
            @Test
            @DisplayName("getChangeTime should return initial value of 0")
            void testGetChangeTime() {
                assertEquals(0, response.getChangeTime());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

     */
    package org.codelibs.fess.crawler.util;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for CharUtil.
     *
     * @author shinsuke
     */
    public class CharUtilTest extends PlainTestCase {
    
        public void test_isUrlChar_lowercase() {
            // Test lowercase letters
            assertTrue(CharUtil.isUrlChar('a'));
            assertTrue(CharUtil.isUrlChar('m'));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. cmd/os-readdir_test.go

    		}
    	}
    }
    
    // Represents data type for all the test results.
    type result struct {
    	dir     string
    	entries []string
    }
    
    // Test to read empty directory.
    func setupTestReadDirEmpty(t *testing.T) (testResults []result) {
    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    // Test to read non-empty directory with only files.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top