Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getDoOutput (0.07 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            when(mockConnection.getRequestMethod()).thenReturn("GET");
            when(mockConnection.getAllowUserInteraction()).thenReturn(true);
            when(mockConnection.getDoInput()).thenReturn(true);
            when(mockConnection.getDoOutput()).thenReturn(true);
            when(mockConnection.getIfModifiedSince()).thenReturn(12345L);
            when(mockConnection.getUseCaches()).thenReturn(false);
            when(mockConnection.getReadTimeout()).thenReturn(1000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        @Override
        public void setDoOutput(final boolean doOutput) {
            connection.setDoOutput(doOutput);
            this.doOutput = doOutput;
        }
    
        @Override
        public boolean getDoOutput() {
            return connection.getDoOutput();
        }
    
        @Override
        public void setAllowUserInteraction(final boolean allowUserInteraction) {
            connection.setAllowUserInteraction(allowUserInteraction);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public void setDoOutput(final boolean doOutput) {
            this.connection.setDoOutput(doOutput);
            this.doOutput = doOutput;
        }
    
        @Override
        public boolean getDoOutput() {
            return this.connection.getDoOutput();
        }
    
        @Override
        public void setAllowUserInteraction(final boolean allowUserInteraction) {
            this.connection.setAllowUserInteraction(allowUserInteraction);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            SmbPipeInputStream in1 = handle.getInput();
            SmbPipeInputStream in2 = handle.getInput();
            SmbPipeOutputStream out1 = handle.getOutput();
            SmbPipeOutputStream out2 = handle.getOutput();
    
            // Assert: same instances are returned subsequently
            assertSame(in1, in2, "Input stream should be cached");
            assertSame(out1, out2, "Output stream should be cached");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            }
            return this.input;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#getOutput()
         */
        @Override
        public SmbPipeOutputStream getOutput() throws CIFSException {
            if (!this.open) {
                throw new SmbException("Already closed");
            }
    
            if (this.output != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

         * @throws CIFSException if an error occurs while getting the stream.
         */
        @Test
        public void testGetOutputStream() throws CIFSException {
            assertEquals(mockOutputStream, smbPipeHandle.getOutput(), "getOutput() should return the correct output stream.");
        }
    
        /**
         * Tests related to the lifecycle management of the handle (e.g., closing).
         */
        @Nested
        public class LifecycleManagementTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            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)
  8. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

                }
    
                @Override
                public InputStream getInput() throws CIFSException {
                    return null;
                }
    
                @Override
                public OutputStream getOutput() throws CIFSException {
                    return null;
                }
    
                @Override
                public boolean isOpen() {
                    return false;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("line1 line2", item.getOutput());
        }
    
        public void test_constructor_withNullOutput() {
            // Test with null output
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, null);
    
            assertNull(item.getOutput());
        }
    
        public void test_constructor_withUnsortedInputs() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbPipeHandle.java

        /**
         * Gets the output stream for writing to this pipe.
         *
         * @return this pipe's output stream
         * @throws CIFSException if an error occurs getting the output stream
         */
        OutputStream getOutput() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException if an error occurs closing the handle
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top