Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 491 for assertNull (0.15 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

    package jcifs.internal.smb1.com;
    
    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.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

    import org.apache.maven.building.Problem.Severity;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    
    class DefaultProblemTest {
    
        @Test
        void testGetSeverity() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/config/exentity/JobLogTest.java

            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        @Test
        public void test_defaultConstructor() {
            final JobLog jobLog = new JobLog();
            assertNotNull(jobLog);
            assertNull(jobLog.getId());
        }
    
        @Test
        public void test_constructorWithScheduledJob() {
            final ScheduledJob scheduledJob = createTestScheduledJob();
    
            final JobLog jobLog = new JobLog(scheduledJob);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.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 org.junit.jupiter.api.Test;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

        @Test
        public void test_nullHandling() {
            // Test with null ParseException
            QueryParseException queryParseException = new QueryParseException(null);
            assertNotNull(queryParseException);
            assertNull(queryParseException.getCause());
            // getMessage() may return null when constructed with null
            // This is expected behavior for exceptions with null cause
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

     */
    package org.codelibs.fess.suggest.concurrent;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.util.Collections;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        public void test_evaluate_withNullTemplate() {
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("key", "value");
    
            Object result = scriptEngine.evaluate(null, paramMap);
            assertNull(result);
        }
    
        // Test evaluate method with empty parameter map
        @Test
        public void test_evaluate_withEmptyParamMap() {
            String template = "Static content";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

                } catch (Exception e) {
                    exceptionHolder[0] = e;
                }
            });
    
            thread.start();
            thread.join();
    
            assertNull(exceptionHolder[0]);
            assertNotNull(clientHolder[0]);
        }
    
        // Test repeated instantiation
        @Test
        public void test_repeatedInstantiation() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top