Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 373 for steste (0.46 sec)

  1. src/test/java/jcifs/SmbTreeTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    /**
     * Tests for SmbTree interface.
     * This test class covers all methods of the SmbTree interface using Mockito for mocking.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

                current = current.getCause();
            }
            return buf.toString();
        }
    
        /**
         * Checks if a checkbox value represents an enabled state.
         * This method considers "on" and "true" (case-insensitive) as enabled values.
         *
         * @param value the checkbox value to check
         * @return true if the value represents an enabled checkbox, false otherwise
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         */
        @Override
        public synchronized void mark(final int readlimit) {
            inputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
         *
         * @return true if this stream instance supports the mark and reset methods; false otherwise
         */
        @Override
        public boolean markSupported() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        private InputStream mockInputStream;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            packet = new TestSessionServicePacket();
        }
    
        // Tests for static methods
    
        @Test
        @DisplayName("writeInt2 should correctly write 16-bit integer")
        void testWriteInt2() {
            byte[] dst = new byte[4];
            SessionServicePacket.writeInt2(0x1234, dst, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/pager/SchedulerPager.java

         */
        public String createdTime;
    
        /**
         * Version number of the scheduled job.
         */
        public String versionNo;
    
        /**
         * Clears the pager's state.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SID.java

         *
         * @return textual representation of type
         */
        String getTypeText();
    
        /**
         * Returns the type of this SID indicating the state or type of account.
         * <p>
         * SID types are described in the following table.
         * <table>
         * <caption>Type codes</caption>
         * <tr>
         * <th>Type</th>
         * <th>Name</th>
         * </tr>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
        void testChannelSelection() {
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Setup mock name
            lenient().when(mockName.writeWireFormat(any(byte[].class), anyInt())).thenReturn(34);
            mockName.hexCode = 0x20;
            mockName.name = "TEST";
            mockName.scope = "test.scope";
        }
    
        @Test
        void constructor_shouldInitializeFieldsCorrectly() throws Exception {
            // Act
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            String actualFilename = readString(buffer, 12, written - 12);
            assertEquals(filename, actualFilename);
        }
    
        @Test
        void testResetMultipleTimes() {
            // Test multiple resets to ensure state is properly maintained
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        void setUp() {
            response = new SrvPipePeekResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with data")
        void testDecodeWithData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[24]; // 16 bytes header + 8 bytes data
            int bufferIndex = 0;
    
            // Set up test values
            int namedPipeState = 0x03; // NP_NOWAIT | NP_READMODE_MESSAGE
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top