Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 711 for stesti (2.97 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

    /**
     * Test class for CrawlerSystemException.
     * Tests all constructors and exception functionality including message, cause, suppression, and stack trace.
     */
    public class CrawlerSystemExceptionTest extends PlainTestCase {
    
        /**
         * Test constructor with message only
         */
        public void test_constructor_withMessage() {
            String message = "Test error message";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.smb1.trans.nt.NtTransNotifyChange;
    import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest;
    
    /**
     * Tests for SmbWatchHandleImpl focusing on behavior and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbWatchHandleImplTest {
    
        @Mock
        SmbFileHandleImpl handle;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            assertEquals("", testTransformer.getName());
        }
    
        /**
         * Test name with special characters
         */
        public void test_name_specialCharacters() {
            // Test with spaces
            testTransformer.setName("name with spaces");
            assertEquals("name with spaces", testTransformer.getName());
    
            // Test with special characters
            testTransformer.setName("name-with_special.chars#123");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            response = new TestSmbComNtTransactionResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with Configuration")
        void testConstructor() {
            assertNotNull(response);
            // Verify configuration is set through parent constructor
            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test readParameterWordsWireFormat with zero setup count")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.net.InetAddress;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.witness.WitnessRegistration.WitnessRegistrationState;
    
    /**
     * Unit tests for WitnessRegistration class.
     */
    public class WitnessRegistrationTest {
    
        private WitnessRegistration registration;
        private InetAddress serverAddress;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for NetworkInterfaceInfo
     */
    @ExtendWith(MockitoExtension.class)
    class NetworkInterfaceInfoTest {
    
        private InetAddress testAddress;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        }
    
        @Test
        @DisplayName("Test compression context type")
        public void testContextType() {
            assertEquals(CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE, context.getContextType());
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

    import jcifs.CIFSException;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryEnumIteratorBaseTest {
    
        // Simple FileEntry implementation used for tests
        private static FileEntry entry(String name) {
            return new FileEntry() {
                @Override
                public String getName() {
                    return name;
                }
    
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test close() successfully.
         *
         * @throws CIFSException
         */
        @Test
        void testClose_success() throws CIFSException {
            smbFileHandle.close();
            verify(smbFileHandle, times(1)).close();
        }
    
        /**
         * Test close() when a CIFSException is thrown.
         *
         * @throws CIFSException
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top