Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 290 for masking (1.21 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("http://www.example.com/page1.html", sitemaps[0].getLoc());
        }
    
        public void test_parseXmlSitemaps_partiallyBrokenImage() {
            // Image extension with missing required fields should still be added
            final String xml =
                    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

                unicodeString.buffer = new short[] { 100, 200, 300 };
    
                // Create a real NdrBuffer mock that can handle the deferred field access
                // But only test the non-deferred parts to avoid field mocking issues
    
                // When: Trying to encode (may throw exception due to deferred buffer)
                // Then: Should at least call the basic encoding methods before hitting deferred
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        private static final int HTTP_STATUS_NOT_FOUND = 404;
    
        /** HTTP status code for OK */
        private static final int HTTP_STATUS_OK = 200;
    
        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
         * This cache improves performance by avoiding repeated parsing of client configuration rules.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            // Should not throw NullPointerException
            try {
                // Note: We can't easily test connect() fully without mocking createClient()
                // This test verifies the null check logic indirectly
                final String[] indices = fesenClient.targetIndices != null ? fesenClient.targetIndices : new String[0];
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsElevateWordToLabelCA.java

    import org.opensearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.global.GlobalAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0));
        }
    
        @Test
        void decodesSrvCopyChunkCopyResponse() throws Exception {
            // Validate createOutputDecodable() mapping and Decodable decode
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
    
            // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
            byte[] out = new byte[12];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertEquals("Malformed PAC", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test getters return expected values using mocks")
        void testGetters() throws Exception {
            // Use mocking to test getters without complex PAC data creation
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Setup mock responses
            when(logonInfo.getUserName()).thenReturn(TEST_USERNAME);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/cbean/ca/bs/BsFavoriteLogCA.java

    import org.opensearch.search.aggregations.bucket.global.GlobalAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.histogram.DateHistogramAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.range.DateRangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

                verify(mockSession, times(1)).unwrap(SmbSession.class);
                verify(mockSession, times(1)).close();
            }
    
            @Test
            @DisplayName("Should support partial mocking scenarios")
            void shouldSupportPartialMockingScenarios() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmSspTest.java

            lenient().when(mockAddress.getHostName()).thenReturn("WORKSTATION");
        }
    
        /**
         * Test case for when the 'Authorization' header is missing.
         * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status.
         * @throws IOException
         */
        @Test
        public void testAuthenticate_NoAuthorizationHeader() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
Back to top