Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 3,758 for null (0.02 sec)

  1. src/test/java/jcifs/context/SingletonContextTest.java

            assertDoesNotThrow(() -> SingletonContext.init(null));
            assertNotNull(SingletonContext.getInstance()); // Should still initialize
        }
    
        @Test
        void testGetInstanceInitializesIfNull() {
            // Test getInstance initializes the context if it's null
            assertNull(getSingletonInstanceViaReflection()); // Ensure it's null initially
            CIFSContext context = SingletonContext.getInstance();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        assertTrue(multimap().putAll(k0(), newArrayList(v3(), null)));
        assertGet(k0(), v0(), v3(), null);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnAbsentKey_supported() {
        assertTrue(multimap().putAll(k3(), newArrayList(v3(), null)));
        assertGet(k3(), v3(), null);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            // Test with null value
            String nullValue = null;
            OptionalEntity<String> emptyOptional = OptionalUtil.ofNullable(nullValue);
    
            assertFalse(emptyOptional.isPresent());
            assertEquals("default", emptyOptional.orElse("default"));
    
            // Test that empty optional returns null instead of throwing
            assertNull(emptyOptional.orElse(null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

     * NullPointerException} or {@link UnsupportedOperationException} whenever null is passed to a
     * parameter whose declaration or type isn't annotated with an annotation with the simple name
     * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}.
     *
     * <p>The tested methods and constructors are invoked -- each time with one parameter being null and
     * the rest not null -- and the test fails if no expected exception is thrown. {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getMaximumVersion()).thenReturn(null);
    
            // When & Then - should handle nulls gracefully
            assertNull(delegatingConfig.getRandom(), "Should return null when delegate returns null");
            assertNull(delegatingConfig.getLocalAddr(), "Should return null when delegate returns null");
            assertNull(delegatingConfig.getNetbiosHostname(), "Should return null when delegate returns null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    			RecID2 int64 `gorm:"column:recid2;type:decimal(8);not null" json:"recid2"`
    			RecID3 int64 `gorm:"column:recid3;type:decimal(8,1);not null" json:"recid3"`
    		}
    		type MigrateDecimalColumn2 struct {
    			RecID1 int64 `gorm:"column:recid1;type:decimal(8);not null" json:"recid1"`
    			RecID2 int64 `gorm:"column:recid2;type:decimal(9,1);not null" json:"recid2"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        }
    
        @Override
        public void info(final String message, final Throwable t) {
            logger.logp(Level.INFO, sourceClass, null, message, t);
        }
    
        @Override
        public boolean isDebugEnabled() {
            return logger.isLoggable(Level.FINE);
        }
    
        @Override
        public void debug(final String message) {
            logger.logp(Level.FINE, sourceClass, null, message);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.add(null, "test");
            assertEquals("test", fileTypeHelper.get(null));
        }
    
        public void test_add_withEmptyMimetype() {
            fileTypeHelper.add("", "empty");
            assertEquals("empty", fileTypeHelper.get(""));
        }
    
        public void test_add_withNullFiletype() {
            fileTypeHelper.add("test/null", null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      public void testPutIfAbsent_nullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3()));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            assertDoesNotThrow(() -> resp.writeParametersWireFormat(null, 0));
            assertDoesNotThrow(() -> resp.writeDataWireFormat(null, 0));
            assertDoesNotThrow(() -> resp.readSetupWireFormat(null, 0, 0));
            assertDoesNotThrow(() -> resp.readParametersWireFormat(null, 0, 0));
            assertDoesNotThrow(() -> resp.readDataWireFormat(null, 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top