Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 667 for assertNotNull (0.04 sec)

  1. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Verify data store is registered with both the given name and class simple name
            assertNotNull(dataStoreFactory.getDataStore("testName"));
            assertNotNull(dataStoreFactory.getDataStore("testname")); // case insensitive
            assertNotNull(dataStoreFactory.getDataStore("TestDataStore"));
            assertNotNull(dataStoreFactory.getDataStore("testdatastore")); // case insensitive
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

    package jcifs.internal;
    
    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 static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.doNothing;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    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 org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            request = new Smb2QueryDirectoryRequest(mockConfig);
            assertNotNull(request);
    
            // Test with smaller list size
            when(mockConfig.getMaximumBufferSize()).thenReturn(16384);
            when(mockConfig.getListSize()).thenReturn(8192);
    
            request = new Smb2QueryDirectoryRequest(mockConfig);
            assertNotNull(request);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            SmbResource r1 = itr.next();
            assertNotNull(r1, "First adapted resource must not be null");
            // For workgroup/server entries, names end with '/'
            assertTrue(r1.getName().endsWith("/"), "Name should end with '/'");
    
            assertTrue(itr.hasNext(), "Should have second element ready");
            SmbResource r2 = itr.next();
            assertNotNull(r2, "Second adapted resource must not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/MimeMapTest.java

                String result = mimeMap.getMimeType("");
                assertNotNull(result);
                // With custom default, empty still returns the first match
                String customResult = mimeMap.getMimeType("", "custom/default");
                assertNotNull(customResult);
            }
        }
    
        @Nested
        @DisplayName("Constructor and initialization")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandlerTest.java

            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/mail/TestmailPostcardTest.java

            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/DefaultSearcherTest.java

            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            mockProcessHelper.setExitValue(0);
            mockProcessHelper.setOutput("Suggest creation successful");
    
            String result = suggestJob.execute();
    
            assertNotNull(result);
            assertTrue(result.contains("Session Id:"));
            assertNotNull(suggestJob.sessionId);
            assertEquals(15, suggestJob.sessionId.length());
            // Cache clearing may not always occur in test environment
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top