Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,143 for test$ (0.07 sec)

  1. src/test/java/jcifs/AddressTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Comprehensive test suite for Address interface.
     * Tests the contract and behavior of Address implementations.
     */
    @DisplayName("Address Interface Tests")
    class AddressTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Address mockAddress;
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbConnectionTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.config.PropertyConfiguration;
    
    /**
     * Tests for SMB connection batch limit functionality.
     * Tests the batch limit configuration for various SMB commands.
     */
    public class SmbConnectionTest {
    
        /**
         * Test that getBatchLimit returns correct values for different commands
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      /**
       * This test checks an implementation dependent feature. It tests that the method {@code addEdge}
       * will silently add the missing nodes to the graph, then add the edge connecting them. We are not
       * using the proxy methods here as we want to test {@code addEdge} when the end-points are not
       * elements of the graph.
       */
      @Test
      public void addEdge_nodesNotInGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacTest.java

            }
        }
    
        @Test
        void testEmptyPac() {
            // Test that PAC with size <= 8 is rejected
            byte[] emptyData = new byte[8];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys));
            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testTooSmallPac() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.dcerpc.msrpc.netdfs.DfsEnumArray200;
    import jcifs.dcerpc.msrpc.netdfs.DfsInfo200;
    import jcifs.smb.FileEntry;
    
    /**
     * Tests for the MsrpcDfsRootEnum class.
     * This class uses JUnit 5 for testing.
     */
    class MsrpcDfsRootEnumTest {
    
        /**
         * Test the constructor of MsrpcDfsRootEnum.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test process with available generator
        public void test_process_availableGenerator() throws IOException {
            // Skip this test as it requires container components
            // The process method needs actual ThumbnailQueueBhv and other components
            assertTrue(true);
        }
    
        // Test process with unavailable generator
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

        }
    
        /**
         * Tests for the TreeConnectResponse interface using a mock implementation
         */
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceTests {
    
            private TreeConnectResponse mockResponse;
    
            @BeforeEach
            void setUp() {
                mockResponse = mock(TreeConnectResponse.class);
            }
    
            @Test
            @DisplayName("Should return tree ID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameTest.java

        void equals_withDifferentHexCode_shouldReturnFalse() {
            Name name1 = new Name(mockConfig, "TEST", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST", 0x1C, "scope");
    
            assertFalse(name1.equals(name2));
        }
    
        @Test
        void equals_withDifferentScope_shouldReturnFalse() {
            Name name1 = new Name(mockConfig, "TEST", 0x20, "scope1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. 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)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals("ftp://123.123.123.123/test1/test.txt", ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(21, ftpInfo.getPort());
            assertEquals("/test1", ftpInfo.getParent());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top