Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1591 - 1600 of 4,689 for nulls (0.04 seconds)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java

            QueryLog queryLog = new QueryLog("test query", null);
    
            assertNotNull(queryLog);
            assertEquals("test query", queryLog.getQueryString());
            assertNull(queryLog.getFilterQueryString());
        }
    
        @Test
        public void test_getQueryString() throws Exception {
            QueryLog queryLog = new QueryLog("search term", null);
    
            assertEquals("search term", queryLog.getQueryString());
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            objAttr.decode(mockNdrBuffer);
    
            assertEquals(100, objAttr.length);
            assertNull(objAttr.root_directory); // null because _root_directoryp was 0
            assertNull(objAttr.object_name); // Should be null when _object_namep is 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 60.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       */
      public void add(Runnable runnable, Executor executor) {
        // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws
        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        }
    
        @Test
        public void test_constructor_withNullComponentName() {
            // Test constructor with null component name
            ContainerNotAvailableException exception = new ContainerNotAvailableException((String) null);
    
            assertEquals("null is not available.", exception.getMessage());
            assertNull(exception.getCause());
            assertNull(exception.getComponentName());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * @param key the non-null key whose value should be loaded
       * @param oldValue the non-null old value corresponding to {@code key}
       * @return the future new value associated with {@code key}; <b>must not be null, must not return
       *     null</b>
       * @throws Exception if unable to reload the result
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullTypeAndMessage() {
            // Test constructor with both null type and message
            String type = null;
            String message = null;
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertNull(exception.getType());
            assertNull(exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                            parent.getVersion());
                }
    
                if (versionRangeResult.getVersionConstraint() != null
                        && versionRangeResult.getVersionConstraint().getRange() != null
                        && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) {
                    // Message below is checked for in the MNG-2199 core IT.
                    throw new UnresolvableModelException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            helper.destroy();
        }
    
        @Test
        public void test_destroy_beforeInit() {
            LogNotificationHelper helper = new LogNotificationHelper();
            // destroy() without init() should not throw NPE because of null checks
            helper.destroy();
        }
    
        @Test
        public void test_init_destroy_multipleRounds() {
            LogNotificationHelper helper = new LogNotificationHelper();
            helper.init();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

            assertThat(ClassUtil.concatName("aaa", null), is("aaa"));
            assertThat(ClassUtil.concatName("aaa", ""), is("aaa"));
            assertThat(ClassUtil.concatName(null, "bbb"), is("bbb"));
            assertThat(ClassUtil.concatName("", "bbb"), is("bbb"));
            assertThat(ClassUtil.concatName("", "bbb"), is("bbb"));
            assertThat(ClassUtil.concatName(null, null), is(nullValue()));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top