Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 2,907 for 2test (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should maintain constant overhead")
            void testOverheadConstant() {
                assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 48, Smb2WriteRequest.OVERHEAD);
            }
    
            @Test
            @DisplayName("Should handle boundary conditions")
            void testBoundaryConditions() {
                // Test with exactly aligned data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            boolean getHasMore() {
                return hasMore;
            }
        }
    
        @Test
        public void hasMoreElements_initially_returnsTrue() {
            DummyResponse d = new DummyResponse();
            assertTrue(d.hasMoreElements(), "With default values hasMoreElements should be true");
        }
    
        @Test
        public void hasMoreElements_errorCodeNonZero_returnsFalse() {
            DummyResponse d = new DummyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtExceptionTest.java

    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    import jcifs.CIFSException;
    
    class NbtExceptionTest {
    
        /**
         * Test the constructor of NbtException.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    The `TestClient` is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, and luckily, we can use it directly to test the API.
    
    ## Example { #example }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for NtlmFlags, verifying the values of all defined constants.
     */
    public class NtlmFlagsTest {
    
        @Test
        void testNtlmNegotiateUnicode() {
            assertEquals(0x00000001, NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, "NTLMSSP_NEGOTIATE_UNICODE should be 0x00000001");
        }
    
        @Test
        void testNtlmNegotiateOem() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DialectVersionTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.EnumSource;
    
    /**
     * Test class for DialectVersion functionality
     */
    @DisplayName("DialectVersion Tests")
    class DialectVersionTest extends BaseTest {
    
        @Test
        @DisplayName("Should define all SMB dialect versions")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/RequestWithPathTest.java

            verify(requestWithPath, times(1)).getPath();
    
            // Test with implementation
            testImplementation.setPath(expectedPath);
            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Test Document 1");
            doc1.put("content", "Test content 1");
            documentItems.add(doc1);
    
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("title", "Test Document 2");
            doc2.put("content", "Test content 2");
            documentItems.add(doc2);
    
            searchRenderData.setDocumentItems(documentItems);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            // Test with null properties
            assertTrue(Features.deployBuildPom(null));
        }
    
        @Test
        void testDeployBuildPomWithStringTrue() {
            // Test with string "true"
            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "true");
            assertTrue(Features.deployBuildPom(properties));
        }
    
        @Test
        void testDeployBuildPomWithStringFalse() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

        public void test_serialVersionUID() {
            // Test that exception is serializable
            String message = "Serialization test";
            LdapOperationException exception = new LdapOperationException(message);
    
            // Verify the exception can be created (serialVersionUID is present)
            assertNotNull(exception);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top