Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 667 for assertNotNull (0.16 sec)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

    package jcifs.context;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/CIFSExceptionTest.java

                CIFSException exception = new CIFSException((String) null);
                assertNotNull(exception);
            });
        }
    
        @Test
        @DisplayName("Should handle null cause")
        void testNullCause() {
            // When/Then
            assertDoesNotThrow(() -> {
                CIFSException exception = new CIFSException("Message", null);
                assertNotNull(exception);
                assertEquals("Message", exception.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportTest.java

    package jcifs;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
        @DisplayName("Constructor with empty pipe name should handle gracefully")
        void testConstructorWithEmptyPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, "");
    
            // Assert
            assertNotNull(transWaitNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    @PlexusTest
    @Deprecated
    class DefaultProfileManagerTest {
    
        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.util.SMBUtil;
    
    public class AvTimestampTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        public void testConstructorWithRawBytes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/HandlerTest.java

            URLConnection connection1 = handler.openConnection(url1);
            URLConnection connection2 = handler.openConnection(url2);
    
            assertNotNull(connection1, "First connection should not be null.");
            assertNotNull(connection2, "Second connection should not be null.");
            assertTrue(connection1 instanceof NtlmHttpURLConnection, "First connection should be wrapped.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                }
            }
            dir.delete();
        }
    
        // Test initialization
        public void test_init() {
            assertNotNull(thumbnailManager.baseDir);
            assertTrue(thumbnailManager.baseDir.exists());
            assertTrue(thumbnailManager.baseDir.isDirectory());
            assertNotNull(thumbnailManager.thumbnailTaskQueue);
        }
    
        // Test initialization with system property
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            String message = "Offset exceeded the limit";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(message);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            super.tearDown();
        }
    
        public void test_constructor() {
            // Test default constructor
            ThumbnailGenerator generator = new ThumbnailGenerator();
            assertNotNull(generator);
        }
    
        public void test_Options_defaultValues() {
            // Test Options class default values
            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top