Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 3,016 for jest (0.02 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Test
        @DisplayName("Test isDFSSupported returns false")
        void testIsDFSSupportedFalse() {
            // Arrange
            when(negotiationResponse.isDFSSupported()).thenReturn(false);
    
            // Act
            boolean result = negotiationResponse.isDFSSupported();
    
            // Assert
            assertFalse(result);
            verify(negotiationResponse).isDFSSupported();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testStringWithControlChars() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateString("test\u0001string", 100, "test");
            });
        }
    
        @Test
        public void testStringWithAllowedWhitespace() throws Exception {
            validator.validateString("test\tstring", 100, "test");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SecurityInfo interface constants
     */
    class SecurityInfoTest {
    
        @Test
        @DisplayName("Test OWNER_SECURITY_INFO constant value")
        void testOwnerSecurityInfo() {
            assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test GROUP_SECURITY_INFO constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. RELEASE.md

    *   Renamed `tf.test.GetTempDir` and `tf.test.IsBuiltWithCuda` to
        `tf.test.get_temp_dir` and `tf.test.is_built_with_cuda` for PEP-8
        compatibility.
    *   `parse_example`'s interface has changed, the old interface is accessible in
        `legacy_parse_example` (same for related functions).
    *   New `Variable`s are not added to the same collection several times even if a
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with concrete implementation - requires server to be set
                assertDoesNotThrow(() -> concreteImplementation.fixupHost(fqdn));
            }
    
            @Test
            @DisplayName("Should fixup domain")
            void testFixupDomain() {
                String domain = "example.com";
    
                // Test with mock
                doNothing().when(mockReferralData).fixupDomain(domain);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test secure password handling in NtlmPasswordAuthenticator
     */
    public class NtlmPasswordAuthenticatorTest {
    
        /**
         * Test password storage using char arrays
         */
        @Test
        public void testPasswordAsCharArray() {
            String testPassword = "TestPassword123!";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            assertTrue(urlFilter.match("https://example.com/search?q=test"));
            assertTrue(urlFilter.match("https://example.com/search?q=test&page=2"));
            assertFalse(urlFilter.match("https://example.com/search?debug=true"));
            assertFalse(urlFilter.match("https://example.com/search?q=test&debug=true"));
        }
    
        /**
         * Test processUrl method with various URL patterns
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            fileInfo = new FileEndOfFileInformation();
        }
    
        @Test
        @DisplayName("Test default constructor creates valid instance")
        void testDefaultConstructor() {
            // Verify instance is created
            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test parameterized constructor with end of file value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(0, fnLength);
        }
    
        @Test
        @DisplayName("Test with wildcard patterns")
        void testWildcardPatterns() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
    
            // Test various wildcard patterns
            String[] patterns = { "*", "*.txt", "test*.*", "?test?.doc" };
    
            for (String pattern : patterns) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            MockitoAnnotations.openMocks(this);
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid parameters
         */
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        public void testConstructor() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top