Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1861 - 1870 of 3,758 for null (0.02 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            testSids = new jcifs.SID[] { mockSid };
    
            // Act & Assert - Constructor accepts null, no exception thrown
            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
            // Act & Assert - Null SID array causes NPE when accessing length
            assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals(2, transPeekNamedPipe.setupCount);
        }
    
        @Test
        @DisplayName("Constructor should work with null pipe name")
        void testConstructorWithNullPipeName() {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, null, TEST_FID);
    
            // Assert
            assertNotNull(transPeekNamedPipe);
            assertNull(transPeekNamedPipe.name);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/DocMapTest.java

            docMap.put("key1", "value1");
            docMap.put("key2", null);
    
            assertTrue(docMap.containsKey("key1"));
            assertTrue(docMap.containsKey("key2"));
            assertFalse(docMap.containsKey("key3"));
    
            assertTrue(docMap.containsValue("value1"));
            assertTrue(docMap.containsValue(null));
            assertFalse(docMap.containsValue("nonexistent"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(new CopyOptions().convertValue(Integer.valueOf(1), "aaa", null), is((Object) 1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testConvertValue_propertyConverter_asString() throws Exception {
            assertThat(new CopyOptions().converter(new NumberConverter("##0"), "aaa").convertValue(Integer.valueOf(1), "aaa", null),
                    is((Object) "1"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/UniAddressTest.java

                assertTrue(UniAddress.isDotQuadIP("999.999.999.999"));
            }
    
            @Test
            void shouldThrowExceptionForNullInput() {
                assertThrows(NullPointerException.class, () -> UniAddress.isDotQuadIP(null));
            }
    
            @Test
            void shouldThrowExceptionForEmptyInput() {
                assertThrows(StringIndexOutOfBoundsException.class, () -> UniAddress.isDotQuadIP(""));
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/InternersTest.java

        assertSame(canonical, pool.intern(not));
      }
    
      public void testStrong_null() {
        Interner<String> pool = Interners.newStrongInterner();
        assertThrows(NullPointerException.class, () -> pool.intern(null));
      }
    
      public void testStrong_builder() {
        int concurrencyLevel = 42;
        Interner<Object> interner =
            Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Comprehensive test to verify all methods return expected values
            FessJsonResourceProvider testProvider = new FessJsonResourceProvider();
    
            // Verify nulls suppression is enabled
            assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed());
    
            // Verify pretty print is enabled
            assertFalse("Pretty print should not be suppressed", testProvider.isPrettyPrintSuppressed());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/LogTests.java

        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

    public interface Event {
    
        /**
         * Gets the type of the event.
         *
         * @return the type of the event, never {@code null}
         */
        @Nonnull
        EventType getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return the current session, never {@code null}
         */
        @Nonnull
        Session getSession();
    
        /**
         * Gets the current project (if any).
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
            classTesterRequirementsCache.put(testerClass, requirements);
          }
          return requirements;
        }
      }
    
      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerMethod a test method of a tester class
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top