Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 2,660 for 2test (0.02 sec)

  1. src/test/java/jcifs/smb/SmbExceptionTest.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.ValueSource;
    
    import jcifs.BaseTest;
    
    /**
     * Test class for SmbException functionality
     */
    @DisplayName("SmbException Tests")
    class SmbExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create SmbException with NT status code")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    
    class AvSingleHostTest {
    
        /**
         * Test constructor AvSingleHost(byte[] raw).
         * Should correctly parse the raw bytes.
         */
        @Test
        void testAvSingleHostRawConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link PacUnicodeString} class.
     */
    class PacUnicodeStringTest {
    
        /**
         * Tests the constructor and getter methods.
         */
        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
            short length = 10;
            short maxLength = 20;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. 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)
  9. cmd/iam-object-store_test.go

    			"policydb/groups/", "cn=project/d,ou=groups,ou=swengg,dc=min,dc=io.json",
    		},
    	}
    	for i, test := range cases {
    		listKey, item := splitPath(test.path, test.secondIndex)
    		if listKey != test.expectedListKey || item != test.expectedItem {
    			t.Errorf("unexpected result on test[%v]: expected[%s, %s] but got [%s, %s]", i, test.expectedListKey, test.expectedItem, listKey, item)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/advance.jsp

    						<option value="html" <c:if test="${as.filetype.contains('html')}">selected</c:if>><la:message
    								key="labels.advance_search_filetype_html"
    							/></option>
    						<option value="pdf" <c:if test="${as.filetype.contains('pdf')}">selected</c:if>><la:message
    								key="labels.advance_search_filetype_pdf"
    							/></option>
    						<option value="word" <c:if test="${as.filetype.contains('word')}">selected</c:if>><la:message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 12:09:07 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top