Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 491 for assertNull (0.23 seconds)

  1. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

    public class RenderDataUtilTest extends UnitFessTestCase {
    
        @Test
        public void test_register_null() {
            RenderData data = new RenderData();
            RenderDataUtil.register(data, "key1", null);
            assertNull(data.getDataMap().get("key1"));
        }
    
        @Test
        public void test_register_string() {
            RenderData data = new RenderData();
            RenderDataUtil.register(data, "key1", "test value");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertNotNull(groups);
            assertEquals(0, groups.length);
    
            // Test isEditable returns false
            assertFalse(emptyBean.isEditable());
    
            // Test getFessUser returns null
            assertNull(emptyBean.getFessUser());
    
            // Test hasRole and hasGroup methods with null user
            assertFalse(emptyBean.hasRole("admin"));
            assertFalse(emptyBean.hasGroup("developers"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            final DocList docList = new DocList();
            indexingHelper.sendDocuments(client, docList);
            assertEquals(0, docList.size());
            assertEquals(0, sentDocList.size());
            assertNull(sentIndex.get());
    
            sentIndex.set(null);
            sentDocList.clear();
            docList.add(new HashMap<>(Map.of(//
                    "_id", "001", //
                    "config_id", "W01", //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

            assertNotNull(jsonResponse);
            final ApiResult apiResult = jsonResponse.getJsonResult();
            assertNotNull(apiResult);
            final String responseJobLogId = extractJobLogId(apiResult);
            assertNull(responseJobLogId);
        }
    
        // ===================================================================================
        //                                                                       Helpers
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            result = (String) method.invoke(keyMatchHelper, "Mixed_Case");
            assertEquals("mixed_case", result);
    
            result = (String) method.invoke(keyMatchHelper, (String) null);
            assertNull(result);
    
            result = (String) method.invoke(keyMatchHelper, "");
            assertEquals("", result);
    
            result = (String) method.invoke(keyMatchHelper, "Test123");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

    package jcifs.internal.smb1.trans;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    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 java.util.stream.Stream;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/SecureKeyManagerTest.java

    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.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.security.GeneralSecurityException;
    import java.security.SecureRandom;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

    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.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.StandardCharsets;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

    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;
    
    /**
     * Unit tests for the {@link ModelVersionUtils} utility class.
     * Tests model version detection, validation, upgrade logic, and namespace operations.
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
Back to Top