- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for get_input (0.05 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
} public void test_getInput() { // Test getInput method StopwordsItem item1 = new StopwordsItem(1, "test"); assertEquals("test", item1.getInput()); StopwordsItem item2 = new StopwordsItem(2, ""); assertEquals("", item2.getInput()); StopwordsItem item3 = new StopwordsItem(3, null); assertNull(item3.getInput()); } public void test_getInputValue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(tree.getReceiveBufferSize()).thenReturn(4096); // Act: first calls construct streams, second calls return cached SmbPipeInputStream in1 = handle.getInput(); SmbPipeInputStream in2 = handle.getInput(); SmbPipeOutputStream out1 = handle.getOutput(); SmbPipeOutputStream out2 = handle.getOutput(); // Assert: same instances are returned subsequently
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
assertEquals(4, list.size()); assertEquals("test1", list.get(0).getInput()); assertEquals("日本語", list.get(1).getInput()); assertEquals("word with spaces", list.get(2).getInput()); assertEquals(" tab word ", list.get(3).getInput()); } // Helper method to write content to test file private void writeTestFile(String content) throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
assertEquals(3, stopwordsFile.stopwordsItemList.size()); assertEquals("word1", stopwordsFile.stopwordsItemList.get(0).getInput()); assertEquals("word2", stopwordsFile.stopwordsItemList.get(1).getInput()); assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput()); } public void test_reload_withEscapedCharacters() { String content = "word\\\\1\n" + // word\1
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
} public void test_getInput() { // Test getInput method ProtwordsItem item1 = new ProtwordsItem(1, "word1"); assertEquals("word1", item1.getInput()); ProtwordsItem item2 = new ProtwordsItem(2, ""); assertEquals("", item2.getInput()); ProtwordsItem item3 = new ProtwordsItem(3, null); assertNull(item3.getInput()); } public void test_getInputValue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertEquals("a", item.getInputs()[0]); // NewInputs not sorted yet assertEquals("9", item.getNewInputs()[0]); // Call sort item.sort(); // Both should be sorted assertEquals("a", item.getInputs()[0]); assertEquals("m", item.getInputs()[1]); assertEquals("z", item.getInputs()[2]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
assertArrayEquals(new String[] { "a", "b" }, item1.getInputs()); assertEquals("c", item1.getOutput()); OptionalEntity<CharMappingItem> result2 = charMappingFile.get(2L); assertTrue(result2.isPresent()); CharMappingItem item2 = result2.get(); assertEquals(2L, item2.getId()); assertArrayEquals(new String[] { "d", "e" }, item2.getInputs()); assertEquals("f", item2.getOutput());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
* @throws CIFSException if an error occurs while getting the stream. */ @Test public void testGetInputStream() throws CIFSException { assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream."); } /** * Tests that the getter for the output stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertTrue(target.isStale()); } @Test @DisplayName("getInput and getOutput throw after close") void testGetInputOutputAndClosed() throws CIFSException { // After closing the handle, further calls throw target.close(); CIFSException e1 = assertThrows(SmbException.class, target::getInput); assertTrue(e1.getMessage().contains("Already closed"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0)