Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 265 for samme (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals("value2", builder2.initialSettings.get("key"));
        }
    
        @Test
        public void testBuildMultipleInstances() {
            // Test that multiple SuggestSettings can be built from the same builder
            builder.setSettingsIndexName("MULTI_INDEX").addInitialSettings("multi.key", "multiValue").scrollTimeout("25s");
    
            SuggestSettings settings1 = builder.build(client, "id1");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            startLatch.countDown();
    
            // Wait for all threads to complete
            assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS));
    
            // All threads should fail with the same IOException (endpoint is blank)
            // But importantly, there should be no race condition errors
            assertEquals(threadCount, failureCount.get());
            assertEquals(0, successCount.get());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "abcde";
    
            // The check method should return the same string instance
            String result = pacString.check(testString);
            assertSame(testString, result, "The check method should return the original string on success.");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            }
        }
    
        /**
         * Marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
         * This method delegates to {@link FileInputStream#mark(int)}.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DfsReferralTest.java

            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
            assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor.");
        }
    
        /**
         * Test the toString method.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            byte[] buffer2 = new byte[200];
            int encoded2 = request2.encode(buffer2, 0);
            assertEquals(request2.size(), encoded2);
        }
    
        @Test
        @DisplayName("Test multiple encodes produce same result")
        void testMultipleEncodesProduceSameResult() {
            // Setup
            String pipeName = "RepeatedEncode";
            long timeout = 3000L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            }
    
            @Test
            @DisplayName("list propagates SmbUnsupportedOperationException from doEnum")
            void list_propagatesUnsupportedOperationException() throws Exception {
                // Arrange: same setup as above to force doEnum -> SmbUnsupportedOperationException
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
                SmbResourceLocator locator = mock(SmbResourceLocator.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

             * According to RFC 9309:
             * 1. Find the longest matching pattern (by priority length)
             * 2. If both Allow and Disallow patterns match with the same length, Allow takes precedence
             * 3. If no pattern matches, the path is allowed by default
             *
             * @param path the path to check
             * @return true if the path is allowed, false otherwise
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Arrange
            SmbPipeOutputStream out = newStream();
    
            // Act
            SmbPipeHandleImpl got = out.getHandle();
    
            // Assert
            assertSame(handle, got, "getHandle should expose the same instance passed to constructor");
        }
    
        @Test
        @DisplayName("close does nothing and does not touch handle")
        void close_doesNothing() throws Exception {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

                for (int j = i + 1; j < events.length; j++) {
                    assertNotEquals(events[i].getValue(), events[j].getValue(),
                            "Event types " + events[i] + " and " + events[j] + " have the same value");
                }
            }
        }
    
        @Test
        void testWitnessRegistrationStates() {
            assertEquals(5, WitnessRegistration.WitnessRegistrationState.values().length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top