Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 3,275 for Test (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode with different buffer offset")
        void testDecodeWithDifferentOffset() throws SMBProtocolDecodingException {
            // Prepare test data with different offset
            byte[] buffer = new byte[100];
            int bufferIndex = 50;
    
            // Set test values
            int testCapabilities = 0xABCDEF00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Setup mock name
            lenient().when(mockName.writeWireFormat(any(byte[].class), anyInt())).thenReturn(34);
            mockName.hexCode = 0x20;
            mockName.name = "TEST";
            mockName.scope = "test.scope";
        }
    
        @Test
        void constructor_shouldInitializeFieldsCorrectly() throws Exception {
            // Act
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

     * (that require system properties to be set for execution).
     *
     * Integration tests require system properties:
     * - rdma.test.enabled=true (to enable RDMA integration tests)
     * - rdma.test.server=hostname/IP (target server for testing)
     * - rdma.test.port=445 (target port, defaults to 445)
     */
    public class RdmaIntegrationTest {
    
        private String testServer;
        private int testPort;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            Object objectResult = WebApiUtil.getObject("testObject");
            assertNull("Should return null in test environment", objectResult);
        }
    
        public void test_setObject_withDifferentTypes() {
            // Test setObject with different object types
            try {
                WebApiUtil.setObject("stringValue", "test");
                WebApiUtil.setObject("intValue", 123);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            Smb2SetInfoResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext, times(1)).getConfig();
        }
    
        @Test
        @DisplayName("Test size method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java

        /**
         * Test for the readParameterWordsWireFormat method.
         * It should always return 0.
         */
        @Test
        void testReadParameterWordsWireFormat() {
            assertEquals(0, response.readParameterWordsWireFormat(buffer, 0), "readParameterWordsWireFormat should return 0");
        }
    
        /**
         * Test for the readBytesWireFormat method.
         * It should always return 0.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/badword/admin_badword_details.jsp

                                    class="card card-outline <c:if test="${crudMode == 1 || crudMode == 2}">card-success</c:if><c:if test="${crudMode == 3}">card-danger</c:if><c:if test="${crudMode == 4}">card-primary</c:if>">
                                <div class="card-header">
                                    <h3 class="card-title">
                                        <c:if test="${crudMode == 1}">
                                            <la:message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        }
    
        @Test
        @DisplayName("Edge: null is not an instance of the interface")
        void testNullIsNotInstance() {
            // Assert
            assertFalse(SessionSetupHandler.class.isInstance(null));
        }
    
        @Test
        @DisplayName("Invalid: looking up constructor on interface fails")
        void testNoConstructorLookup() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for DirectoryLeaseContext
     */
    public class DirectoryLeaseContextTest {
    
        @Test
        public void testConstructor() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

        }
    
        // Test inherited behavior from ComponentCreatorImpl
        public void test_getNamingConvention() {
            assertSame(namingConvention, pagerCreator.getNamingConvention());
        }
    
        // Test component name creation
        public void test_fromClassNameToComponentName() {
            // Test with class name ending with Pager
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top