Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for justru (0.2 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            stream.close();
    
            // Note: FileUtil.deleteInBackground() performs deletion asynchronously,
            // so we cannot reliably check if file is deleted immediately
            // This test just verifies that close() completes without error
        }
    
        public void test_emptyFile() throws Exception {
            // Create an empty temporary file
            File tempFile = File.createTempFile("test-empty-", ".tmp");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceLocatorTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbResourceLocatorTest {
    
        /**
         * A very small concrete implementation used only by the tests. It parses
         * the URL string and performs minimal validation – just enough to make the
         * happy-path expectations deterministic.
         */
        private static class DummySmbResourceLocator implements SmbResourceLocator {
            private final String urlStr;
            private final String host;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            List<AnalyzeToken> tokens = defaultContentsParser.analyzeTextByReading(analyzer, "content", text, null);
    
            assertNotNull(tokens);
            // analyzeAndReading may return null for some analyzers
            // Just verify it doesn't throw an exception
        }
    
        @Test
        public void test_analyzeTextWithLargeContent() throws Exception {
            SuggestAnalyzer analyzer = suggester.settings().analyzer().new DefaultContentsAnalyzer();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        }
    
        /**
         * Tests connectivity to the witness service.
         *
         * @throws IOException if connection fails
         */
        private void testConnection() throws IOException {
            // For now, just test basic connectivity to RPC endpoint
            try (java.net.Socket socket = new java.net.Socket()) {
                socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        public boolean verifySignature(final byte[] buffer, final int i, final int size) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

                        }
                    }
                    textBuilder.append(lineSeparator);
                } else {
                    // No headers, just concatenate values
                    textBuilder.append(String.join(fieldSeparator, row)).append(lineSeparator);
                }
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                Smb2LeaseKey key3 = limitedManager.requestLease("/share/file3.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    
                // key3 should definitely exist (just created)
                assertNotNull(limitedManager.getLease(key3));
    
                // key1 should have been evicted (oldest)
                assertNull(limitedManager.getLease(key1));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
            byte[] buffer = new byte[1024];
    
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
            // Just verify that encoding worked without checking specific byte positions
            assertNull(testBlock.getAndx());
        }
    
        @Test
        @DisplayName("Test encode with andx command and batching disabled")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // Test duplicate unregistration
            assertFalse(mockService.unregisterWitness(regId));
        }
    
        @Test
        void testMockServiceNotifications() {
            // Test notification sending (just logs for mock)
            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource");
    
            // Register a witness first
            String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setExtendedSecurity(false);
                // Method is empty, just ensure no exception
            }
    
            @Test
            @DisplayName("Should ignore UID setting")
            void testSetUid() {
                testMessage.setUid(123);
                // Method is empty, just ensure no exception
            }
        }
    
        @Nested
        @DisplayName("Equals and HashCode Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top