Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 591 for assertNotNull (0.31 sec)

  1. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

    package jcifs.smb1.smb1;
    
    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.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    import java.util.Arrays;
    import java.util.Optional;
    
    import org.junit.jupiter.api.DisplayName;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertNotNull(project1.getParent(), "Parent is null");
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertFalse(map.isEmpty(), "No Artifacts");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    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.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class UnicodeStringTest {
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            SuggestIndexResponse response = new SuggestIndexResponse(10, 5, null, 100);
    
            assertNotNull(response);
            assertEquals(10, response.getNumberOfSuggestDocs());
            assertEquals(5, response.getNumberOfInputDocs());
            assertEquals(100, response.getTook());
            assertFalse(response.hasError());
            assertNotNull(response.getErrors());
            assertEquals(0, response.getErrors().size());
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/BufferCacheTest.java

        void testGetBufferBasicUsage() {
            // When
            byte[] buffer1 = testCache.getBuffer();
            byte[] buffer2 = testCache.getBuffer();
    
            // Then
            assertNotNull(buffer1, "First buffer should not be null");
            assertNotNull(buffer2, "Second buffer should not be null");
            assertEquals(1024, buffer1.length, "Buffer should have expected size");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java

    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import org.junit.Test;
    
    public class SuggestWriterResultTest {
    
        @Test
        public void test_constructor() throws Exception {
            SuggestWriterResult result = new SuggestWriterResult();
    
            assertNotNull(result);
            assertFalse(result.hasFailure());
            assertNotNull(result.getFailures());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertNotNull("Mappings resource should exist", is1);
                mappings = new String(is1.readAllBytes(), StandardCharsets.UTF_8);
            }
    
            try (InputStream is2 = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest.json")) {
                assertNotNull("Settings resource should exist", is2);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            assertNotNull(results);
            assertEquals(1, results.size());
            ProjectBuildingResult result = results.get(0);
            assertNotNull(result);
            assertNotNull(result.getProject());
            assertEquals(1, result.getProblems().size());
            assertEquals(1, result.getProject().getArtifacts().size());
            assertNotNull(result.getDependencyResolutionResult());
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top